fix(webui): attention vocabulary no longer addresses a single user

This commit is contained in:
sam committed 2026-10-13 17:42:11 +11:00
1 parent b708d7e2d0
commit 39de0e2ac5
20 files changed
+24 -24

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ export interface OperatorAlert {
/** Most urgent first, as the list groups them. */
export const SEVERITY_GROUPS: { severity: AlertSeverity; label: string }[] = [
{ severity: "action", label: "Needs you" },
{ severity: "action", label: "Needs attention" },
{ severity: "warning", label: "Warnings" },
{ severity: "info", label: "Info" },
];
+1 -1
View File
@@ -30,7 +30,7 @@ function meta(task: AttentionTask): string {
<template>
<Card v-if="waiting.length">
<CardHeader>
<CardTitle>Needs you</CardTitle>
<CardTitle>Needs attention</CardTitle>
<CardAction>
<Button variant="ghost" size="sm" as-child><RouterLink to="/tasks?status=needs_you">All tasks</RouterLink></Button>
</CardAction>
+1 -1
View File
@@ -29,7 +29,7 @@ const total = computed(() => Object.values(counts.value).reduce((a, b) => a + b,
const cells = computed(() => [
{ label: "Working now", value: counts.value.running || 0, sub: `${counts.value.queued || 0} waiting to start` },
{
label: "Needs you",
label: "Needs attention",
value: attention.value,
sub: attention.value ? "Parked or awaiting a reply" : "Nothing is blocked",
tone: attention.value ? ("warn" as const) : undefined,
+1 -1
View File
@@ -4,6 +4,6 @@ const tasks = (n: number) => (n === 1 ? "1 task" : `${n} tasks`);
export function headline(running: number, attention: number): { running: string; attention: string } {
return {
running: running ? `${tasks(running)} running` : "Nothing is running",
attention: attention ? `${tasks(attention)} need${attention === 1 ? "s" : ""} you` : "Nothing needs you",
attention: attention ? `${tasks(attention)} need${attention === 1 ? "s" : ""} attention` : "Nothing needs attention",
};
}
+1 -1
View File
@@ -38,7 +38,7 @@ export const DEFAULT_STATUSES: StatusMeta[] = [
{ id: "running", label: "Running", kind: "info" },
{
id: "waiting_human",
label: "Waiting for you",
label: "Waiting on operator",
kind: "warn",
needs_you: true,
},
+1 -1
View File
@@ -307,7 +307,7 @@ export async function confirmDelete(): Promise<void> {
export function actionErrorTitle(kind: MappingErrorKind): string {
switch (kind) {
case "session-expired":
return "Your session expired";
return "Session expired";
case "refused":
return "archied refused that";
case "incomplete":
+2 -2
View File
@@ -49,7 +49,7 @@ const routes = [
meta: {
label: "Dashboard",
description:
"What Archie is working on, what needs you, and token spend.",
"Running work, work needing attention, token spend.",
},
},
{
@@ -186,7 +186,7 @@ const routes = [
component: OrgShell,
meta: {
label: "Org",
description: "Your org: members, agents, workspaces, access and tokens.",
description: "Members, agents, workspaces, access, tokens.",
navPath: "/org",
},
children: [
+1 -1
View File
@@ -79,7 +79,7 @@ const taskRuntime = seconds("max_task_runtime_seconds");
<SelectContent>
<SelectItem value="info">Info</SelectItem>
<SelectItem value="warning">Warning</SelectItem>
<SelectItem value="action">Needs you</SelectItem>
<SelectItem value="action">Needs attention</SelectItem>
</SelectContent>
</Select>
<DraftHint :kind="POLICY" path="notify_min_severity" />
+1 -1
View File
@@ -59,7 +59,7 @@ function selectStatus(value: unknown) {
<SelectContent>
<SelectGroup>
<SelectItem :value="ALL_STATUSES">All statuses</SelectItem>
<SelectItem value="needs_you">Needs you</SelectItem>
<SelectItem value="needs_you">Needs attention</SelectItem>
<SelectItem
v-for="entry in statusList()"
:key="entry.id"
+1 -1
View File
@@ -71,7 +71,7 @@ const label = computed(() => statusLabel(props.task.status ?? ""));
const kind = computed(() => statusKind(props.task.status ?? ""));
const parkClassLabels: Record<string, string> = {
needs_human: "needs you",
needs_human: "needs attention",
transient: "transient",
terminal: "terminal",
};
+1 -1
View File
@@ -181,7 +181,7 @@ const rate = (deliveredRuns = 0, total = 0) => (total ? deliveredRuns / total :
<AlertDialogContent>
<AlertDialogHeader>
<AlertDialogTitle>Restore shipped workflows?</AlertDialogTitle>
<AlertDialogDescription>Every shipped workflow is reset to its default, discarding edits to it. Your own workflows are kept.</AlertDialogDescription>
<AlertDialogDescription>Every shipped workflow is reset to its default, discarding edits to it. Custom workflows are kept.</AlertDialogDescription>
</AlertDialogHeader>
<AlertDialogFooter>
<AlertDialogCancel>Cancel</AlertDialogCancel>