From c4e5affb8e9fcc7785873f5ea5ca4386c4c4ee3e Mon Sep 17 00:00:00 2001 From: chasemarshall Date: Sun, 5 Apr 2026 22:19:34 -0500 Subject: [PATCH 1/2] Rename "Chat" to "Code" in interaction mode toggle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit T3 Code is a coding agent, not a chatbot — the default mode label should reflect that. --- apps/web/src/components/ChatView.browser.tsx | 8 ++++---- apps/web/src/components/ChatView.tsx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/web/src/components/ChatView.browser.tsx b/apps/web/src/components/ChatView.browser.tsx index a727b89ea3..02483f52cf 100644 --- a/apps/web/src/components/ChatView.browser.tsx +++ b/apps/web/src/components/ChatView.browser.tsx @@ -866,7 +866,7 @@ async function expectComposerActionsContained(): Promise { } async function waitForInteractionModeButton( - expectedLabel: "Chat" | "Plan", + expectedLabel: "Code" | "Plan", ): Promise { return waitForElement( () => @@ -2096,7 +2096,7 @@ describe("ChatView timeline estimator parity (full app)", () => { }); try { - const initialModeButton = await waitForInteractionModeButton("Chat"); + const initialModeButton = await waitForInteractionModeButton("Code"); expect(initialModeButton.title).toContain("enter plan mode"); window.dispatchEvent( @@ -2109,7 +2109,7 @@ describe("ChatView timeline estimator parity (full app)", () => { ); await waitForLayout(); - expect((await waitForInteractionModeButton("Chat")).title).toContain("enter plan mode"); + expect((await waitForInteractionModeButton("Code")).title).toContain("enter plan mode"); const composerEditor = await waitForComposerEditor(); composerEditor.focus(); @@ -2142,7 +2142,7 @@ describe("ChatView timeline estimator parity (full app)", () => { await vi.waitFor( async () => { - expect((await waitForInteractionModeButton("Chat")).title).toContain("enter plan mode"); + expect((await waitForInteractionModeButton("Code")).title).toContain("enter plan mode"); }, { timeout: 8_000, interval: 16 }, ); diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsx index aeab2d083a..91d27bd49d 100644 --- a/apps/web/src/components/ChatView.tsx +++ b/apps/web/src/components/ChatView.tsx @@ -4290,7 +4290,7 @@ export default function ChatView({ threadId }: ChatViewProps) { > - {interactionMode === "plan" ? "Plan" : "Chat"} + {interactionMode === "plan" ? "Plan" : "Code"} From 37c0b1a1577dcd7c75ed01fcfa8c17e8e63f6a6b Mon Sep 17 00:00:00 2001 From: chasemarshall Date: Sun, 5 Apr 2026 22:22:24 -0500 Subject: [PATCH 2/2] Update tooltip and slash command to say "code mode" instead of "chat mode" --- apps/web/src/components/ChatView.browser.tsx | 2 +- apps/web/src/components/ChatView.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/src/components/ChatView.browser.tsx b/apps/web/src/components/ChatView.browser.tsx index 02483f52cf..32c2be218a 100644 --- a/apps/web/src/components/ChatView.browser.tsx +++ b/apps/web/src/components/ChatView.browser.tsx @@ -2125,7 +2125,7 @@ describe("ChatView timeline estimator parity (full app)", () => { await vi.waitFor( async () => { expect((await waitForInteractionModeButton("Plan")).title).toContain( - "return to normal chat mode", + "return to normal code mode", ); }, { timeout: 8_000, interval: 16 }, diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsx index 91d27bd49d..7f320f9b3d 100644 --- a/apps/web/src/components/ChatView.tsx +++ b/apps/web/src/components/ChatView.tsx @@ -1476,7 +1476,7 @@ export default function ChatView({ threadId }: ChatViewProps) { type: "slash-command", command: "default", label: "/default", - description: "Switch this thread back to normal chat mode", + description: "Switch this thread back to normal code mode", }, ] satisfies ReadonlyArray>; const query = composerTrigger.query.trim().toLowerCase(); @@ -4284,7 +4284,7 @@ export default function ChatView({ threadId }: ChatViewProps) { onClick={toggleInteractionMode} title={ interactionMode === "plan" - ? "Plan mode — click to return to normal chat mode" + ? "Plan mode — click to return to normal code mode" : "Default mode — click to enter plan mode" } >