You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sims-hq/apps/hq-web/src/pages
Thomas Joise 584fb291f8 feat(documents): paginated register with honest total + Documents page (Phase 2, WS-D)
listDocuments now returns { documents, total, page, pageSize } (default 50,
cap 200, newest first) with the client name joined server-side — no N+1.
GET /documents passes page/pageSize through; type/status/clientId filters
compose against the same WHERE for both count and page (rule 8: no silent
caps). clientLedger walks the paginated repo in 200-row batches so the
ledger still surfaces every document. New /documents screen: type chips,
status filter, mono doc numbers, amount column, pager honouring the server
total; rows open /documents/:id. Nav entry under WORK (exact-match so New
Document keeps its own highlight).

Note: the GET /documents route hunk itself landed via 8861b46, swept into
a concurrent commit from the same working tree; this commit carries the
repo/ledger/web halves and the tests.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
5 days ago
..
ClientDetail.tsx fix(redesign): final-review fixes — palette races+a11y, avatar dark contrast, micro-label floor, drawer focus, pulse legend/labels/targets, warn contrast 5 days ago
Clients.tsx fix(redesign): final-review fixes — palette races+a11y, avatar dark contrast, micro-label floor, drawer focus, pulse legend/labels/targets, warn contrast 5 days ago
Dashboard.tsx fix(funnel): review fixes — stop-chase on convert/cancel/lost, scoped ?status=, send guards, F3/F4 convert hardening 5 days ago
DocumentTemplate.tsx feat(hq-web): reports chips + skeleton/error states across catalog pages 5 days ago
DocumentView.tsx feat(documents): one-click convert-and-send + proforma supersede (Phases 7-8, spec §8) 5 days ago
Documents.tsx feat(documents): paginated register with honest total + Documents page (Phase 2, WS-D) 5 days ago
Employees.tsx feat(hq-web): reports chips + skeleton/error states across catalog pages 5 days ago
Modules.tsx feat(modules): module→client roster, notify-all, CSV export (Phase 10, spec §10) 5 days ago
NewDocument.tsx feat(documents): invoice due dates — terms default + override, honest overdue chase (Phase 1, D18) 5 days ago
Pipeline.tsx fix(redesign): final-review fixes — palette races+a11y, avatar dark contrast, micro-label floor, drawer focus, pulse legend/labels/targets, warn contrast 5 days ago
Reports.tsx feat(hq-web): reports chips + skeleton/error states across catalog pages 5 days ago
client-forms.tsx feat(hq-web): Client 360 — record header, KPI row, tabbed sections, forms extracted 5 days ago