Lutra/ui/tests/vcs
danny 8360ffc2e2 M4.3: side-by-side diff viewer with next/previous change
vcs.showDiff {path?, staged?} (Mod+Alt+Shift+D) opens a "Diff: <name>"
tab in the editor area: @codemirror/merge (MIT, loaded lazily, 27 kB /
9.7 kB gzip), with the index (or HEAD for the staged view) read-only on
the left, line breaks normalised to LF, and the working copy on the right,
editable through its normal engine buffer. vcs.nextChange (Alt+Shift+])
and vcs.previousChange (Alt+Shift+[) move between chunks. Binary, too
large, failed and deleted files show a notice. Entry points: the Changes
window, a new project tree context menu (Open, Show Diff; right click or
Shift+F10) and the palette/menu. Colours come from the --lt-vcs-* tokens.
21 Vitest tests; parity docs updated (Git 6% -> 8%, est.).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:44:56 +01:00
..
ChangesToolWindow.test.ts M4.2: Lutra-own shortcuts for the Changes window 2026-10-25 17:35:39 +01:00
DiffView.test.ts M4.3: side-by-side diff viewer with next/previous change 2026-10-26 17:44:56 +01:00
vcsStatus.test.ts M4.4: Git gutter change markers and status colours in tree and tabs 2026-10-25 17:40:30 +01:00