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
@@ -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">
|
||||
|
||||
@@ -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" />
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user