You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unify table pagination on the Prompts page — use the shared TablePager (citations-style) #544
Pagination is inconsistent across the app. The Citations page (and the prompt-detail Top Sources card) use the shared TablePager + usePagination from web/src/components/table-pager.tsx (X–Y of Z + Previous/Next). The Prompts page differs in two ways:
We want one pagination style everywhere — the citations style.
Proposal
Main prompt list: paginate with usePagination(filtered.length, resetKey) + <TablePager …/> (default PAGE_SIZE = 100). resetKey must include the active filters and sort so changing either returns to page 1 (the hook already handles this via its reset-key contract). Slice filtered with pager.start/pager.end.
Activity
Maqbool61 commentedon Jul 28, 2026
Can you assign me?
fix: unify Prompts page pagination with shared TablePager (ansvisor#544…