Repository navigation
Closed
Labels
Description
Summary
Settings > API > WebDAV never leaves its loading state when the app-password list fails to load. The table keeps its skeleton rows indefinitely: nothing says the read failed, and there is no Try again. The page then never shows its existing passwords or the empty state ("No app-passwords yet."). A person who came to revoke a leaked password can't see it, and nothing explains why.
This is the same defect as #3676 ("failed initial API-key list stays on its loading skeleton"), on the WebDAV page.
Source
origin/maind1373d84cd56972501403f62145ec52e6f65d44a.- This is a deterministic code path, read statically. No running stack was used: Review A has no stack reservation this occurrence.
The code path:
- The hook drops the error (
services/platform/app/features/settings/webdav/hooks/use-webdav-app-passwords.ts:4–13).useWebdavAppPasswordsreturns onlydatafromuseBackendQuery('webdav/app_password_queries:listAppPasswords', …). Its comment reads: "Returnundefinedwhile loading so the UI can distinguish skeleton vs empty-state". A failed read is alsoundefined, soisErrorandrefetchnever reach the page. - The page treats every
undefinedas loading (components/webdav-settings.tsx:123):const isLoading = rows === undefined;. It is passed toDataTable isLoadingat line 203, which renders skeleton rows. - Not tested:
webdav-settings.test.tsxcovers revoking, with no failed-read case.
Reproduction (expected from the code; not run live)
- Open Settings > API > WebDAV as a developer, admin or owner.
- Make
webdav/app_password_queries:listAppPasswordsfail (offline before opening the page, or a server error). - Once the read settles, the table still shows skeleton rows, with no message and no Try again.
Expected
- The hook returns the read's error and
refetch(or the page reads the query directly). - Failed: the table says the app passwords couldn't load and offers Try again.
- Pending: skeleton rows, as today.
- Empty: "No app-passwords yet." only after a successful empty read.
Regression expectation
A webdav-settings test with a failed list read:
- shows the failure message and Try again;
- has no permanent skeleton;
- Try again refetches.
Triage
- Severity: low. It needs a failed read, but it hides the list someone may need in order to revoke a credential, and gives no way forward.
- Owner: the platform owner of WebDAV settings.
- Review A cell:
api.webdavUX-CLARITY and REL-MANUAL. Found by Review A (TALE-358) at the 2026-10-09 16:15 Europe/Zurich occurrence, in thesettings.*UX-CLARITY slice. - Related: bug(platform): failed initial API-key list stays on its loading skeleton #3676 (same class on API keys).
Activity
fix(platform): say when WebDAV app-passwords fail to load
fix(platform): say when WebDAV app-passwords fail to load