Skip to content

fix: Restore pagination on bounties page (#1027)#1079

Closed
messiawrq-spec wants to merge 1 commit into
entrius:testfrom
messiawrq-spec:fix/bounties-pagination
Closed

fix: Restore pagination on bounties page (#1027)#1079
messiawrq-spec wants to merge 1 commit into
entrius:testfrom
messiawrq-spec:fix/bounties-pagination

Conversation

@messiawrq-spec
Copy link
Copy Markdown

Resolves #1027.

  • Restored page and rowsPerPage pagination tracking on /bounties (IssuesList.tsx).
  • Moved TablePagination.tsx from src/components/miners to src/components/common to avoid cross-domain coupling, since it is a purely generic component.
  • Wired state resets across search/sort/view updates to drop the user back to page 0 smoothly.
  • Slices the array in render matching the original implementation to resolve the massive first-paint layout delays.

Resolves entrius#1027.

Restores `page` state and `<TablePagination>` logic to `src/components/issues/IssuesList.tsx` that was inadvertently lost. Re-homed `TablePagination.tsx` from `miners/` to `common/` for domain neutrality. Handled filter resets with a render-phase state update to prevent stale frame flashes.
@xiao-xiao-mao xiao-xiao-mao Bot added the bug Something isn't working label May 12, 2026
@anderdc
Copy link
Copy Markdown
Collaborator

anderdc commented May 13, 2026

Duplicate of #1028 which is better scoped/implemented. Closing.

@anderdc anderdc closed this May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bounties page renders every bounty on first paint after PR #983 dropped pagination

2 participants