Skip to content

[Feature] Add an All changes tab showing a worktree's diff as one view - #43

Merged
KieranP merged 1 commit into
mainfrom
unnified-diff
Nov 18, 2026
Merged

KieranP merged 1 commit into
mainfrom
unnified-diff

Conversation

@KieranP

@KieranP KieranP commented Nov 14, 2026

Copy link
Copy Markdown
Owner

Closes #42

Reviewing what an agent changed across twenty files meant opening twenty file tabs and stepping through them one by one. The All changes tab shows every file in the Changes list, in its order and Modified/Branch scope, as one scrolling diff with review comments on its lines. It follows the owner's picks from the mockups on the issue.

  • Opens from a button beside the Changes filter, or tabs open-all-changes; a Changes row click shows the tab at that file, and the file at the top lights its row
  • One text with a map back to each file, so find, copy, the step arrows, tabs step/find and the rotor work on it; headers, folds and notices sit in row gaps, hosted only near the screen
  • Review cards, the composer and Send are shared with file tabs; review add reaches the tab
  • Split shows an all-added or all-removed file full width across both columns
  • Design notes: Docs/design/files/all-changes-tab.md; status and owner feedback: PROGRESS.md

Memory, measured over 1,802 changed files plus 191 added: 191 MB against 78 MB with the tab shut (1.43 GB before hosting only what is near the screen).

Known limits, queued in PROGRESS.md: in Split, find, the arrows and the rotor skip the rows of added and removed files, and Split is two locked scroll views, to be reworked as one; every file's rows are still read and held, capped at 200,000.

Tests: make test, 2,999 passing; swift format lint --strict and swiftlint clean.

🤖 Generated with Claude Code

@KieranP KieranP self-assigned this Nov 14, 2026
@KieranP
KieranP force-pushed the unnified-diff branch 16 times, most recently from e9cf884 to 5ff7cb1 Compare November 18, 2026 22:50
@KieranP
KieranP enabled auto-merge (squash) November 18, 2026 22:51
@KieranP
KieranP disabled auto-merge November 18, 2026 23:04
Reviewing what an agent changed across twenty files meant opening
twenty file tabs and stepping through them one at a time. The All
changes tab shows every file in the Changes list, in its order and
scope, as one scrolling list of diffs with review comments on their
lines. Each file is its own view, a header over its Unified or Split
diff, and only the files near the screen are read and built.

- Open it beside the Changes filter or with tabs open-all-changes
- Step, find, fold, collapse and comment across files as in a file tab
- Draw Unified and Split, in file tabs too, on one scroller over a
  canvas
- Batch each read's git runs: 300 modified files read in 0.08 s, not
  3.3 s

Closes #42

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@KieranP
KieranP enabled auto-merge (squash) November 18, 2026 23:14
@KieranP
KieranP merged commit 8d5bf15 into main Nov 18, 2026
2 checks passed
@KieranP
KieranP deleted the unnified-diff branch November 18, 2026 23:27
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.

One diff of every change in a worktree, with review comments

1 participant