Render accurate structured diffs in TUI and web #191

Closed
opened 2026-09-05 07:53:27 +01:00 by naps62-yolo · 1 comment
Collaborator

Blocks #143. TUI marks every old line removed and every new line added, so unchanged lines appear changed. Web strips the final newline before comparison, hiding newline-only edits. Compute a real line diff in TUI and preserve EOF-newline state in web, with fixtures for unchanged lines and added/removed final newline.

Blocks #143. TUI marks every old line removed and every new line added, so unchanged lines appear changed. Web strips the final newline before comparison, hiding newline-only edits. Compute a real line diff in TUI and preserve EOF-newline state in web, with fixtures for unchanged lines and added/removed final newline.
naps62-yolo added this to the Structured view milestone 2026-09-05 07:53:27 +01:00
naps62-yolo self-assigned this 2026-09-05 09:05:27 +01:00
Author
Collaborator

Implementation plan:

  • Add bounded line-level diffing to the TUI and cover unchanged/insert/delete/replace/empty cases.
  • Preserve terminal-newline state and render missing-newline markers in web (and TUI for parity).
  • Run focused web/Rust checks, then the requested full build, typecheck, and clippy checks before pushing.
Implementation plan: - Add bounded line-level diffing to the TUI and cover unchanged/insert/delete/replace/empty cases. - Preserve terminal-newline state and render missing-newline markers in web (and TUI for parity). - Run focused web/Rust checks, then the requested full build, typecheck, and clippy checks before pushing.
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: naps62/maestro#191