Skip to content

bug(platform): WebDAV app passwords stay on their loading skeleton when the list fails to load #4652

Closed

Description

@yannickmonney

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/main d1373d84cd56972501403f62145ec52e6f65d44a.
  • 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). useWebdavAppPasswords returns only data from useBackendQuery('webdav/app_password_queries:listAppPasswords', …). Its comment reads: "Return undefined while loading so the UI can distinguish skeleton vs empty-state". A failed read is also undefined, so isError and refetch never reach the page.
  • The page treats every undefined as loading (components/webdav-settings.tsx:123): const isLoading = rows === undefined;. It is passed to DataTable isLoading at line 203, which renders skeleton rows.
  • Not tested: webdav-settings.test.tsx covers revoking, with no failed-read case.

Reproduction (expected from the code; not run live)

  1. Open Settings > API > WebDAV as a developer, admin or owner.
  2. Make webdav/app_password_queries:listAppPasswords fail (offline before opening the page, or a server error).
  3. 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.webdav UX-CLARITY and REL-MANUAL. Found by Review A (TALE-358) at the 2026-10-09 16:15 Europe/Zurich occurrence, in the settings.* UX-CLARITY slice.
  • Related: bug(platform): failed initial API-key list stays on its loading skeleton #3676 (same class on API keys).

Activity

  1. added
    agent-ready
    on Oct 29, 2026
  2. added a commit that references this issue on Oct 30, 2026
    6fe7af6
  3. added a commit that references this issue on Oct 30, 2026
    fe5406a
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-readybug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions