From db8652da6c442e236829677cdea1ae4a35a477ba Mon Sep 17 00:00:00 2001 From: Kameron Smith Date: Tue, 1 Dec 2026 12:39:46 -0500 Subject: [PATCH 1/2] fix(web): retire the conversation/activity mode from the chat header (CLO-1364) The header's Human conversation / All activity toggle kept a second, per-thread mode in t3code:activity-collapsed-threads, separate from the existing Zen setting. The timeline is now one timeline: agent, automation and system activity stays in the inline expandable disclosures, and Zen (Settings, Activity, Tool calls in chat) stays the quiet tool-activity control. Stored per-thread values are left where they are and are no longer read or written. The pre-commit hook's knip:check fails on the release base itself (1d87e8030dda) with two unused files it already ships, .github/scripts/set-mobile-version.cjs and set-release-version.cjs, so the hook cannot pass for any change here. Verified by running knip:check on the base with this change stashed. Formatting and lint of these files were run separately. Model: grok/grok-4.7 Task: bugfix Agent: Claude Code Harness: Claude Code Model-family: Grok (runtime model label) Model-generation: 4.7 (runtime model label) Skills-SHA: 69b1226be5fc9a8f5cb3cd19e6a3752bc3b582a5; github-repository-ops/SKILL.md; installed identity unverified Co-Authored-By: Claude Code --- apps/web/src/components/ChatView.tsx | 25 +---------- apps/web/src/components/chat/ChatHeader.tsx | 48 --------------------- apps/web/src/i18n/translations/de.json | 4 -- apps/web/src/i18n/translations/en.json | 4 -- apps/web/src/i18n/translations/es.json | 4 -- apps/web/src/i18n/translations/fr.json | 4 -- apps/web/src/i18n/translations/ja.json | 4 -- apps/web/src/i18n/translations/ko.json | 4 -- apps/web/src/i18n/translations/pt-BR.json | 4 -- apps/web/src/i18n/translations/ru.json | 4 -- apps/web/src/i18n/translations/sv.json | 4 -- apps/web/src/i18n/translations/zh.json | 4 -- 12 files changed, 1 insertion(+), 112 deletions(-) diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsx index 94e56ad63f2cd..7518d39953865 100644 --- a/apps/web/src/components/ChatView.tsx +++ b/apps/web/src/components/ChatView.tsx @@ -427,8 +427,6 @@ import { makeThreadErrorSetter, } from "./ChatView.logic"; -const activityCollapsedThreadsSchema = Schema.NullOr(Schema.Record(Schema.String, Schema.Boolean)); - const EMPTY_SEEN_MESSAGES: ReadonlyArray = []; const EMPTY_PROVIDERS: ServerProvider[] = []; const ACTIVE_RUN_STATUSES: ReadonlySet = new Set([ @@ -2006,22 +2004,6 @@ export default function ChatView(props: ChatViewProps) { selectThreadPanelOpen(state.threadPanelVisibilityByThreadKey, activeThreadRef, "inline"), ); const isStandingBot = activeStanding !== null; - const [activityCollapsedThreads, setActivityCollapsedThreads] = useLocalStorage( - "t3code:activity-collapsed-threads", - null, - activityCollapsedThreadsSchema, - ); - const activityCollapsed = - activeThreadKey === null || - activityCollapsedThreads === null || - activityCollapsedThreads[activeThreadKey] !== false; - const toggleActivityCollapsed = () => { - if (activeThreadKey === null) return; - setActivityCollapsedThreads((stored) => ({ - ...stored, - [activeThreadKey]: !activityCollapsed, - })); - }; // oxlint-disable-next-line t3code/no-unreasoned-state-sync -- folds a bot's details card (branch, worktree, PR) the first time this client shows that bot; the panel toggle reopens it and that choice persists useEffect(() => { if (!isStandingBot || !activeThreadRef || !activeThreadKey) return; @@ -3769,11 +3751,6 @@ export default function ChatView(props: ChatViewProps) { {...(threadFindEnabled ? { onFindInThread: openThreadFindStable } : {})} standing={activeStanding} botAvatarState={activeBotAvatarState} - activityCollapsed={ - isServerThread && activeThreadKey !== null - ? { on: activityCollapsed, onToggle: toggleActivityCollapsed } - : null - } /> )} @@ -3831,7 +3808,7 @@ export default function ChatView(props: ChatViewProps) { entriesInput={timelineEntriesInput} draftEntries={isServerThread ? null : draftTimelineEntries} activeThreadKey={activeThreadKey} - collapseActivity={activityCollapsed} + collapseActivity unseenDivider={unseenDivider} includeOtherActivity={isStandingBot} decisionRequestedAt={ diff --git a/apps/web/src/components/chat/ChatHeader.tsx b/apps/web/src/components/chat/ChatHeader.tsx index 70a6179864cf5..52a4c2ea2891f 100644 --- a/apps/web/src/components/chat/ChatHeader.tsx +++ b/apps/web/src/components/chat/ChatHeader.tsx @@ -65,11 +65,6 @@ interface ChatHeaderProps { standing?: ThreadStanding | null | undefined; /** Drives the bot avatar's motion in the header; idle when absent. */ botAvatarState?: BotAvatarState | undefined; - /** - * Collapse agent, automation and system activity, or null when the thread has - * no toggle. A standing thread passes it. - */ - activityCollapsed?: { readonly on: boolean; readonly onToggle: () => void } | null | undefined; } function resolveRenameCommit(input: { @@ -97,7 +92,6 @@ export const ChatHeader = memo(function ChatHeader({ onFindInThread, standing, botAvatarState, - activityCollapsed = null, }: ChatHeaderProps) { const gt = useGT(); const activeProjectName = activeProject?.isScratch ? gt("No project") : activeProject?.title; @@ -300,7 +294,6 @@ export const ChatHeader = memo(function ChatHeader({ ) : null} - {isServerThread ? : null} ); @@ -469,47 +462,6 @@ export const ChatHeader = memo(function ChatHeader({ {isServerThread ? : null} - ); }); - -/** - * Switches the timeline between the founder's conversation and everything that - * happened in the thread. Absent when the thread has nothing to collapse. - */ -function ActivityViewToggle({ - collapsed, -}: { - collapsed: { readonly on: boolean; readonly onToggle: () => void } | null; -}) { - const gt = useGT(); - if (collapsed === null) return null; - const label = collapsed.on ? gt("Human conversation") : gt("All activity"); - return ( - - - } - > - {label} - - - {collapsed.on - ? gt("Agent, automation and system updates are collapsed. Click to show everything.") - : gt("Showing everything. Click to keep only your messages and the replies to them.")} - - - ); -} diff --git a/apps/web/src/i18n/translations/de.json b/apps/web/src/i18n/translations/de.json index 88dc82c44c919..caeb45d0aa2e8 100644 --- a/apps/web/src/i18n/translations/de.json +++ b/apps/web/src/i18n/translations/de.json @@ -3485,10 +3485,6 @@ "890c34762a621a66": "Übergeordneten Thread öffnen: {title}", "7514746d2bd43a1c": "Thread-Titel", "ab42a6d2ab6073d9": "Thread-Aktionen für {title}", - "15996382e99119d3": "Human conversation", - "339ee12600085fde": "All activity", - "1af5644d639848d5": "Agent, automation and system updates are collapsed. Click to show everything.", - "a6643567147e574a": "Showing everything. Click to keep only your messages and the replies to them.", "cd8fd5a47060164b": [ "Neuer Thread in ", { diff --git a/apps/web/src/i18n/translations/en.json b/apps/web/src/i18n/translations/en.json index 6dacbbc09af0a..ee56cf2863c13 100644 --- a/apps/web/src/i18n/translations/en.json +++ b/apps/web/src/i18n/translations/en.json @@ -3484,10 +3484,6 @@ "890c34762a621a66": "Open parent thread: {title}", "7514746d2bd43a1c": "Thread title", "ab42a6d2ab6073d9": "Thread actions for {title}", - "15996382e99119d3": "Human conversation", - "339ee12600085fde": "All activity", - "1af5644d639848d5": "Agent, automation and system updates are collapsed. Click to show everything.", - "a6643567147e574a": "Showing everything. Click to keep only your messages and the replies to them.", "cd8fd5a47060164b": [ "New thread in ", { diff --git a/apps/web/src/i18n/translations/es.json b/apps/web/src/i18n/translations/es.json index 6002bb2f67202..c2a9156f4b6e8 100644 --- a/apps/web/src/i18n/translations/es.json +++ b/apps/web/src/i18n/translations/es.json @@ -3484,10 +3484,6 @@ "890c34762a621a66": "Abrir el hilo principal: {title}", "7514746d2bd43a1c": "Título del hilo", "ab42a6d2ab6073d9": "Acciones del hilo {title}", - "15996382e99119d3": "Human conversation", - "339ee12600085fde": "All activity", - "1af5644d639848d5": "Agent, automation and system updates are collapsed. Click to show everything.", - "a6643567147e574a": "Showing everything. Click to keep only your messages and the replies to them.", "cd8fd5a47060164b": [ "Nuevo hilo en ", { diff --git a/apps/web/src/i18n/translations/fr.json b/apps/web/src/i18n/translations/fr.json index 5cbe3aa89deb2..4925f50d9c9c8 100644 --- a/apps/web/src/i18n/translations/fr.json +++ b/apps/web/src/i18n/translations/fr.json @@ -3484,10 +3484,6 @@ "890c34762a621a66": "Ouvrir le fil parent : {title}", "7514746d2bd43a1c": "Titre du fil", "ab42a6d2ab6073d9": "Actions du fil {title}", - "15996382e99119d3": "Human conversation", - "339ee12600085fde": "All activity", - "1af5644d639848d5": "Agent, automation and system updates are collapsed. Click to show everything.", - "a6643567147e574a": "Showing everything. Click to keep only your messages and the replies to them.", "cd8fd5a47060164b": [ "Nouveau fil dans ", { diff --git a/apps/web/src/i18n/translations/ja.json b/apps/web/src/i18n/translations/ja.json index 5400f6de43ab3..db1e23a6fa72e 100644 --- a/apps/web/src/i18n/translations/ja.json +++ b/apps/web/src/i18n/translations/ja.json @@ -3482,10 +3482,6 @@ "890c34762a621a66": "親スレッドを開く: {title}", "7514746d2bd43a1c": "スレッドのタイトル", "ab42a6d2ab6073d9": "{title} のスレッド操作", - "15996382e99119d3": "Human conversation", - "339ee12600085fde": "All activity", - "1af5644d639848d5": "Agent, automation and system updates are collapsed. Click to show everything.", - "a6643567147e574a": "Showing everything. Click to keep only your messages and the replies to them.", "cd8fd5a47060164b": [ { "i": 1, diff --git a/apps/web/src/i18n/translations/ko.json b/apps/web/src/i18n/translations/ko.json index 722c9dfa778c0..7d1b99636855c 100644 --- a/apps/web/src/i18n/translations/ko.json +++ b/apps/web/src/i18n/translations/ko.json @@ -3482,10 +3482,6 @@ "890c34762a621a66": "상위 스레드 열기: {title}", "7514746d2bd43a1c": "스레드 제목", "ab42a6d2ab6073d9": "{title} 스레드 작업", - "15996382e99119d3": "Human conversation", - "339ee12600085fde": "All activity", - "1af5644d639848d5": "Agent, automation and system updates are collapsed. Click to show everything.", - "a6643567147e574a": "Showing everything. Click to keep only your messages and the replies to them.", "cd8fd5a47060164b": [ { "i": 1, diff --git a/apps/web/src/i18n/translations/pt-BR.json b/apps/web/src/i18n/translations/pt-BR.json index 5907cfa450de2..8b34cf5d7a52d 100644 --- a/apps/web/src/i18n/translations/pt-BR.json +++ b/apps/web/src/i18n/translations/pt-BR.json @@ -3484,10 +3484,6 @@ "890c34762a621a66": "Abrir a thread principal: {title}", "7514746d2bd43a1c": "Título da thread", "ab42a6d2ab6073d9": "Ações da thread {title}", - "15996382e99119d3": "Human conversation", - "339ee12600085fde": "All activity", - "1af5644d639848d5": "Agent, automation and system updates are collapsed. Click to show everything.", - "a6643567147e574a": "Showing everything. Click to keep only your messages and the replies to them.", "cd8fd5a47060164b": [ "Nova thread em ", { diff --git a/apps/web/src/i18n/translations/ru.json b/apps/web/src/i18n/translations/ru.json index 34a9f25966295..f5c4afa06ba9a 100644 --- a/apps/web/src/i18n/translations/ru.json +++ b/apps/web/src/i18n/translations/ru.json @@ -3484,10 +3484,6 @@ "890c34762a621a66": "Открыть родительский тред: {title}", "7514746d2bd43a1c": "Название треда", "ab42a6d2ab6073d9": "Действия с тредом «{title}»", - "15996382e99119d3": "Human conversation", - "339ee12600085fde": "All activity", - "1af5644d639848d5": "Agent, automation and system updates are collapsed. Click to show everything.", - "a6643567147e574a": "Showing everything. Click to keep only your messages and the replies to them.", "cd8fd5a47060164b": [ "Новый тред в ", { diff --git a/apps/web/src/i18n/translations/sv.json b/apps/web/src/i18n/translations/sv.json index 52b210b22497f..ae018de82b99c 100644 --- a/apps/web/src/i18n/translations/sv.json +++ b/apps/web/src/i18n/translations/sv.json @@ -3484,10 +3484,6 @@ "890c34762a621a66": "Öppna överordnad tråd: {title}", "7514746d2bd43a1c": "Trådtitel", "ab42a6d2ab6073d9": "Trådåtgärder för {title}", - "15996382e99119d3": "Human conversation", - "339ee12600085fde": "All activity", - "1af5644d639848d5": "Agent, automation and system updates are collapsed. Click to show everything.", - "a6643567147e574a": "Showing everything. Click to keep only your messages and the replies to them.", "cd8fd5a47060164b": [ "Ny tråd i ", { diff --git a/apps/web/src/i18n/translations/zh.json b/apps/web/src/i18n/translations/zh.json index 48ea59011d21d..802dce776a738 100644 --- a/apps/web/src/i18n/translations/zh.json +++ b/apps/web/src/i18n/translations/zh.json @@ -3488,10 +3488,6 @@ "890c34762a621a66": "打开父会话:{title}", "7514746d2bd43a1c": "会话标题", "ab42a6d2ab6073d9": "{title} 的会话操作", - "15996382e99119d3": "Human conversation", - "339ee12600085fde": "All activity", - "1af5644d639848d5": "Agent, automation and system updates are collapsed. Click to show everything.", - "a6643567147e574a": "Showing everything. Click to keep only your messages and the replies to them.", "cd8fd5a47060164b": [ "在 ", { From a680050fcae333728f1e01fe958e4034bd17078f Mon Sep 17 00:00:00 2001 From: nullStack65 <112618179+nullStack65@users.noreply.github.com> Date: Tue, 1 Dec 2026 19:18:59 +0000 Subject: [PATCH 2/2] fix(qa): describe the single timeline in the header and timeline feature entries (CLO-1364) The feature map gate requires a change to ChatHeader.tsx and ChatView.tsx to update an owning entry. thread.header now says the header has no conversation/activity toggle, and timeline.messages says activity stays in the inline expandable strips of one timeline. Model: grok/grok-4.7 Task: bugfix Agent: Claude Code Harness: Claude Code Model-family: Grok (runtime model label) Model-generation: 4.7 (runtime model label) Skills-SHA: 69b1226be5fc9a8f5cb3cd19e6a3752bc3b582a5; github-repository-ops/SKILL.md; installed identity unverified Co-Authored-By: Claude Code Co-Authored-By: Claude Opus 5.5 --- qa/features.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qa/features.ts b/qa/features.ts index c50bdc690d4b0..98666b2483aed 100644 --- a/qa/features.ts +++ b/qa/features.ts @@ -126,7 +126,8 @@ export const FEATURES: ReadonlyArray = [ "expect the breadcrumb with project and title", "open Thread actions", ], - success: "Breadcrumb names the project and thread; the actions menu opens.", + success: + "Breadcrumb names the project and thread; the actions menu opens. The header has no conversation/activity toggle; Zen in Settings is the only tool-activity control.", code: [`${C}chat/ChatHeader.tsx`], }), f({ @@ -141,7 +142,7 @@ export const FEATURES: ReadonlyArray = [ "expect the agent reply", ], success: - "User messages render with their text and the agent updates strip expands to the replies.", + "User messages render with their text and the agent updates strip expands to the replies. There is one timeline: agent, automation and system activity stays in the inline expandable strips.", code: [ `${C}chat/MessagesTimeline.tsx`, `${C}chat/MessagesTimeline.logic.ts`,