Repository navigation
Move list tables onto one compact shared table - #1497
Merged
Merged
Conversation
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.
Contributor
✅ E2E smoke tests: Everything passed.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
SelectionBar, and the recurring dates table uses it for bulk cancel and delete.Tables converted
Shared components
common/TanStackTablewithcells.tsx(IdentityCell,CellLink,CellText,CellCopy,EmptyCell) andsorting.tsx(SortHeader,sortableHeader,tableSortFromQuery)common/TableCard(card, skeleton rows, range and pagination footer)common/StatusBadge(moved out of the CRM)common/SelectionBarcommon/ToolBargains anembeddedmode and a slot for the column toggleThe event and organizer webhook tables are now a single
WebhookTable, and the unused legacycommon/Tableshell is removed. The pattern is documented in.claude/rules/frontend/ui.md.Behaviour changes worth knowing
$.Testing
npx tsc --noEmitis clean.Not verified
yarn lintcould not be run: ESLint crashes inside thelingui/no-unlocalized-stringsrule onCheckInListTable.$25.87where$25.00is expected, a queue worker reported unhealthy, and the licence key in use). They were not investigated further.