Skip to content

Restore pagination on bounties list#1048

Closed
joel777rubio-web wants to merge 1 commit into
entrius:testfrom
joel777rubio-web:fix-issues-list-pagination
Closed

Restore pagination on bounties list#1048
joel777rubio-web wants to merge 1 commit into
entrius:testfrom
joel777rubio-web:fix-issues-list-pagination

Conversation

@joel777rubio-web
Copy link
Copy Markdown

@joel777rubio-web joel777rubio-web commented May 11, 2026

Summary

Restores pagination on the /bounties issues list so the page no longer renders the full sorted issues array on first paint.

Changes:

  • Adds shared TablePagination under src/components/common.
  • Uses 10 rows for list view and 12 cards for card view, matching the existing defaults.
  • Renders only the current page slice for both card and table views.
  • Resets pagination to page 0 when filter, search, sort, direction, or view mode changes.
  • Clamps the current page when result count shrinks.

Related Issues

Fixes #1027

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Other (describe below)

Screenshots

Not included. This restores existing pagination behavior and was verified with build/lint locally.

Checklist

  • New components are modularized/separated where sensible
  • Uses predefined theme (e.g. no hardcoded colors)
  • Responsive/mobile checked by preserving the existing card/list row defaults
  • Tested against the test API
  • npm run format and npm run lint:fix have been run via lint-staged/prettier on touched files
  • npm run build passes
  • Screenshots included for any UI/visual changes

@xiao-xiao-mao xiao-xiao-mao Bot added the bug Something isn't working label May 11, 2026
@anderdc
Copy link
Copy Markdown
Collaborator

anderdc commented May 11, 2026

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

@anderdc anderdc closed this May 11, 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