Repository navigation
feat(client): Changes view with Only edits and In repo maps - #410
Merged
Merged
Conversation
byronwall
force-pushed
the
change-lens/map
branch
from
November 22, 2026 00:15
6097e89 to
7a336fe
Compare
…#397) The fourth view, ?view=changes. A window bar picks the window, touched or net, the map and the color lens. Only edits packs the edited chunks by folder and file, with area by changed lines and a floor. Show in repo marks the chunks on the file map. The panel and the commit rail are stand-ins in slots.tsx. ?clmock=1 answers from sample.ts until the server has /api/change-lens. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
byronwall
force-pushed
the
change-lens/map
branch
from
November 22, 2026 03:03
7a336fe to
397d687
Compare
byronwall
marked this pull request as ready for review
November 22, 2026 03:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A fourth view, Changes, beside Treemap, Graph and 2×2. It draws only the chunks a window edited, or the whole file map with untouched files muted. In this layer it runs on mock data (
?view=changes&clmock=1); #411 joins it to the real API. Part of #397.What you'll see
clmock=1, the view shows an error state until the top layer lands, because this layer's request shape is not yet joined to the server.Proof
Only edits on the mock payload: chunks grouped by folder and file, with before → after on each tile and one chunk selected.
In repo: untouched files muted, edited chunks drawn as bands, the same chunk still selected.
scripts/check.sh clientpasses with 492 tests.Limits
Stack: Change Lens, layer 3 of 4
This slice: The Changes view: window bar, both maps, lenses, legend and URL state.
Why it is its own layer: It edits three shared client files (
location.ts,TreemapHeader.tsx,Treemap.tsx) and is the largest client diff. Keeping it apart from the join keeps the fixes in #411 readable.Full story: #408
Survey moves: +5 partial traces in
clientand their stops (frontier: disconnected+36,frontier: budget-exhausted+17,frontier: unresolved-symbol+3,boundary: unproven-handoff+2,boundary: network+1,frontier: external-code-1). All come from the newclient/src/changelens/view files entering the surveyed corpus. No analysis code changed and no trace errored.🤖 Generated with Claude Code