Skip to content

fix(client): stop recent-decisions pagination past the last page - #1169

Draft
serendipty01 wants to merge 1 commit into
roostorg:mainfrom
serendipty01:fix-recent-decisions-pagination
Draft

serendipty01 wants to merge 1 commit into
roostorg:mainfrom
serendipty01:fix-recent-decisions-pagination

Conversation

@serendipty01

@serendipty01 serendipty01 commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Context & Requests for Reviewers

fixes #1222
The next-page chevron on /dashboard/manual_review/recent had no bounds check and could page indefinitely into empty results. Disable it once the current page returns fewer rows than the server page size.

Tests

manually tested

recent-decisions-pagination-fix-01.mp4

Checklist

Only check items that apply to this PR; leave the rest unchecked.

  • If you changed anything user-facing (i.e. user interface or APIs):
    Did you update related docs?

  • If the change is notable (refer to Keep a Changelog conventions):
    Did you update CHANGELOG.md?

The next-page chevron on /dashboard/manual_review/recent incremented the
page with no bounds check, so you could page indefinitely into empty
results. Disable it once the current page returns fewer rows than the
server page size.

Co-Authored-By: Claude <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Recent Decisions pagination has no bounds check

1 participant