From 47cbe2b8d3d93019171780259fee6535df624aa8 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Sun, 20 Sep 2026 23:38:57 +1000 Subject: [PATCH] fix(webui): cut redundant tails and restating descriptions from copy Empty states and card descriptions no longer explain the consequence the main clause already implies, page descriptions match between the router and the chat page-index tool, and the Appearance cards lose descriptions that restated their controls. --- internal/gateway/dashboard_tools.go | 20 ++++++++++---------- internal/webui/config_schema.go | 4 ++-- ui/src/captures/CapturesCard.vue | 2 +- ui/src/captures/CapturesHeader.vue | 2 +- ui/src/logs/logs-empty.ts | 2 +- ui/src/mappings/MappingForm.vue | 4 ++-- ui/src/mappings/state.ts | 2 +- ui/src/router/index.ts | 2 +- ui/src/settings/LifecycleCard.vue | 2 +- ui/src/settings/ModelsCard.vue | 2 +- ui/src/settings/ProvenanceCard.vue | 2 +- ui/src/settings/ReadOnlyNotice.vue | 8 ++------ ui/src/settings/SystemAppearancePage.vue | 2 +- ui/src/settings/ThemeCard.vue | 2 +- ui/src/settings/TooltipCard.vue | 2 +- ui/src/settings/UpdateStatusCard.vue | 4 ++-- ui/src/tasks/AttemptConfig.vue | 2 +- ui/src/tasks/StartNewRun.vue | 2 +- ui/src/tasks/TaskDetailNotice.vue | 2 +- ui/src/tasks/TaskLogs.vue | 2 +- ui/src/tasks/TaskRunPanels.vue | 4 ++-- 21 files changed, 35 insertions(+), 39 deletions(-) diff --git a/internal/gateway/dashboard_tools.go b/internal/gateway/dashboard_tools.go index d43ba0982..622284a2e 100644 --- a/internal/gateway/dashboard_tools.go +++ b/internal/gateway/dashboard_tools.go @@ -27,22 +27,22 @@ type DashboardPage struct { // page line and the dashboard_navigate tool both draw from it, so the agent // never points at a page it was not told about. var dashboardPages = []DashboardPage{ - {Path: "/", Label: "Dashboard", Description: "The control room: what Archie is working on, what needs you, and token spend."}, - {Path: "/tasks", Label: "Tasks", Description: "Issues Archie has picked up and where they stand: the work queue."}, - {Path: "/workflows", Label: "Workflows", Description: "The routed workflows (bootstrap, implement, tdd, feasibility) and their run history."}, + {Path: "/", Label: "Dashboard", Description: "What Archie is working on, what needs you, and token spend."}, + {Path: "/tasks", Label: "Tasks", Description: "Issues Archie has picked up, and where each one stands."}, + {Path: "/workflows", Label: "Workflows", Description: "The routed workflows and their run history."}, {Path: "/skills", Label: "Skills", Description: "The SKILL.md capabilities Archie can activate."}, - {Path: "/curators", Label: "Curators", Description: "The scheduled passes that curate Archie's memory and captures."}, + {Path: "/curators", Label: "Curators", Description: "Scheduled passes that curate Archie's memory and captures."}, {Path: "/captures", Label: "Event inspector", Description: "Captured inbound events for inspection."}, {Path: "/mappings", Label: "Field mappings", Description: "How inbound event fields map onto internal ones."}, - {Path: "/bindings", Label: "Playbook bindings", Description: "How captured events are bound to the workflows they start."}, + {Path: "/bindings", Label: "Playbook bindings", Description: "Which workflow a captured event starts."}, {Path: "/logs", Label: "Logs", Description: "The daemon log stream, filterable by level and component."}, - {Path: "/channels", Label: "Channels", Description: "Inbound chat and notification channels (e.g. Telegram) and their state."}, - {Path: "/system/status", Label: "Status", Description: "Update state, where the running configuration came from, and the daemon listen address."}, - {Path: "/system/appearance", Label: "Appearance", Description: "Dashboard theme and display preferences."}, - {Path: "/system/tasks", Label: "Task settings", Description: "Work lifecycle configuration: statuses, operator actions, and budgets."}, + {Path: "/channels", Label: "Channels", Description: "Inbound chat and notification channels, and their state."}, + {Path: "/system/status", Label: "Status", Description: "Update state, configuration sources, and the listen address."}, + {Path: "/system/appearance", Label: "Appearance", Description: "Theme and display preferences."}, + {Path: "/system/tasks", Label: "Task settings", Description: "Work lifecycle: statuses, operator actions, and budgets."}, {Path: "/system/models", Label: "Models", Description: "Model roles and the providers backing them."}, {Path: "/system/repos", Label: "Repositories", Description: "Repositories Archie watches, and their per-repo gate overrides."}, - {Path: "/system/advanced", Label: "Advanced", Description: "Identity, storage and sandboxing, and the dangerous actions."}, + {Path: "/system/advanced", Label: "Advanced", Description: "Identity, storage, sandboxing, and dangerous actions."}, } // DashboardPages returns a copy of the dashboard page registry. diff --git a/internal/webui/config_schema.go b/internal/webui/config_schema.go index 81c77fbf7..359de2996 100644 --- a/internal/webui/config_schema.go +++ b/internal/webui/config_schema.go @@ -128,7 +128,7 @@ func configFieldDescriptors() []ConfigSection { { ID: "models", Label: "Models & providers", - Description: "Which model handles each stage of work, and which LLM providers are wired up. Only the environment variable NAME is shown, never its value.", + Description: "Which model handles each stage of work. Only the environment variable NAME is shown, never its value.", Fields: []ConfigField{ {Key: "models", Label: "Model roles", Type: FieldStructured, Editable: false}, {Key: "providers", Label: "Providers", Type: FieldStructured, Editable: false}, @@ -165,7 +165,7 @@ func configFieldDescriptors() []ConfigSection { { ID: "web", Label: "Dashboard", - Description: "This dashboard's own listen address.", + Description: "This dashboard's listen address.", Fields: []ConfigField{ {Key: "web.listen", Label: "Listen address", Description: `"off" disables the dashboard.`, Type: FieldString, Editable: true, RestartRequired: true}, }, diff --git a/ui/src/captures/CapturesCard.vue b/ui/src/captures/CapturesCard.vue index b8c4360d8..a89672c3a 100644 --- a/ui/src/captures/CapturesCard.vue +++ b/ui/src/captures/CapturesCard.vue @@ -11,7 +11,7 @@ import CapturesList from "./CapturesList.vue"; Recent captures - Newest first. Headers and payloads are redacted before they are stored. + Headers and payloads are redacted before they are stored. diff --git a/ui/src/captures/CapturesHeader.vue b/ui/src/captures/CapturesHeader.vue index 2a459d6af..6f4e7674a 100644 --- a/ui/src/captures/CapturesHeader.vue +++ b/ui/src/captures/CapturesHeader.vue @@ -10,7 +10,7 @@ import CaptureStatus from "./CaptureStatus.vue";

Event inspector

-

Real inbound payloads archie has captured, most recent first.

+

Inbound payloads, most recent first.

diff --git a/ui/src/logs/logs-empty.ts b/ui/src/logs/logs-empty.ts index 37c724593..fffed4753 100644 --- a/ui/src/logs/logs-empty.ts +++ b/ui/src/logs/logs-empty.ts @@ -20,7 +20,7 @@ export function logsEmptyTitle(durableUnavailable: boolean, streamState: string) */ export function logsEmptyDetail(durableUnavailable: boolean, streamState: string): string { if (streamState === "unavailable") { - return "The daemon is not serving /api/logs/stream. Reload once it is reachable."; + return "The daemon is not serving the log stream. Reload once it is reachable."; } if (durableUnavailable) { return "This deployment keeps no durable history. Live daemon logs appear here while the page is open."; diff --git a/ui/src/mappings/MappingForm.vue b/ui/src/mappings/MappingForm.vue index 2dc5d9150..7fd52e3f0 100644 --- a/ui/src/mappings/MappingForm.vue +++ b/ui/src/mappings/MappingForm.vue @@ -37,8 +37,8 @@ function captureLabel(capture: Capture): string { const captureHint = computed(() => { if (captures.value.length) return null; return capturesEnabled.value - ? "No events have been captured yet, so there is nothing to bind against." - : "Capture is not configured on this deployment, so there is nothing to preview against."; + ? "No captured events yet." + : "Capture is not configured on this deployment."; }); diff --git a/ui/src/mappings/state.ts b/ui/src/mappings/state.ts index 91640c155..3fa434c18 100644 --- a/ui/src/mappings/state.ts +++ b/ui/src/mappings/state.ts @@ -185,7 +185,7 @@ export function selectCapture(value: string): void { current.payloadError = null; } catch { current.payload = null; - current.payloadError = "This capture's body is not valid JSON, so its fields cannot be mapped by path."; + current.payloadError = "This capture's body is not valid JSON."; } } diff --git a/ui/src/router/index.ts b/ui/src/router/index.ts index 1a9b91883..ac6d41558 100644 --- a/ui/src/router/index.ts +++ b/ui/src/router/index.ts @@ -36,7 +36,7 @@ const routes = [ { path: "/workflows", name: "workflows", component: WorkflowsPage, meta: { label: "Workflows", description: "The routed workflows and their run history.", section: "workflows" } }, { path: "/skills", name: "skills", component: SkillsPage, meta: { label: "Skills", description: "The SKILL.md capabilities Archie can activate.", section: "skills" } }, { path: "/curators", name: "curators", component: CuratorsPage, meta: { label: "Curators", description: "Scheduled passes that curate Archie's memory and captures.", section: "curators" } }, - { path: "/captures", name: "captures", component: CapturesPage, meta: { label: "Inspector", description: "Captured inbound events, as they were received.", section: "captures" } }, + { path: "/captures", name: "captures", component: CapturesPage, meta: { label: "Inspector", description: "Captured inbound events for inspection.", section: "captures" } }, { path: "/mappings", name: "mappings", component: MappingsPage, meta: { label: "Mappings", description: "How inbound event fields map onto internal ones.", section: "mappings" } }, { path: "/bindings", name: "bindings", component: BindingsPage, meta: { label: "Bindings", description: "Which workflow a captured event starts.", section: "bindings" } }, { path: "/system/status", name: "system-status", component: SystemStatusPage, meta: { label: "Status", description: "Update state, configuration sources, and the listen address.", section: "settings" } }, diff --git a/ui/src/settings/LifecycleCard.vue b/ui/src/settings/LifecycleCard.vue index e81452a1d..cb60bf390 100644 --- a/ui/src/settings/LifecycleCard.vue +++ b/ui/src/settings/LifecycleCard.vue @@ -32,7 +32,7 @@ const actions = computed(() => lifecycle.value?.actions ?? []); diff --git a/ui/src/settings/ModelsCard.vue b/ui/src/settings/ModelsCard.vue index dc2c72594..375a57290 100644 --- a/ui/src/settings/ModelsCard.vue +++ b/ui/src/settings/ModelsCard.vue @@ -13,7 +13,7 @@ import ProviderTable from "./ProviderTable.vue";