fix(webui): cut tutorial and marketing prose from labels, hints, empty states and confirms

This commit is contained in:
sam committed 2026-10-13 17:37:53 +11:00
1 parent 53aeb9e07f
commit b708d7e2d0
32 files changed
+118 -130

No files matched your search

+2 -3
View File
@@ -44,19 +44,18 @@ const nothingRecorded = computed(
<Empty v-else-if="undecodable">
<EmptyHeader>
<EmptyTitle
>A change capture was recorded but could not be read</EmptyTitle
>Capture unreadable</EmptyTitle
>
</EmptyHeader>
</Empty>
<Empty v-else-if="nothingRecorded">
<EmptyHeader>
<EmptyTitle>No change capture recorded</EmptyTitle>
<EmptyTitle>No capture</EmptyTitle>
</EmptyHeader>
</Empty>
<div v-else class="flex flex-col">
<p class="mb-3 text-xs text-fg-muted">Whole attempt, not one stage.</p>
<ChangeCapture
v-for="(capture, i) in captures"
:key="`${capture.captured_at || ''}:${i}`"
+1 -1
View File
@@ -143,7 +143,7 @@ const startedAt = computed(() => {
</ol>
<Empty v-else>
<EmptyHeader>
<EmptyTitle>No stages recorded for this attempt</EmptyTitle>
<EmptyTitle>No stages</EmptyTitle>
</EmptyHeader>
</Empty>
</div>
+2 -2
View File
@@ -30,12 +30,12 @@ const copy = computed(() =>
? {
title: "Not a task id",
empty: `“${props.raw ?? ""}” is not a task id`,
detail: "A task id is a positive whole number. Nothing was requested.",
detail: "Task ids are positive whole numbers.",
}
: {
title: "Task not found",
empty: `Nothing is recorded for task ${props.raw ?? ""}`,
detail: "archied answered that this task does not exist.",
detail: "No such task.",
},
);
</script>
+3 -7
View File
@@ -151,7 +151,7 @@ const view = computed(() => {
if (state.found === false && !state.disabled) {
return {
kind: "nolog" as const,
status: "No log recorded for this attempt",
status: "No log",
};
}
// This process cannot read task logs at all. That IS about the deployment,
@@ -232,11 +232,7 @@ watch([() => route.hash, current], async () => {
<Empty v-else-if="view.kind === 'nolog'">
<EmptyHeader>
<EmptyTitle>No log recorded for this attempt</EmptyTitle>
<EmptyDescription
>This attempt produced no output, or it has not started writing
yet.</EmptyDescription
>
<EmptyTitle>No log</EmptyTitle>
</EmptyHeader>
</Empty>
@@ -244,7 +240,7 @@ watch([() => route.hash, current], async () => {
<EmptyHeader>
<EmptyTitle>No persisted log for this attempt</EmptyTitle>
<EmptyDescription
>The log service has no reader for this file.</EmptyDescription
>No reader for this file.</EmptyDescription
>
</EmptyHeader>
</Empty>
+1 -1
View File
@@ -155,7 +155,7 @@ const errorText = computed(() => {
if (error.value.kind === "session-expired")
return "Dashboard authentication is required.";
if (error.value.kind === "refused")
return `${error.value.message}. You can't do that.`;
return `${error.value.message}`;
return `${error.value.message}. Try again, or check the daemon.`;
});