Repository navigation
Description
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'stabIndex={-1}catches the focus when the last Revoke button disappears.:122-217:WebdavAppPasswordsTablesorts the rows newest first and renders a plainDataTable:data={sortedRows};isLoading = rows === undefined;approxRowCount={3};- no window, no search, no count footer.
The pattern
Decided on #2792; Teams and Members implement it.
useListPage(@tale/ui/use-list-page) handsDataTableits rows:{ type: 'query', data, error, retry }for a read that arrives whole,{ type: 'paginated', … }for cursor pages.pageSize: DEFAULT_LIST_PAGE_SIZE(20) with no page-size selector: the table shows one window of rows and loads more as the reader scrolls.- Search and filters sit in the table's own toolbar:
search, andfilters.configswithonClearfor a facet the page keeps itself. - The create button is
addAction. When the list is empty and its toolbar has no search or filter, the button moves into the empty state. - The frame closes on the shared count footer from
entityLabel("Showing all 12 members"). - A table inside a scrolling settings page keeps
stickyLayoutoff (Bug: Skills settings page cannot be scrolled with the mouse wheel over the table (sticky DataTable swallows wheel events) #2381, fix(platform): restore scrolling in the skills table #2436).
References:
services/platform/app/features/settings/teams/components/teams-table.tsxservices/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
addActioninstead of the section'saction. - 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_SIZErows before it loads more, and the shared count footer. - Creating, revealing and revoking an app password work as today.
webdav-settings.test.tsxstays 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
- Parent: Improvement: Align data tables and pagination across settings (Teams, Members, …) #2792. Its Members part landed in
d12b3b80d2d1fdb4cacccb2909e2b71218498ae7. The tables that stay different on purpose are listed there. - bug(platform): WebDAV app passwords stay on their loading skeleton when the list fails to load #4652: the same table stays on its skeleton when the read fails, because
useWebdavAppPasswordsdrops the error.useListPageneeds the read'serrorandretry, so the two changes touch the same lines. Whichever lands second builds on the other.
Activity
refactor(platform): webdav app-passwords table follows the list pattern
refactor(platform): webdav app-passwords table follows the list pattern
refactor(platform): webdav app-passwords table follows the list pattern
tale-code-bot commentedon Nov 3, 2026
Shipped on the feature line. Feature train #5333 merged into
release/0.6by rebase at 2026-11-03T02:52:52Z. It carried this issue's change as commitb4d94d629b6fb3219b501f4241d8e38a29da45b9,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.refactor(platform): webdav app-passwords table follows the list pattern
refactor(platform): webdav app-passwords table follows the list pattern
refactor(platform): webdav app-passwords table follows the list pattern
refactor(platform): webdav app-passwords table follows the list pattern
refactor(platform): webdav app-passwords table follows the list pattern
refactor(platform): webdav app-passwords table follows the list pattern
refactor(platform): webdav app-passwords table follows the list pattern
refactor(platform): webdav app-passwords table follows the list pattern
refactor(platform): webdav app-passwords table follows the list pattern
refactor(platform): webdav app-passwords table follows the list pattern
refactor(platform): webdav app-passwords table follows the list pattern
refactor(platform): webdav app-passwords table follows the list pattern
refactor(platform): webdav app-passwords table follows the list pattern
refactor(platform): webdav app-passwords table follows the list pattern