Repository navigation
Conversation
There was a problem hiding this comment.
Welcome to Ansvisor, and thank you for your first PR! A maintainer will be by soon to review.
In the meantime, two things that make review faster:
- A short description of why the change matters, not just what it does — most of our PRs link a
Fixes #...to the issue that explains the why. - A quick local test note if there's anything worth eyeballing in the browser.
If you'd like to keep an eye on where Ansvisor goes next, a ⭐ on the repo helps others discover it (and Watch sends you a ping when related issues land). Either way — looking forward to your next one.
gkhngyk
left a comment
There was a problem hiding this comment.
Thanks for taking this on! The approach is right — three things need fixing before it can go green:
- Typecheck breaks:
classifyProgressivelystill referencesPAGE_SIZE(two spots, around lines 98–99), but the constant was renamed toFANOUT_PAGE_SIZEin this PR — soPAGE_SIZEis now undefined in this file. CI didn't reach typecheck because the Prettier step fails first. - Prettier: the trailing newline at the end of
prompts/page.tsxwas removed — runningyarn formatfromweb/fixes it. - PR body: "Closes #534" should be "Closes #544" (this PR implements #544; #534 is an unrelated shipped feature).
Heads-up: #546 addresses the same issue. Since this PR was opened first, we'll hold the other one — if the fixes land here within the next ~3 days, this PR gets merged.
|
Thanks for the quick fixes — typecheck, lint and tests all pass locally now. One last thing: CI is still red on the Prettier step because lines 99–101 in |
|
Closing this one — #546 (by the original issue claimant) landed with the shared-TablePager approach, and the remaining formatting fix here didn't arrive within the window we set. Thanks for the work and the quick fixes along the way — hope to see you on another issue! |
Summary
Standardize pagination across the Prompts pages by replacing custom pagination with the shared
TablePagerandusePaginationcomponents. The main prompts list is now paginated, and the fan-out tab uses the same pagination UI as the Citations page for a consistent user experience.Related issue
Closes #544
Type of change
fix— Bug fixChecklist
feature/,fix/,chore/,docs/)yarn lintpasses (run fromweb/)yarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)