Dashboard: failed reads show as empty (chat, command palette, denials, mappings, channels, sources) #1733

Closed
opened 2026-11-02 04:12:24 +00:00 by sam · 1 comment
Owner

A failed request becomes "nothing here" in these views:

  • ui/src/chat/state.ts:263-270, ChatTranscript.vue:93-96: a failed conversation load shows the "start a conversation" invitation. The error goes to statusText, which renders inside the settings popover.
  • ui/src/components/command-palette/CommandPalette.vue:51-60: failed task or workflow reads remove those groups.
  • ui/src/audit/DenialsPage.vue:48-59: with an error and no rows, the DataTable's empty slot says "No denials recorded" under the error.
  • ui/src/mappings/state.ts:146-151, MappingForm.vue:53-58: a failed captures read says "No captured events yet."; event types silently empty.
  • ui/src/channels/ChannelsPage.vue:93-98: a failed status read clears every state badge.
  • ui/src/sources/SourcesPanel.vue:94-101, use-sources.ts:24-36: a failed read shows nothing except the write-failure alert; zero sources has no empty state either.

Done when: each view shows a read error with Retry where the data would be, and the empty state appears only after a successful read.

A failed request becomes "nothing here" in these views: - `ui/src/chat/state.ts:263-270`, `ChatTranscript.vue:93-96`: a failed conversation load shows the "start a conversation" invitation. The error goes to `statusText`, which renders inside the settings popover. - `ui/src/components/command-palette/CommandPalette.vue:51-60`: failed task or workflow reads remove those groups. - `ui/src/audit/DenialsPage.vue:48-59`: with an error and no rows, the DataTable's empty slot says "No denials recorded" under the error. - `ui/src/mappings/state.ts:146-151`, `MappingForm.vue:53-58`: a failed captures read says "No captured events yet."; event types silently empty. - `ui/src/channels/ChannelsPage.vue:93-98`: a failed status read clears every state badge. - `ui/src/sources/SourcesPanel.vue:94-101`, `use-sources.ts:24-36`: a failed read shows nothing except the write-failure alert; zero sources has no empty state either. Done when: each view shows a read error with Retry where the data would be, and the empty state appears only after a successful read.
sam added the highbug labels 2026-11-02 04:12:24 +00:00
sam self-assigned this 2026-11-02 04:12:24 +00:00
Author
Owner

Fixed in 5bf0a696 — all six views now show a read error with Retry where the data would be, and the empty state only after a successful read. Chat: failed conversation load renders in the transcript (sessionError + Retry) instead of statusText in the settings popover. Command palette: failed task/workflow reads become a "Couldn't load … — Retry" item in that group. Denials: the table's empty slot no longer renders under an error. Mapping form: failed captures/event-types reads show an error row with Retry, not "No captured events yet." or a silent select. Channels: a failed status read keeps the last badges and shows an error with Retry. Sources: read failures are split from write failures (loadError, with Retry) and a loaded-but-empty list gets an Empty state. Verified: task check passed on the committed tree.

Fixed in 5bf0a696 — all six views now show a read error with Retry where the data would be, and the empty state only after a successful read. Chat: failed conversation load renders in the transcript (sessionError + Retry) instead of statusText in the settings popover. Command palette: failed task/workflow reads become a "Couldn't load … — Retry" item in that group. Denials: the table's empty slot no longer renders under an error. Mapping form: failed captures/event-types reads show an error row with Retry, not "No captured events yet." or a silent select. Channels: a failed status read keeps the last badges and shows an error with Retry. Sources: read failures are split from write failures (loadError, with Retry) and a loaded-but-empty list gets an Empty state. Verified: task check passed on the committed tree.
sam closed this issue 2026-11-06 11:34:50 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1733