Lutra/ui/tests/editor
danny 301443db7d C3: chunk staging, unstaging and revert from the gutter and the diff viewer
- crates/vcs chunk.rs: chunks of a file (buffer text vs index, HEAD vs
  index), a minimal patch applied with git apply --cached, revert as a
  byte edit; token refusal when buffer, index or HEAD changed; CRLF
  (autocrlf and stored), no final newline, BOM, staged renames, first
  commit; binary and untracked refused. Real-git tests + property test.
- engine: git.chunks, git.stageChunk, git.unstageChunk, git.revertChunk
  (revert edits the buffer under the lock, undoable in the editor);
  cmd::git::start_then; git.lineChanges shares the vcs line diff.
- UI: chunk popup on a gutter marker click (Stage / Unstage / Revert /
  Previous / Next), hollow staged markers, vcs.showChunk, diff viewer
  hint, "partly staged" badge in the Changes window.
- Docs: G8 row, Git parity row evidence, ui-parity, architecture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 12:50:11 +01:00
..
assist H4: string and path settings controls, live completion and tooltip settings 2026-10-25 13:10:39 +01:00
autosave.test.ts M3.10: autosave and flushDirty 2026-10-20 21:01:12 +02:00
blame.test.ts M4.7: blame annotations in the editor gutter 2026-10-30 18:14:55 +01:00
bufferSync.test.ts M1.6: tabs and CodeMirror editor 2026-10-15 18:26:32 +02:00
chunkPopup.test.ts C3: chunk staging, unstaging and revert from the gutter and the diff viewer 2026-11-01 12:50:11 +01:00
EditorArea.test.ts H2: warm up first editor and modals outside the test budget 2026-10-25 13:30:57 +01:00
engineText.test.ts M2.2: PHP highlighting, syntax colour tokens and editor.reveal 2026-10-17 12:17:17 +02:00
gitGutter.test.ts C3: chunk staging, unstaging and revert from the gutter and the diff viewer 2026-11-01 12:50:11 +01:00
highlightPerf.test.ts M2.2: PHP highlighting, syntax colour tokens and editor.reveal 2026-10-17 12:17:17 +02:00
language.test.ts H2: warm up first editor and modals outside the test budget 2026-10-25 13:30:57 +01:00
lint.test.ts M3.3: engine wiring for Phpactor and diagnostics 2026-10-21 18:58:32 +02:00