fix(webui): shorten route descriptions, setup steps, alerts and panel errors
This commit is contained in:
1 parent
8a1e07f93e
commit
cd983c7877
19 files changed
+78
-79
No files matched your search
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user