From 097cc2c021c5b04af5801e28120b854225d7c3de Mon Sep 17 00:00:00 2001 From: pengzeyu Date: Mon, 26 Oct 2026 08:44:10 +0800 Subject: [PATCH] a11y: plain words for runs, turns and sessions in thread nav Jump to turn -> Jump to message, Peek run -> Peek at this task, Loading run -> Loading helper agent, spawned session -> the task started here, Stops the current turn -> Skips the waiting messages, and the model-row tooltip says task and 'not sent back' instead of run and runtime. Tests that matched the old strings follow. Fixes #339 --- frontend/components/chat/session-details-rail.test.tsx | 2 +- frontend/components/chat/session-details-rail.tsx | 2 +- frontend/components/chat/subagent-pane-body.tsx | 2 +- frontend/components/chat/subagent-pane.tsx | 6 +++--- frontend/components/chat/subagents-fold.tsx | 2 +- frontend/components/pro/queued-messages.tsx | 2 +- .../components/session-ui/message-scroller-rail.test.tsx | 2 +- frontend/components/session-ui/message-scroller-rail.tsx | 4 ++-- frontend/components/session-ui/queued-message-pill.tsx | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/frontend/components/chat/session-details-rail.test.tsx b/frontend/components/chat/session-details-rail.test.tsx index 7addf7e31..7506bc855 100644 --- a/frontend/components/chat/session-details-rail.test.tsx +++ b/frontend/components/chat/session-details-rail.test.tsx @@ -115,7 +115,7 @@ describe("SessionDetailsRail", () => { expect(html).toContain("Codex"); expect(html).toContain('data-testid="runtime-model-requested"'); expect(html).toContain(">requested<"); - expect(html).toContain("does not report which model answered"); + expect(html).toContain("not sent back"); }); test("a thread with unloaded outline turns says its plan and totals are partial", () => { diff --git a/frontend/components/chat/session-details-rail.tsx b/frontend/components/chat/session-details-rail.tsx index a3c268be4..f20c35f81 100644 --- a/frontend/components/chat/session-details-rail.tsx +++ b/frontend/components/chat/session-details-rail.tsx @@ -95,7 +95,7 @@ export function SessionDetailsRail({ rail says so instead of presenting the request as a fact. */} {engineDisplayLabel(newest.engine)} ยท {modelLabel(newest.model, newest.engine)}{" "} diff --git a/frontend/components/chat/subagent-pane-body.tsx b/frontend/components/chat/subagent-pane-body.tsx index 0cc754512..45d170978 100644 --- a/frontend/components/chat/subagent-pane-body.tsx +++ b/frontend/components/chat/subagent-pane-body.tsx @@ -73,7 +73,7 @@ export default function SubagentPaneBody({ if (!run) { return ( - + ); } diff --git a/frontend/components/chat/subagent-pane.tsx b/frontend/components/chat/subagent-pane.tsx index 056dc7954..12baa9a9f 100644 --- a/frontend/components/chat/subagent-pane.tsx +++ b/frontend/components/chat/subagent-pane.tsx @@ -123,7 +123,7 @@ const SubagentPaneBody = dynamic(() => import("@/components/chat/subagent-pane-b ssr: false, loading: () => ( - + ), }); @@ -155,7 +155,7 @@ export function SubagentPane() { return createPortal(