fix(webui): shorten route descriptions, setup steps, alerts and panel errors

This commit is contained in:
sam committed 2026-10-13 18:10:39 +11:00
1 parent 8a1e07f93e
commit cd983c7877
19 files changed
+78 -79

No files matched your search

+21 -22
View File
@@ -58,7 +58,7 @@ const routes = [
component: TasksPage,
meta: {
label: "Tasks",
description: "Issues Archie has picked up, and where each one stands.",
description: "Picked-up issues and their status.",
},
},
{
@@ -73,7 +73,7 @@ const routes = [
component: WorkflowsPage,
meta: {
label: "Workflows",
description: "The routed workflows and their run history.",
description: "Workflows and run history.",
section: "workflows",
},
},
@@ -85,7 +85,7 @@ const routes = [
navPath: "/settings",
settings: true,
label: "Skills",
description: "The SKILL.md capabilities Archie can activate.",
description: "Skills Archie can activate.",
section: "skills",
},
},
@@ -97,7 +97,7 @@ const routes = [
navPath: "/settings",
settings: true,
label: "Curators",
description: "Scheduled passes that curate Archie's memory and captures.",
description: "Scheduled memory and capture curation.",
section: "curators",
},
},
@@ -108,7 +108,7 @@ const routes = [
meta: {
label: "Events",
description:
"Captured inbound events, how their fields map, and which workflow they start.",
"Captured events, field mappings, workflow bindings.",
},
},
{
@@ -130,7 +130,7 @@ const routes = [
component: LogsPage,
meta: {
label: "Logs",
description: "The daemon log stream, filterable by level and component.",
description: "Daemon log by level and component.",
section: "logs",
},
},
@@ -152,7 +152,7 @@ const routes = [
navPath: "/settings",
settings: true,
label: "Task execution",
description: "Work lifecycle: statuses, operator actions, and budgets.",
description: "Statuses, operator actions, budgets.",
section: "settings",
},
},
@@ -164,7 +164,7 @@ const routes = [
navPath: "/settings",
settings: true,
label: "Models",
description: "Model roles and the providers backing them.",
description: "Model aliases and providers.",
section: "settings",
},
},
@@ -177,7 +177,7 @@ const routes = [
settings: true,
label: "Repositories",
description:
"Repositories Archie watches, and their per-repo gate overrides.",
"Watched repositories and gate overrides.",
section: "settings",
},
},
@@ -239,7 +239,7 @@ const routes = [
navPath: "/settings",
settings: true,
label: "Channels",
description: "Inbound chat and notification channels, and their state.",
description: "Chat and notification channels.",
section: "channels",
},
},
@@ -251,7 +251,7 @@ const routes = [
navPath: "/settings",
settings: true,
label: "Personas",
description: "The system prompts chat runs under, and the default.",
description: "Chat system prompts and the default.",
section: "settings",
},
},
@@ -263,7 +263,7 @@ const routes = [
navPath: "/settings",
settings: true,
label: "SOUL",
description: "Archie's user-authored identity and tone.",
description: "Archie's identity and tone.",
section: "settings",
},
},
@@ -275,7 +275,7 @@ const routes = [
navPath: "/settings",
settings: true,
label: "Schedules",
description: "Work Archie starts on its own, on a timetable.",
description: "Timetabled work.",
section: "settings",
},
},
@@ -287,7 +287,7 @@ const routes = [
navPath: "/settings",
settings: true,
label: "Scheduling policy",
description: "How Archie finds work and labels its state on the forge.",
description: "Work discovery and forge labels.",
section: "settings",
},
},
@@ -299,7 +299,7 @@ const routes = [
navPath: "/settings",
settings: true,
label: "Review",
description: "How Archie reviews pull requests: precision filtering and operator approval before posting.",
description: "Pull request review: precision filter and approval.",
section: "settings",
},
},
@@ -311,7 +311,7 @@ const routes = [
navPath: "/settings",
settings: true,
label: "Tools & MCP",
description: "The tools agents can call, and the MCP servers that add more.",
description: "Agent tools and MCP servers.",
section: "settings",
},
},
@@ -323,7 +323,7 @@ const routes = [
navPath: "/settings",
settings: true,
label: "Extensions",
description: "Installed extensions and their grants.",
description: "Installed extensions and grants.",
section: "settings",
},
},
@@ -335,7 +335,7 @@ const routes = [
navPath: "/settings",
settings: true,
label: "Plugins",
description: "Where extension directories are loaded from.",
description: "Extension directories loaded at startup.",
section: "settings",
},
},
@@ -343,7 +343,7 @@ const routes = [
path: "/settings/secret-engines",
name: "settings-secret-engines",
component: SecretEnginesPage,
meta: { navPath: "/settings", settings: true, label: "Secret engines", description: "Available secret engines.", section: "settings" },
meta: { navPath: "/settings", settings: true, label: "Secret engines", section: "settings" },
},
{
path: "/settings/container-runtime",
@@ -353,7 +353,6 @@ const routes = [
navPath: "/settings",
settings: true,
label: "Container runtime",
description: "The containers agents run in.",
section: "settings",
},
},
@@ -384,7 +383,7 @@ const routes = [
navPath: "/settings",
settings: true,
label: "Harness",
description: "OAuth credential bindings and the Kit setup terminal.",
description: "OAuth credential bindings and setup terminal.",
section: "settings",
},
},
@@ -396,7 +395,7 @@ const routes = [
navPath: "/settings",
settings: true,
label: "History",
description: "Every settings change: who made it, when, and what it was before.",
description: "Settings changes: who, when, previous value.",
section: "settings",
},
},
+1 -1
View File
@@ -95,7 +95,7 @@ const pullPolicy = computed({
<DraftHint :kind="KIND" path="max_uptime" />
</div>
</SettingRow>
<SettingRow label="Volume retention" for="cr-ttl" hint="Volume retention.">
<SettingRow label="Volume retention" for="cr-ttl">
<div class="flex flex-wrap items-center gap-3">
<DurationInput id="cr-ttl" v-model="runtime.volume_ttl" :units="['h']" />
<DraftHint :kind="KIND" path="volume_ttl" />
+1 -1
View File
@@ -104,7 +104,7 @@ async function save() {
<p
v-if="needsRestart"
class="rounded-md border border-warn/40 bg-warn-soft px-3 py-2 text-sm text-warn"
>Some changes apply after restart.</p>
>Restart required for some changes.</p>
<p
v-if="invalid.length"
class="rounded-md border border-danger/40 bg-danger-soft px-3 py-2 text-sm text-danger"
+1 -1
View File
@@ -153,7 +153,7 @@ const eyebrow = "mb-1 text-[11px] font-medium tracking-[0.06em] text-fg-subtle u
</SettingRow>
<SettingRow
label="Allow private networks"
hint="Reaches this host's dashboard and Docker API."
hint="Host dashboard and Docker API access."
:tone="tools.web_fetch.allow_private_networks ? 'danger' : 'default'"
>
<div class="flex flex-wrap items-center gap-3">
+1 -1
View File
@@ -38,7 +38,7 @@ const nothingRecorded = computed(
<PanelError
v-else-if="state === null"
title="Could not load this attempt's changed files"
detail="archied did not answer for this attempt. Live updates will try again when the daemon reconnects."
detail="No response. Retries on reconnect."
/>
<Empty v-else-if="undecodable">
+1 -1
View File
@@ -34,7 +34,7 @@ async function copy(): Promise<void> {
size="icon-sm"
class="absolute top-2 right-2 z-10 opacity-0 focus-visible:opacity-100 group-hover/json:opacity-100 group-focus-within/json:opacity-100"
:aria-label="copyError ? 'Copy failed. Retry copying output' : copied ? 'Copied output' : 'Copy output'"
:title="copyError ? 'Could not copy output. Click to retry.' : copied ? 'Copied' : 'Copy output'"
:title="copyError ? 'Copy failed. Retry.' : copied ? 'Copied' : 'Copy output'"
@click="copy"
>
<TriangleAlert v-if="copyError" class="size-4 text-danger" />
+2 -2
View File
@@ -100,7 +100,7 @@ const startedAt = computed(() => {
<PanelError
v-else-if="state === null"
title="Could not load this task's attempts"
detail="archied did not answer for this task's run history. Live updates will try again when the daemon reconnects."
detail="No response. Retries on reconnect."
/>
<template v-else>
<Empty v-if="!attempts.length">
@@ -113,7 +113,7 @@ const startedAt = computed(() => {
<EmptyHeader>
<EmptyTitle>Attempt {{ run.attemptNumber }} is not recorded</EmptyTitle>
<EmptyDescription
>This task recorded attempt
>Recorded attempts:
{{ attempts.map((a) => a.attempt).join(", ") }}.</EmptyDescription
>
</EmptyHeader>
+2 -2
View File
@@ -358,7 +358,7 @@ function requestFromMenu(id: string) {
</DialogHeader>
<div class="flex flex-col gap-2">
<Label for="review-instructions"
>What should the reviewers focus on?</Label
>Review focus</Label
>
<Textarea
id="review-instructions"
@@ -389,7 +389,7 @@ function requestFromMenu(id: string) {
<DialogContent class="sm:max-w-lg">
<DialogHeader>
<DialogTitle>Retry this task?</DialogTitle>
<DialogDescription>Choose where the retry starts.</DialogDescription>
<DialogDescription>Retry from</DialogDescription>
</DialogHeader>
<RadioGroupRoot
v-model="retryMode"
+1 -1
View File
@@ -41,7 +41,7 @@ const rows = computed(() => failingStages(props.stages));
<EmptyHeader>
<EmptyTitle>No failures recorded</EmptyTitle>
<EmptyDescription
>Every stage has completed cleanly so far.</EmptyDescription
>No failures.</EmptyDescription
>
</EmptyHeader>
</Empty>
+2 -2
View File
@@ -130,7 +130,7 @@ const scopedLogs = computed(() => logs.value ? { ...logs.value, entries: (logs.v
<p v-else-if="group.agents.length" class="text-xs text-muted-foreground">{{ group.agents.reduce((sum, agent) => sum + agent.tokens_used, 0).toLocaleString() }} tokens recorded</p>
</section>
<section v-if="suppressed.length" class="space-y-1">
<h3 class="text-xs font-medium text-muted-foreground" title="This was a test run, so these writes were skipped">Skipped in test run</h3>
<h3 class="text-xs font-medium text-muted-foreground">Skipped in test run</h3>
<ul class="divide-y divide-border rounded-md border border-border">
<li v-for="(event, i) in suppressed" :key="i" class="px-3 py-2 text-xs break-words whitespace-pre-wrap">{{ event.detail }}</li>
</ul>
@@ -141,7 +141,7 @@ const scopedLogs = computed(() => logs.value ? { ...logs.value, entries: (logs.v
<ChangeCapture v-for="(capture, i) in captures" :key="i" :capture="capture" :task="task" />
</section>
<section class="space-y-2">
<h3 class="text-xs font-medium text-muted-foreground">Log <span title="Only lines tagged with this stage are shown">· stage-tagged lines</span></h3>
<h3 class="text-xs font-medium text-muted-foreground">Log <span>· stage-tagged lines</span></h3>
<TaskLogs :state="scopedLogs" :attempt="attempt" :filterable="false" />
</section>
</div>
+1 -1
View File
@@ -57,7 +57,7 @@ const CHANGE_VARIANTS = { added: "default", edited: "secondary", removed: "destr
<div class="flex items-center gap-2">
<Tabs v-model="mode"><TabsList><TabsTrigger value="yaml">YAML</TabsTrigger><TabsTrigger value="canvas">Canvas</TabsTrigger></TabsList></Tabs>
<span class="text-xs text-muted-foreground">{{ identical ? "Same as the current definition" : "Compared with the current definition" }}</span>
<Button type="button" size="sm" variant="outline" class="ml-auto" :disabled="then === null || identical" :title="then === null ? 'This revision removed the workflow' : undefined" @click="emit('restore', then!)">
<Button type="button" size="sm" variant="outline" class="ml-auto" :disabled="then === null || identical" :title="then === null ? 'Workflow removed' : undefined" @click="emit('restore', then!)">
<RotateCcw data-icon="inline-start" /> Restore this version</Button>
</div>
<p v-if="then === null" class="rounded-lg border border-border p-4 text-sm text-muted-foreground">Workflow removed in this revision.</p>
+2 -2
View File
@@ -178,11 +178,11 @@ function setNeeds(next: { captures?: boolean; gate_retries?: number }): void {
<div class="text-xs font-medium text-muted-foreground">Run needs</div>
<div class="divide-y divide-border rounded-md border border-border">
<label class="flex min-h-10 items-center gap-3 px-3 py-1.5">
<span class="flex-1 text-[13px]" title="A stage returns structured output through capture tools.">Captures</span>
<span class="flex-1 text-[13px]">Captures</span>
<Switch :model-value="needs.captures === true" @update:model-value="setNeeds({ ...needs, captures: $event || undefined })" />
</label>
<label class="flex min-h-10 items-center gap-3 px-3 py-1.5">
<span class="flex-1 text-[13px]" title="The largest gate-retry budget any stage declares.">Gate retries</span>
<span class="flex-1 text-[13px]">Gate retries</span>
<Input
type="number"
min="0"