feat: add Prev/Next navigation buttons to /refractor status #127

Merged
cal merged 1 commits from feat/refractor-pagination-buttons into main 2026-03-25 22:43:31 +00:00
Owner

Summary

Adds ◀ Prev / Next ▶ buttons to the refractor status embed for multi-page results.

  • Buttons re-fetch from the API on each press (server-side pagination)
  • Prev disabled on page 1, Next disabled on last page
  • Only the invoking user can press the buttons
  • Buttons auto-disable after 2 min timeout
  • Single-page results show no buttons

Test plan

  • Multi-page results show Prev/Next buttons
  • Clicking Next loads the next page
  • Clicking Prev loads the previous page
  • Prev is disabled on page 1, Next on last page
  • Single-page results have no buttons
  • Another user cannot click the buttons
## Summary Adds ◀ Prev / Next ▶ buttons to the refractor status embed for multi-page results. - Buttons re-fetch from the API on each press (server-side pagination) - Prev disabled on page 1, Next disabled on last page - Only the invoking user can press the buttons - Buttons auto-disable after 2 min timeout - Single-page results show no buttons ## Test plan - [ ] Multi-page results show Prev/Next buttons - [ ] Clicking Next loads the next page - [ ] Clicking Prev loads the previous page - [ ] Prev is disabled on page 1, Next on last page - [ ] Single-page results have no buttons - [ ] Another user cannot click the buttons
cal added 1 commit 2026-03-25 22:43:22 +00:00
feat: add Prev/Next navigation buttons to /refractor status
All checks were successful
Ruff Lint / lint (pull_request) Successful in 24s
b9deb14b62
- RefractorPaginationView with ◀ Prev / Next ▶ buttons
- Buttons re-fetch from API on each page change
- Prev disabled on page 1, Next disabled on last page
- Only the command invoker can use the buttons
- Buttons auto-disable after 2 min timeout
- Single-page results show no buttons

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Claude approved these changes 2026-03-25 22:43:28 +00:00
Claude left a comment
Collaborator

Approved via pd-pr

Approved via pd-pr
cal merged commit dea6316201 into main 2026-03-25 22:43:31 +00:00
cal deleted branch feat/refractor-pagination-buttons 2026-03-25 22:43:31 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cal/paper-dynasty-discord#127
No description provided.