Empty state shows while the first load is still running #1742

Closed
opened 2026-11-02 04:13:34 +00:00 by sam · 2 comments
Owner

These views start from [] or undefined with no loaded flag, so they assert "none" before the request returns:

  • ui/src/skills/SkillsPage.vue:71 ("No skills discovered yet")
  • ui/src/curators/CuratorsPage.vue:194-198 ("No curators registered")
  • ui/src/dashboard/QuickTask.vue:93-95 ("No enabled workflows")
  • ui/src/alerts/AlertsBell.vue:46 ("No alerts")
  • ui/src/settings/ExtensionsMarketplace.vue:99-101 ("The catalogue is empty")
  • ui/src/settings/AgentProfilesPage.vue:56, PlaybooksPage.vue:44, CredentialBindingsPage.vue:40: these also show "No …" beside the load error, because draftValue is undefined until the form exists (ui/src/stores/settings.ts:290-292).

Done when: each view shows loading until the first read settles, then either the data, the error, or the empty state.

These views start from `[]` or `undefined` with no loaded flag, so they assert "none" before the request returns: - `ui/src/skills/SkillsPage.vue:71` ("No skills discovered yet") - `ui/src/curators/CuratorsPage.vue:194-198` ("No curators registered") - `ui/src/dashboard/QuickTask.vue:93-95` ("No enabled workflows") - `ui/src/alerts/AlertsBell.vue:46` ("No alerts") - `ui/src/settings/ExtensionsMarketplace.vue:99-101` ("The catalogue is empty") - `ui/src/settings/AgentProfilesPage.vue:56`, `PlaybooksPage.vue:44`, `CredentialBindingsPage.vue:40`: these also show "No …" beside the load error, because `draftValue` is undefined until the form exists (`ui/src/stores/settings.ts:290-292`). Done when: each view shows loading until the first read settles, then either the data, the error, or the empty state.
sam added the mediumbug labels 2026-11-02 04:13:34 +00:00
sam self-assigned this 2026-11-02 04:13:34 +00:00
Author
Owner

Fixed in 820beda7 and pushed. Each listed view now tracks whether the first read has settled: Skills, Curators, QuickTask, AlertsBell (shared loaded flag in use-alerts) and the extensions catalogue (catalogueLoaded) show a loading state until then, then data/error/empty. AgentProfiles, Playbooks and CredentialBindings show their empty state only once the draft exists (was: beside the load error). Verified: task check passed on the committed tree (one v-else-if chain fixed during iteration).

Fixed in 820beda7 and pushed. Each listed view now tracks whether the first read has settled: Skills, Curators, QuickTask, AlertsBell (shared loaded flag in use-alerts) and the extensions catalogue (catalogueLoaded) show a loading state until then, then data/error/empty. AgentProfiles, Playbooks and CredentialBindings show their empty state only once the draft exists (was: beside the load error). Verified: task check passed on the committed tree (one v-else-if chain fixed during iteration).
Author
Owner

Fixed in 820beda7 and pushed to main. Gate: task check exited 0 on the committed tree.

Fixed in 820beda7 and pushed to main. Gate: task check exited 0 on the committed tree.
sam closed this issue 2026-11-07 06:09:28 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1742