Skip to content

feat(web,mobile): remove the changed-files card under assistant turns - #41317

Draft
juliusmarminge wants to merge 1 commit into
mainfrom
t3/remove-turn-changed-files-card
Draft

juliusmarminge wants to merge 1 commit into
mainfrom
t3/remove-turn-changed-files-card

Conversation

@juliusmarminge

@juliusmarminge juliusmarminge commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Problem

Every assistant turn that touched files ended with an "N changed files +X −Y / Open diff" card (web) or a "+X −Y ›" stat row (mobile). It repeats what the Diff panel and the review screen already show, and it is the main reason a turn's files-changed summary had to exist the moment the run completed. That requirement keeps a run busy during checkpoint capture, which the next layer removes.

Change

  • Web: removed ChangedFilesCard/ChangedFilesTree, the assistant row's assistantTurnDiffSummary, the timeline's onOpenTurnDiff plumbing (only the card used it), the persisted per-turn folder-expansion state in uiStateStore, and the card's T3 Chat theme CSS.
  • Mobile: removed TurnDiffStat and the checkpointSummary rows buildThreadFeed attached to assistant messages, run folds and work groups, plus the feed's checkpoint subscription.
  • client-runtime: dropped checkpointFileTotals and un-exported changedFileTotals. Nothing else uses them now.
  • i18n: removed the keys that are no longer used from every web and mobile locale. Only keys were deleted; nothing was regenerated.
  • Docs: one sentence in docs/user/source-control.md no longer says the turn's file list is grouped by repository in the chat.

These still work: the Diff panel and its turn picker, the "Open diff" button on a file-change item, rewind/restore, the mobile review screen, and the thread details "Changes" row.

The server still projects the checkpoint files data. After this PR nothing in the timeline reads it. The Diff panel, the mobile review model, rewind targets and the MCP thread read (checkpoint turn items) still do, so the data stays.

Scope

Product decision by Julius and Maria: remove the card and capture turn-end checkpoints asynchronously. This is layer 1 of 2; layer 2 changes the server.

Verification

  • vp run check:changed: format, lint, knip, typecheck (7 packages), tests (13 files) and the react compiler check all pass. vp run i18n:check passes.
  • Web, on a seeded worktree DB (thread "Build the Fastest Markdown Renderer"):
Before After
Before: the 8 changed files card sits under the last assistant reply After: the reply ends with the settled line and no card
  • Mobile: not captured on a device. The change only deletes the TurnDiffStat rows; typecheck and the feed tests cover the rest.

Model: Claude Opus 5.5 in Claude Code (T3 Code).

🤖 Generated with Claude Code

@juliusmarminge juliusmarminge changed the title t3/remove turn changed files card feat(web,mobile): remove the changed-files card under assistant turns Nov 23, 2026
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XXL 1,000+ changed lines (additions + deletions). labels Nov 23, 2026
The Diff panel, review screen and rewind stay the ways to see a turn's changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@juliusmarminge
juliusmarminge force-pushed the t3/remove-turn-changed-files-card branch from ce14228 to 8ec4601 Compare November 23, 2026 20:05

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

size:XXL 1,000+ changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant