Skip to content

Move list tables onto one compact shared table - #1497

Merged
max-1-max merged 1 commit into
v2.3.0from
feature/compact-tables
Nov 20, 2026
Merged

max-1-max merged 1 commit into
v2.3.0from
feature/compact-tables

Conversation

@max-1-max

Copy link
Copy Markdown
Collaborator

What this changes

Every list table in the manage and admin areas now uses one shared compact table, so they look and behave the same on phone, tablet and desktop.

  • Fixed-height rows. One line (44px) by default, or two lines (56px) where the name sits over a secondary detail such as an email or address. Rows never vary in height within a table.
  • Frozen columns. The identifying column stays on the left and the row menu on the right; everything else scrolls horizontally at any width. Stacked mobile layouts are gone, except CRM contacts and campaigns, which keep theirs for now.
  • One card per list. Search, filters, column toggle and actions sit in a compact bar above the table, with "Showing 1–25 of 312" and pagination in a footer.
  • Sortable headings replace the sort dropdown where every sort option has a column (orders, attendees, affiliates).
  • Floating selection bar. The CRM contacts bar is now a shared SelectionBar, and the recurring dates table uses it for bulk cancel and delete.

Tables converted

  • Event: orders, attendees, affiliates, promo codes, check-in lists, capacity assignments (was cards), box office, webhooks, team, waitlist, reports, recurring dates, plus the offer-tickets and box office sales summary modals.
  • Organizer: locations, webhooks, team, reports, Audience contacts, suppressed contacts and campaigns.
  • Admin: dashboard, orders, events, messages, failed jobs, deletion requests, flagged events, announcements, email delivery, UTM analytics and Audience campaign review.

Shared components

  • common/TanStackTable with cells.tsx (IdentityCell, CellLink, CellText, CellCopy, EmptyCell) and sorting.tsx (SortHeader, sortableHeader, tableSortFromQuery)
  • common/TableCard (card, skeleton rows, range and pagination footer)
  • common/StatusBadge (moved out of the CRM)
  • common/SelectionBar
  • common/ToolBar gains an embedded mode and a slot for the column toggle

The event and organizer webhook tables are now a single WebhookTable, and the unused legacy common/Table shell is removed. The pattern is documented in .claude/rules/frontend/ui.md.

Behaviour changes worth knowing

  • Orders can no longer be sorted by email, and attendees can no longer be sorted by last name, status or last updated. The other sorts moved to the column headings.
  • Saved column choices for orders and attendees reset, because the column set changed.
  • On orders, tax/fees and "reserved until" are now in tooltips; the Invoice column is hidden by default.
  • Affiliate revenue uses the event currency instead of a hard-coded $.
  • Webhook statuses read "Enabled" / "Paused" instead of the raw enum, and the event webhook table's labels are now translated.
  • Several admin tables move their inline icon buttons into a row menu.
  • When the two frozen columns would cover more than 70% of the table's width, the action column is released and scrolls with the table.

Testing

  • npx tsc --noEmit is clean.
  • 193 Playwright specs covering the converted tables pass against the dev stack (orders, attendees, affiliates, waitlist, promo codes, webhooks, capacity, check-in lists, box office, team access, locations, recurring dates, Audience contacts/campaigns/bulk actions, admin dashboard/announcements/account deletion, read-only access, dialog accessibility).
  • Page objects and specs were updated where the markup changed: capacity assignments (rows instead of cards), webhooks (status text and a row-menu test id), box office reporting, recurring dates (selection count test id) and the read-only spec (waits for the row before opening its menu).
  • Each converted page was checked at 375, 820 and 1440px for page overflow, uniform row heights and frozen-column widths.
  • No backend files changed, so the PHP suites were not run locally.
  • No new translatable strings; the catalogs were re-extracted and compiled.

Not verified

  • yarn lint could not be run: ESLint crashes inside the lingui/no-unlocalized-strings rule on CheckInListTable.
  • Three report specs and the admin message-approval and feature-flags specs fail on the local dev stack for what look like environment reasons (an order total of $25.87 where $25.00 is expected, a queue worker reported unhealthy, and the licence key in use). They were not investigated further.
  • Audience campaigns, the waitlist with entries, and the compact orders/attendees tables on a single date's page were not checked visually with data.

Every list table in the manage and admin areas now renders through the
shared TanStackTable: fixed-height rows (one line, or two with the name
over a secondary detail), a frozen identifying column and a frozen
actions column, and horizontal scroll at every width instead of stacked
mobile layouts.

Shared pieces: cell primitives, sortable headings, StatusBadge,
TableCard (toolbar, skeleton, range and pagination footer), a compact
ToolBar and a floating SelectionBar, which the CRM contacts and the
recurring dates table both use.

Capacity assignments move from cards to a table, the event and organizer
webhook tables become one component, and the unused legacy table shell
is removed.
@github-actions

Copy link
Copy Markdown
Contributor

✅ E2E smoke tests: Everything passed.

Mode Result ✅ Passed ❌ Failed ⚠️ Flaky ⏭️ Skipped ⏱️ Duration
Self-hosted ✅ Passed 119 0 0 0 3m 13s

Open the run

@max-1-max
max-1-max merged commit 76534a2 into v2.3.0 Nov 20, 2026
6 checks passed
@max-1-max
max-1-max deleted the feature/compact-tables branch November 20, 2026 07:57
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant