Skip to content

Fix bounty modal arrow boundaries - #1623

Open
xixifusi1213-gif wants to merge 1 commit into
stakwork:masterfrom
xixifusi1213-gif:codex/fix-bounty-arrow-boundaries-333
Open

Fix bounty modal arrow boundaries#1623
xixifusi1213-gif wants to merge 1 commit into
stakwork:masterfrom
xixifusi1213-gif:codex/fix-bounty-arrow-boundaries-333

Conversation

@xixifusi1213-gif

Copy link
Copy Markdown

Summary

  • Prevent the bounty modal L/R navigation from routing to /bounty/0 when the next/previous lookup reports a list boundary.
  • Hide the arrow that reached the boundary and keep the existing "There are no more bounties to display!" toast.
  • Add regression coverage for public bounty boundaries, workspace bounty boundaries, and the normal "navigate to the returned bounty id" path.

Closes #333

Demo

The demo was recorded in Chrome desktop against the local React app with API responses mocked for a focused boundary-navigation scenario.

Validation

  • corepack yarn jest src/pages/tickets/__tests__/TicketModalPage.spec.tsx --runInBand --no-coverage
  • npx prettier --config .prettierrc.json --check src/pages/tickets/TicketModalPage.tsx src/pages/tickets/__tests__/TicketModalPage.spec.tsx
  • npx eslint src/pages/tickets/TicketModalPage.tsx src/pages/tickets/__tests__/TicketModalPage.spec.tsx --max-warnings 100 (passes with existing warnings only)

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.

Fix L/R arrows for org and homepage

1 participant