Settings pages are blank until their settings load #1743

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

These pages render nothing until their draft exists (v-if on the draft), so a slow or failed load is a blank page: ui/src/settings/ToolsPage.vue:101, SystemModelsPage.vue:170, 217, 236, SystemReposPage.vue:148, SchedulingPolicyPage.vue:65, ContainerRuntimePage.vue:82, OrgAlertsPage.vue:43, InstructionsPage.vue:39, PluginsPage.vue:34, SystemTasksPage.vue:80, UpdateSettingsCard.vue:30, IdentityGrantsCard.vue:56, ui/src/org/OrgModelsPage.vue:72, 95, ui/src/accounts/AuthenticationPage.vue:21, ui/src/channels/ChannelsPage.vue:150.

Done when: the settings store exposes a loading state per kind and each page shows it until the draft or an error arrives.

These pages render nothing until their draft exists (`v-if` on the draft), so a slow or failed load is a blank page: `ui/src/settings/ToolsPage.vue:101`, `SystemModelsPage.vue:170, 217, 236`, `SystemReposPage.vue:148`, `SchedulingPolicyPage.vue:65`, `ContainerRuntimePage.vue:82`, `OrgAlertsPage.vue:43`, `InstructionsPage.vue:39`, `PluginsPage.vue:34`, `SystemTasksPage.vue:80`, `UpdateSettingsCard.vue:30`, `IdentityGrantsCard.vue:56`, `ui/src/org/OrgModelsPage.vue:72, 95`, `ui/src/accounts/AuthenticationPage.vue:21`, `ui/src/channels/ChannelsPage.vue:150`. Done when: the settings store exposes a loading state per kind and each page shows it until the draft or an error arrives.
sam added the mediumbug labels 2026-11-02 04:13:35 +00:00
sam self-assigned this 2026-11-02 04:13:35 +00:00
Author
Owner

Fixed in c6f70de8 and pushed. The store already tracked loading/error per kind (stateFor); new settings/KindGate.vue renders them where the form would be — skeleton while loading, ReadError with Retry on a failed read — and is wired into all 14 listed pages (Tools, SystemModels, SystemRepos, SchedulingPolicy, ContainerRuntime, OrgAlerts, Instructions, Plugins, SystemTasks, UpdateSettingsCard, IdentityGrantsCard, OrgModels, Authentication, Channels). Authentication's read is now a named load() so Retry works and its error keeps the sign-in-again link. Verified: task check passed on the committed tree.

Fixed in c6f70de8 and pushed. The store already tracked loading/error per kind (stateFor); new settings/KindGate.vue renders them where the form would be — skeleton while loading, ReadError with Retry on a failed read — and is wired into all 14 listed pages (Tools, SystemModels, SystemRepos, SchedulingPolicy, ContainerRuntime, OrgAlerts, Instructions, Plugins, SystemTasks, UpdateSettingsCard, IdentityGrantsCard, OrgModels, Authentication, Channels). Authentication's read is now a named load() so Retry works and its error keeps the sign-in-again link. Verified: task check passed on the committed tree.
Author
Owner

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

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

No dependencies set.

Reference: sam/archie#1743