Repository navigation
feat(client): Change Lens review panel components - #409
Merged
Merged
Conversation
ReviewBuckets, ChunkInspector, HunkDiff and CommitRail take data through props only. A small unified diff parser, a compressed rail time scale and touch-strip placement are pure and tested. client/panel-harness.html mounts all four on a hand-made sample payload in dev. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paired lines mark changed words with a token LCS instead of a prefix and suffix trim. Lines that share less than half their text get no marks, since they were rewritten. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
byronwall
force-pushed
the
change-lens/panel
branch
from
November 22, 2026 03:03
fd67a87 to
71bf249
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.
Four review components for the Changes view: the review lists, the chunk inspector, the hunk diff, and the commit rail. They take data through props only. The app does not mount them until #411. Part of #397.
What you'll see
client/panel-harness.html, shows all four components on sample data.Proof
The commit rail, the review lists, the inspector with base → head metrics and touch marks, and the hunk diff with word highlights.
A 280px panel: long names cut short and nothing overflows.
A reverted chunk says that it was changed and put back.
pnpm typecheckandpnpm test(476 passed, 9 new for the diff parser, the rail scale, list order and touch placement). On the top of the stack,scripts/check.sh clientpasses with 492 tests.Limits
Stack: Change Lens, layer 2 of 4
This slice: The review panel components, their pure helpers and tests, and a dev harness.
Why it is its own layer: They are props-only and touch no shared file, so the diff reads alone. The map layer above mounts them.
Full story: #408
Survey moves: +3 partial traces in
clientand their stops (frontier: disconnected+11,boundary: unproven-handoff+5,frontier: untraced+3). All come from the newclient/src/changelens/panel/files entering the surveyed corpus. No analysis code changed and no trace errored.🤖 Generated with Claude Code