Smaller dashboard state bugs (audit, accounts, settings, workflows) #1756

Closed
opened 2026-11-02 04:14:34 +00:00 by sam · 2 comments
Owner
  • ui/src/settings/VersionsCard.vue:128-134, 198: Install can be enabled when installableSnapshot() is null; the click does nothing.
  • ui/src/audit/AuditPage.vue:321, 343-347, 508-513: the retention input shows "0" (keep forever) before it has loaded.
  • ui/src/audit/AuditFilters.vue:52, 88-91: the Action field shows only the first action; committing replaces the list and drops the rest.
  • ui/src/audit/AuditPage.vue:226-229: saving a view under an existing name overwrites it without asking.
  • ui/src/accounts/AccountEntry.vue:21, 50: "Password changed" is stored in error and shown as a destructive alert.
  • ui/src/accounts/AccountPage.vue:28, AuthenticationPage.vue:20, CreateAccount.vue:24: every error offers "Sign in again", not only an expired session (classifyActionError exists).
  • ui/src/accounts/accounts.ts:11: sign-out failure is unhandled.
  • ui/src/workflows/WorkflowSettings.vue:46: an unset identity writes the seeded agent into the YAML on load, so the draft is dirty with no operator action.
  • ui/src/settings/SystemTasksPage.vue:92, 110: a duration that does not parse is dropped and the input snaps back with no message.
  • ui/src/settings/CardAccordion.vue:24: cards keyed by index, so removing one moves child state to the next.
  • ui/src/curators/CuratorsPage.vue:46-47: add() returns silently without a form.

Done when: each item behaves as the operator would expect and failures are shown.

- `ui/src/settings/VersionsCard.vue:128-134, 198`: Install can be enabled when `installableSnapshot()` is null; the click does nothing. - `ui/src/audit/AuditPage.vue:321, 343-347, 508-513`: the retention input shows "0" (keep forever) before it has loaded. - `ui/src/audit/AuditFilters.vue:52, 88-91`: the Action field shows only the first action; committing replaces the list and drops the rest. - `ui/src/audit/AuditPage.vue:226-229`: saving a view under an existing name overwrites it without asking. - `ui/src/accounts/AccountEntry.vue:21, 50`: "Password changed" is stored in `error` and shown as a destructive alert. - `ui/src/accounts/AccountPage.vue:28`, `AuthenticationPage.vue:20`, `CreateAccount.vue:24`: every error offers "Sign in again", not only an expired session (`classifyActionError` exists). - `ui/src/accounts/accounts.ts:11`: sign-out failure is unhandled. - `ui/src/workflows/WorkflowSettings.vue:46`: an unset identity writes the seeded agent into the YAML on load, so the draft is dirty with no operator action. - `ui/src/settings/SystemTasksPage.vue:92, 110`: a duration that does not parse is dropped and the input snaps back with no message. - `ui/src/settings/CardAccordion.vue:24`: cards keyed by index, so removing one moves child state to the next. - `ui/src/curators/CuratorsPage.vue:46-47`: `add()` returns silently without a form. Done when: each item behaves as the operator would expect and failures are shown.
sam added the mediumbug labels 2026-11-02 04:14:34 +00:00
sam self-assigned this 2026-11-02 04:14:34 +00:00
Author
Owner

Fixed in 93609c7a and pushed — all eleven items: Install disabled without an installable snapshot; retention hours blank until loaded; audit Action field keeps all comma-separated actions on commit; saving a view over an existing name confirms first; "Password changed" renders as a notice not a destructive alert; "Sign in again" only on session-expired errors (classifyActionError) in AccountPage/AuthenticationPage/CreateAccount; signOut surfaces its failure in the store error; the workflow identity Select shows the seeded agent as display default without dirtying the draft; unparseable durations show an inline error instead of snapping back; CardAccordion keys cards by item id; curator add() explains a no-op. Verified: task check passed on the committed tree (two type errors during iteration fixed: a paren slip and a template ref unwrap).

Fixed in 93609c7a and pushed — all eleven items: Install disabled without an installable snapshot; retention hours blank until loaded; audit Action field keeps all comma-separated actions on commit; saving a view over an existing name confirms first; "Password changed" renders as a notice not a destructive alert; "Sign in again" only on session-expired errors (classifyActionError) in AccountPage/AuthenticationPage/CreateAccount; signOut surfaces its failure in the store error; the workflow identity Select shows the seeded agent as display default without dirtying the draft; unparseable durations show an inline error instead of snapping back; CardAccordion keys cards by item id; curator add() explains a no-op. Verified: task check passed on the committed tree (two type errors during iteration fixed: a paren slip and a template ref unwrap).
Author
Owner

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

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

No dependencies set.

Reference: sam/archie#1756