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
Improvement: Align data tables and pagination across settings (Teams, Members, …) #2792
Standard data tables in the app do not share one look-and-feel, especially pagination. Teams and Members are a clear example of the same settings area feeling like two different products.
Current behaviour
Shared primitives: DataTable, DataTablePagination, useDataTable, useListPage under app/components/ui/data-table/ and app/hooks/use-list-page.ts.
Teams (TeamsTable + useTeamsTableConfig): useListPage search toolbar, pageSize: 20, stickyLayout: false, no page-size selector — sits in SettingsPage / SettingsSection.
Members (MembersSettings + MemberTable): external SearchInput + client filter/sort (notuseListPage); DataTable client pagination with pageSize: 10 and showPageSizeSelector: true; different column-size assumptions (≤940px / org page).
Other settings tables (providers, API keys) follow the Teams / useListPage pattern more closely than Members.
Proposed change
Pick one canonical settings-table pattern (prefer useListPage + DataTable as used by Teams/providers) and migrate Members and other divergent settings lists to it where client-side lists make sense.
Unify pagination chrome: default page size, whether a page-size selector appears, footer copy, search placement (in-table vs external).
Leave intentionally different tables alone only where the interaction model truly differs (e.g. infinite-scroll knowledge lists) — document those exceptions in the PR.
Acceptance criteria
Teams and Members tables share the same search placement, pagination controls, and footer density.
Other settings data tables that can share the pattern do (providers, API keys, and peers found in the sweep).
Members follows the Teams pattern since d12b3b80d2d1fdb4cacccb2909e2b71218498ae7, "fix(platform): page every settings list alike and create via addAction" (2026-09-28). That commit is on main and release/0.6 (49ce42fdd3b20a452a2572554c587f4f89bdb4f8), on train and on feature-train.
services/platform/app/features/settings/organization/components/member-table.tsx:166-182 builds its rows with useListPage, as teams/components/teams-table.tsx:101-112 does:
pageSize: DEFAULT_LIST_PAGE_SIZE (20), with no page-size selector;
The same commit added the guard services/platform/app/features/settings/list-conventions.test.ts. It fails any settings list that sets a page size of its own, or that puts its create button in actionMenu rather than addAction.
The guard, the Members tests and the Teams tests are green at feature-train917378531299d9612acd970a69517c1e1895c705: 20 files, 170 tests (bunx vitest --run --config vitest.ui.config.ts, run in services/platform).
Not checked: dark and light themes, and the narrow settings width, were not looked at in a browser. Each part below carries that spot-check in its acceptance criteria.
The rest, filed as one issue per page
Each part links here. Each was checked against feature-trainaf2a43153661f168db194210edfb4299249086fc.
Matters, active holds and release requests have no display window, search or count footer. Matters and active holds keep their filter and create button in a bar outside the table, and release history keeps its status filter there.
Every user and API key of the period renders at once, with no search or count footer.
These already follow the pattern:
Teams and Members;
providers (credentials/credential-table.tsx);
API keys and agent connections;
skills;
data subject requests.
Different on purpose
The metrics rankings: top agents, models, voice models and automations, and the feedback rankings. The server cuts each to 10 rows (TOP_N, METRICS_TOP_N), so a display window and a search have nothing to do.
The login block counters (audit-logs/components/block-counters-table.tsx): the live counters are read whole, capped at 200 rows. The guard's FETCH_CAPS lists this with its reason.
The audit and error logs use useListPage with a page size of their own, LOGS_PAGE_SIZE. They are read by scrolling back through an unbounded trail. The guard's PAGE_SIZE_EXCEPTIONS lists this with its reason.
Activity
tale-code-bot commentedon Oct 30, 2026
Closing as completed. Board task: TALE-18.
The Members part is on
mainMembers follows the Teams pattern since
d12b3b80d2d1fdb4cacccb2909e2b71218498ae7, "fix(platform): page every settings list alike and create via addAction" (2026-09-28). That commit is onmainandrelease/0.6(49ce42fdd3b20a452a2572554c587f4f89bdb4f8), ontrainand onfeature-train.services/platform/app/features/settings/organization/components/member-table.tsx:166-182builds its rows withuseListPage, asteams/components/teams-table.tsx:101-112does:pageSize: DEFAULT_LIST_PAGE_SIZE(20), with no page-size selector;entityLabel.enableRowSelectionandBulkDeleteBar) and the row actions are in place.stickyLayoutstays off, as on Teams (Bug: Skills settings page cannot be scrolled with the mouse wheel over the table (sticky DataTable swallows wheel events) #2381).services/platform/app/features/settings/list-conventions.test.ts. It fails any settings list that sets a page size of its own, or that puts its create button inactionMenurather thanaddAction.feature-train917378531299d9612acd970a69517c1e1895c705: 20 files, 170 tests (bunx vitest --run --config vitest.ui.config.ts, run inservices/platform).The rest, filed as one issue per page
Each part links here. Each was checked against
feature-trainaf2a43153661f168db194210edfb4299249086fc.These already follow the pattern:
credentials/credential-table.tsx);Different on purpose
TOP_N,METRICS_TOP_N), so a display window and a search have nothing to do.audit-logs/components/block-counters-table.tsx): the live counters are read whole, capped at 200 rows. The guard'sFETCH_CAPSlists this with its reason.useListPagewith a page size of their own,LOGS_PAGE_SIZE. They are read by scrolling back through an unbounded trail. The guard'sPAGE_SIZE_EXCEPTIONSlists this with its reason.DEFAULT_LIST_PAGE_SIZEfrom the server throughDataTable'sinfiniteScroll, and close on the same count footer. For release history, Improvement: Legal hold tables follow the settings list pattern (toolbar filters and create, count footer) #5159 moves only its filter into the table.