Page numbers #238
Notifications
Total Time Spent: 2 hours 10 minutes
fen
2 hours 10 minutes
No due date set.
Dependencies
No dependencies set.
Reference: poslop/palette#238
Reference in New Issue
Block a user
Page number option 2 is still showing even though it should not be showing as there is no adjacent page currently showing and its not a end page.
QA PASS (Fix attempt 1). Merged #239 (
b840bff) into dev, deployed to palette-dev, verified live.Evidence (rendered probe on live palette-dev, served table.js sha256 03e8b0d9... matches origin/dev):
QA PASS (PR #239). Verified locally and live on palette-dev.
b840bff): go build + go test all pass; rendered CDP probe over a seeded 7-page history confirmed the orphan page 2 is gone at page 6 (pager: 1 ... 5 6 7 ...) while adjacent/edge cases stay correct (page 1: 1 2 ... 7, page 2: 1 2 3 ... 7, last: 1 ... 6 7).9490b8d, CI docker success). Rolled out to palette-dev; served /static/table.js sha256 matches git show origin/dev exactly.Closing and cleaning up.
Re-verified against the live dev build instead of re-fixing. The fix from #239 (
b840bff,drop hardcoded page 2 from pagination window) is deployed on palette-dev: served /static/table.js sha256 03e8b0d9... matches origin/dev tip, and the oldwin = new Set([1, 2, ...])is gone.Rendered probe on live palette-dev (/history, 736 pastes = 30 pages), clicked through to page 6:
The screenshot in this issue matches the pre-fix build (main still carries the old
1, 2, ...window and prod's table.js is the old one; prod currently has 10 pastes so the pager doesn't render there). Dev has been correct since the #239 deploy — closing as verified, no code change needed. Main will pick the fix up at the next release merge.