Skip to content

Improvement: WebDAV app passwords table follows the settings list pattern #5162

Closed

Description

@tale-code-bot

Part of #2792.

Problem

Settings › API › WebDAV puts the create button for app passwords in the section header and hands DataTable every row at once, with no count footer. Teams, Members and the other settings lists (#2792) create through addAction and close on the shared count footer.

Current behaviour

services/platform/app/features/settings/webdav/components/webdav-settings.tsx at feature-train af2a43153661f168db194210edfb4299249086fc:

  • :91-106: SettingsSection action={<Button icon={KeyRound} …>} opens the create dialog. The section's tabIndex={-1} catches the focus when the last Revoke button disappears.
  • :122-217: WebdavAppPasswordsTable sorts the rows newest first and renders a plain DataTable:
    • data={sortedRows};
    • isLoading = rows === undefined;
    • approxRowCount={3};
    • no window, no search, 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 the table with useListPage:
    • { type: 'query', data: sortedRows, error, retry };
    • pageSize: DEFAULT_LIST_PAGE_SIZE;
    • an entityLabel;
    • a toolbar search over the password's label.
  • Create through addAction instead of the section's action.
  • Keep the revoked rows, the newest-first order and the focus fallback.

Acceptance criteria

  • The table shows its search and its create button in its own toolbar, at most DEFAULT_LIST_PAGE_SIZE rows before it loads more, and the shared count footer.
  • Creating, revealing and revoking an app password work as today. webdav-settings.test.tsx stays 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 2, 2026
    ee9ef37
  3. added a commit that references this issue on Nov 2, 2026
    9d34474
  4. added a commit that references this issue on Nov 3, 2026
    b4d94d6
  5. tale-code-bot commented on Nov 3, 2026

    @tale-code-bot
    CollaboratorAuthor

    Shipped on the feature line. Feature train #5333 merged into release/0.6 by rebase at 2026-11-03T02:52:52Z. It carried this issue's change as commit b4d94d629b6fb3219b501f4241d8e38a29da45b9, refactor(platform): webdav app-passwords table follows the list pattern (task TALE-258). The change ships with Tale 0.6.0.

    GitHub closes an issue automatically only for a commit on main, so the feature-train role is closing this one.

  6. added 12 commits that reference this issue on Nov 3, 2026
    238f050
    4a0b540
    7308951
    dcfd717
    674fbb9
    81bb513
    554fff5
    16021fa
    92bb2c1
    62bdc15
    b99df22
    6feb5ed
  7. added a commit that references this issue on Nov 15, 2026
    a39b209
  8. added a commit that references this issue on Nov 23, 2026
    edc8930
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