Components · Tables & pagination
Table
oldThe current app, rendered from the real components with sample data.
packages/ui/src/components · apps/web/components
Pagination
oldThe current app, rendered from the real components with sample data.
packages/ui/src/components · apps/web/components
Inconsistencies
oldThe current app, rendered from the real components with sample data.
packages/ui/src/components · apps/web/components
Not in the app
oldThe current app, rendered from the real components with sample data.
packages/ui/src/components · apps/web/components
Table on the admin page
newThe table is one white block on the near-white page, with the card's border, radius 16 and a faint shadow. The header row is Silver Phoenix with small caps in secondary text.
packages/brand-ui/src/components/table.tsx · pagination.tsx
| Product | Vendor · tier | Discount | Code pool | Click-outs (30 d) | Status |
|---|---|---|---|---|---|
| Dispatchly Audience | Dispatchly GmbH Featured | Referral link | — | 0 | Active |
| Inkline Publishing | Inkline Ltd Partner | Code pool | 12 left | 148 | Active |
| Factbase Research | Factbase Oy Standard | Code pool | 0 left | 37 | Paused |
| Ledgerly Finance | Ledgerly BV Standard | Single code | — | 9 | Draft |
Rows, and tables in other places
newHeader 40px, cells 16px × 12px, numbers right-aligned in tabular figures. Rows tint on hover; a selected row is Purple Frenzy soft. In a Card the table sits in CardFlush.
table.tsx · selection-bar.tsx · link-list.tsx · secret-value.tsx · code-chip.tsx · text-link.tsx (packages/brand-ui)
3 codes selected
GATE-7Q2KWaiting for a decision. Decide in the verification queue.
| Product | Vendor · tier | Discount | Code pool | Click-outs (30 d) | Status |
|---|---|---|---|---|---|
| Dispatchly Audience | Dispatchly GmbH Featured | Referral link | — | 0 | Active |
| Inkline Publishing | Inkline Ltd Partner | Code pool | 12 left | 148 | Active |
| Factbase Research | Factbase Oy Standard | Code pool | 0 left | 37 | Paused |
| Ledgerly Finance | Ledgerly BV Standard | Single code | — | 9 | Draft |
Top products
| Product | Click-outs |
|---|---|
| Inkline | 148 |
| Factbase | 37 |
| Status | Meaning |
|---|---|
| matched | A code NewsTech gave to a member; now confirmed. |
| duplicate | Confirmed before; nothing changed. |
| unknown | Not a code NewsTech gave out. |
Pagination
newThe range on the left, Previous and Next (sm, secondary outline) on the right. The API pages by cursor, so there are no page numbers.
packages/brand-ui/src/components/pagination.tsx
Where the old tables and pagination go
newEvery table becomes the one Table; both pagination patterns become Pagination.
| Old | New |
|---|---|
AdminTable, Th, Td, CellMeta apps/web/features/admin-shell/components/admin-table.tsx | Table, TableHead, TableCell, TableCellMeta; a Silver Phoenix header and a frame with a faint shadow |
API docs table (ad hoc) apps/web/app/(public)/developers/redemption-api/page.tsx | Table; the code column keeps font-mono |
Tables inside AdminPanel admin-reports · admin-redemptions · admin-newsrooms | Table framed={false} in a Card's CardFlush |
Previous / Next buttons apps/web/features/admin-catalog/components/pool-code-table.tsx | Pagination with PaginationPrevious and PaginationNext, sm |
“Back to first page” / “Next 25” links apps/web/app/admin/(console)/newsrooms/page.tsx | Pagination with links (asChild); “Back to first page” becomes PaginationPrevious labelled “First page” |