Skip to content

fix(web): remove the separate chat activity mode - #254

Draft
nullStack65 wants to merge 1 commit into
release/native-0.1.10from
t3/remove-chat-activity-mode-toggle
Draft

nullStack65 wants to merge 1 commit into
release/native-0.1.10from
t3/remove-chat-activity-mode-toggle

Conversation

@nullStack65

Copy link
Copy Markdown
Owner

The chat header offered a per-thread switch between “Human conversation” and “All activity” alongside Zen. Remove that switch from both header layouts and retire its local preference. The chat now consistently uses the existing inline activity/work disclosures.

Removes the preference schema/read/write path and alternate timeline prop. Existing visibility stamps, sender filtering, actionable requests, history, and native sender links retain their existing paths. Zen's control and persistence are unchanged; old conversation-mode values remain inert and are never migrated into Zen. Removes the four retired strings from all ten web catalogs.

Requirement: CLO-1364 — retire the separate chat conversation/activity mode, decision comment 660f8ee9. Branch: t3/remove-chat-activity-mode-toggle. Sole parent: 1d87e8030dda52d154c763b204ee147d4737bc9a; head: 1c09fa4797de0f3edb32d65c526b825c80cdfb47. No base integration. PR 203 remains untouched.

Prior art

  • Keep — existing Settings → Chat → Activity → Tool calls in chat → Zen supplies quieter activity without another control or persistence layer.
  • Keep — existing collapseTimelineActivity and activity/work disclosures make history inspectable one group at a time while honoring attention and native visibility boundaries.
  • Remove — ActivityViewToggle and t3code:activity-collapsed-threads duplicate that interaction as a separate mode.
  • Reject — renaming the mode, adding another disclosure system, or migrating old overrides into Zen would preserve the unwanted concept or alter an unrelated preference.

Searched: 2026-12-01 rg -n 'ActivityViewToggle|activityCollapsed|activity-collapsed|Human conversation|All activity|collapseActivity|toolCallVisibility' apps packages qa scripts; inspected SettingsPanels, MessagesTimeline, existing feature QA, and the recorded overlap decision. Reuse existing behavior and delete the extra control/state; no dependencies added.

Validation

Commands use the already-installed Node 26.13.1 runtime.

  • vp i — passed.
  • vp build in apps/web — passed on final committed tree (40.03s).
  • vp test run apps/web/src/components/chat/MessagesTimeline.logic.test.ts apps/web/src/components/chat/MessagesTimeline.browser.test.tsx apps/web/src/components/chat/ChatHeader.browser.test.tsx — 242 passed.
  • T3_QA_REUSE=1 node qa/node_modules/playwright/cli.js test --config qa/playwright.config.ts qa/specs/20-thread.spec.ts — existing thread-feature QA: 28 passed at 1440/390 widths in light/dark. Covers header/actions, sending, approvals, questions, output disclosures, details, and find. Both legacy saved values are ignored and remain unchanged after opening/reclosing disclosures. New header/legacy assertions failed on the pinned base at both widths (4 expected failures).
  • node qa/check-map.ts --changed 1d87e8030dda52d154c763b204ee147d4737bc9a and git diff --check — passed.
  • vp run i18n:generate in apps/web — ran; retained only the four intended deletions per locale, excluding unrelated existing generation drift.
  • vp run check:changed 1d87e8030dda52d154c763b204ee147d4737bc9a --concurrency 2 — failed overall. Formatting passed; 342 tests in nine files passed; React Compiler checks passed for all three changed components. Lint reports unchanged unused screen, untranslated divider/attention copy, and an unused header suppression. Knip reports two unchanged release scripts and five unrelated server exports (AgentOutputGate, RemoteDelegation, secretRedaction). Typecheck reports nine errors in unchanged Sidebar.logic.test.ts and botOrgTree.test.ts fixtures. These lines are outside this removal diff and were left untouched.

Browser proof

Isolated synthetic Replay state: /tmp/clo-1364/qa-home; no live user database used. All times December 1, 2026 UTC. Both activity interactions used http://localhost:34191/91b6e984-b1ba-4a14-8412-c154817d5fed/mcp:333d61bf-796e-42af-8adb-1f0b94b590b0.

Client / CSS viewport Time Observed result Screenshot
Web, 1280×800 08:26:48Z No mode control; activity opens/recloses; replies/history inspectable. Visually inspected. /home/primary/.t3/userdata/browser-artifacts/browser-screenshot-localhost-mx4fo2bc-033b95e8.png
Web, 390×844 08:27:28Z Same interaction; readable narrow header/disclosures; no page horizontal overflow. Visually inspected. /home/primary/.t3/userdata/browser-artifacts/browser-screenshot-localhost-mx4fox6b-14bb345b.png
Native desktop, normal Not run No automatable Electron target is exposed on this lane. No URL or screenshot: desktop step blocked.
Native desktop, narrow Not run Same missing native target; browser width is not native desktop proof. No URL or screenshot: desktop step blocked.

Zen was selected through Settings at 08:29:41Z. Reloaded the pending-question thread with a legacy false override at 08:29:56Z: Zen remained selected and both answer options were visible. URL: http://localhost:34191/91b6e984-b1ba-4a14-8412-c154817d5fed/mcp:a7b2ad2b-ff52-4d75-aed4-97f3ce892c43. Inspected capture at 08:32:14Z: /home/primary/.t3/userdata/browser-artifacts/browser-screenshot-localhost-mx4fv1rr-33de7ef4.png.

Baseline normal/narrow captures are retained under /tmp/clo-1364/base-test-results/. Captures are machine-local, not GitHub-hosted attachments. No attachment uploader or ghdrop command is available; screenshot publication remains incomplete. The test-t3-app skill says “Do not install or switch to another automation system,” so no substitute native desktop proof is claimed.

Web and Electron share this UI; actual Electron interaction is unverified. Mobile, provider protocols, contracts, and routing implementations are unchanged. No native-mobile or remote/relay/tunnel run was performed. No independent review was requested or claimed. This PR stays draft: native desktop proof, hosted captures, and the failing repository gates remain outstanding.

The initial PR-tool attempt pushed this same branch but returned “base invalid.” Reconciled that no PR existed, verified the fork release ref, and found the default repository resolved to upstream. Corrected the forge selection to nullStack65/t3code and reused the same branch.

Deploy: fleet

No fleet or production deployment performed. No merge, ready transition, or human reviewer request.

Model: codex/gpt-6.1-sol
Task: implement
Agent: Codex
Harness: Codex in T3 Code

Model: codex/gpt-6.1-sol
Task: implement
Agent: Codex

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant