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
Citation URL detail: "Prompts breakdown" table has no pagination or empty state #600
On the citation URL detail page, the "Cited in" table paginates through the shared TablePager, but the "Prompts breakdown" table right below it renders every row of promptGroups unbounded — the server action neither caps nor paginates it. A heavily-cited URL produces an arbitrarily long table. The breakdown table also has no empty state: with zero groups it renders a bare header with an empty body.
Hook to reuse: table-pager.tsx#L19-L39 (usePagination + TablePager) — the page already uses it for "Cited in"
Suggested fix
Add a second usePagination instance for promptGroups, slice the rows with pager.start/pager.end, render TablePager under the table, and add a one-line muted empty state when there are no groups (matching the "Cited in" table's tone).
Acceptance criteria
Prompts breakdown shows at most one page of rows with the shared pager below it.
An empty breakdown renders a friendly empty message instead of a bare table.
Activity