Skip to content

Improvement: Align data tables and pagination across settings (Teams, Members, …) #2792

Closed

Description

@yannickmonney

Problem

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 (not useListPage); 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

Affected service

Platform (web app)

Related

Closed: #2646 (DataTable footer entity pluralization), #1463 (org page pagination).

Activity

  1. added
    agent-ready
    on Oct 29, 2026
  2. tale-code-bot commented on Oct 30, 2026

    @tale-code-bot
    Collaborator

    Closing as completed. Board task: TALE-18.

    The Members part is on main

    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 search in the table's toolbar;
      • the shared count footer from entityLabel.
    • Bulk select (enableRowSelection and BulkDeleteBar) and the row actions are in place. stickyLayout stays off, as on Teams (Bug: Skills settings page cannot be scrolled with the mouse wheel over the table (sticky DataTable swallows wheel events) #2381).
    • 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-train 917378531299d9612acd970a69517c1e1895c705: 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-train af2a43153661f168db194210edfb4299249086fc.

    Issue Page What differs
    #5159 Legal hold 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.
    #5160 Competences No display window, search or count footer.
    #5161 Sandboxes The sessions and devices tables have no display window, search or count footer. Add device sits in the section header.
    #5162 WebDAV app passwords The create button sits in the section header. No display window, search or count footer.
    #5163 Metrics › Usage, users table 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.
    • The server-paged lists: the Trash, recent feedback and Legal hold's release history load pages of DEFAULT_LIST_PAGE_SIZE from the server through DataTable's infiniteScroll, 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readyimprovementservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions