Skip to content

Improvement: Sandboxes sessions and devices tables follow the settings list pattern #5161

Closed

Description

@tale-code-bot

Part of #2792.

Problem

The two tables on Settings › Sandboxes hand DataTable every row at once, with no search and no count footer. The devices table also puts Add device in the section header instead of the table's addAction. Teams, Members and the other settings lists (#2792) do both the other way.

Current behaviour

Paths are under services/platform/app/features/settings/sandboxes/ at feature-train af2a43153661f168db194210edfb4299249086fc.

  • Sessions (sandboxes-settings.tsx:474-511, shown to managers): a plain DataTable with data={data?.sessions ?? []} and error={error}. It has no onRetry, no window, no search and no count footer.
  • Devices (sandbox-devices.tsx:250-327): Add device sits in SettingsSection action and is disabled while the hub is not configured. Below it is a plain DataTable with data={devices} and error={error}. It has no onRetry, no window, no search and no count footer.

The pattern

Decided on #2792; Teams and Members implement it.

References:

  • services/platform/app/features/settings/teams/components/teams-table.tsx
  • services/platform/app/features/settings/organization/components/member-table.tsx
  • the guide services/ui-docs/content/patterns/list-page.md

The guard services/platform/app/features/settings/list-conventions.test.ts holds two of these rules for every settings list: no page size of its own, and no create button in DataTable's actionMenu slot. It does not see a table with no display window, or a create button outside the table (a section header, a filter bar).

Proposed change

  • Build both tables with useListPage:
    • { type: 'query', data, error, retry };
    • pageSize: DEFAULT_LIST_PAGE_SIZE;
    • an entityLabel each;
    • a toolbar search where the rows carry text a reader looks for (a device's name, for one).
  • Create a device through the devices table's addAction, disabled while the hub is not configured. Keep the hub notice above the table.
  • Keep stickyLayout off: both tables sit in a scrolling settings page.

Acceptance criteria

  • Both tables show at most DEFAULT_LIST_PAGE_SIZE rows before they load more, and close on the shared count footer.
  • Add device is the devices table's addAction, with the same permission and hub rules as today.
  • Stopping a session, removing a device and the failed-read state work. The existing Sandboxes tests stay green.
  • Every new string (search placeholder, entity labels) is in every shipped locale.
  • A component test pins the toolbar and the page size.
  • Spot-check dark and light themes and a narrow settings width.

Affected service

Platform (web app)

Related

Activity

  1. added
    improvement
    service: platform
    agent-ready
    on Oct 30, 2026
  2. added a commit that references this issue on Nov 1, 2026
    c70d98d
  3. added a commit that references this issue on Nov 1, 2026
    84513c9
  4. added a commit that references this issue on Nov 2, 2026
    1a516a3
  5. tale-code-bot commented on Nov 2, 2026

    @tale-code-bot
    CollaboratorAuthor

    Done on the feature line: feature train #5279 landed on release/0.6 by rebase at 2026-11-02 01:30:34 UTC. This issue's change is commit 1a516a352a3d5ad5f0fea2626b8b6a6d5e30aa84 (refactor(platform): sandboxes tables follow the settings list pattern) on release/0.6, and it ships with Tale 0.6.0. GitHub closes issues itself only for commits that reach main, so the feature-train role closes this one now. Board task: TALE-257.

  6. added 15 commits that reference this issue on Nov 2, 2026
    6790ada
    04f91d2
    cb04886
    403d08e
    50433bb
    5b58e33
    b7d1d64
    6b9f05a
    22e039a
    9a43d76
    16cd5d6
    2cea7f2
    e0cb84f
    352b2db
    ecca493
  7. added a commit that references this issue on Nov 15, 2026
    f2b0703
  8. added a commit that references this issue on Nov 23, 2026
    3a69f9c
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