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

+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"