Skip to content

feat: add DiffView component#79

Merged
meszmate merged 2 commits intomainfrom
feature/diff-viewer
Mar 31, 2026
Merged

feat: add DiffView component#79
meszmate merged 2 commits intomainfrom
feature/diff-viewer

Conversation

@meszmate
Copy link
Copy Markdown
Owner

@meszmate meszmate commented Mar 31, 2026

Summary

  • Adds DiffView component with LCS-based diff algorithm
  • Unified mode: git-style +/- prefix with line numbers
  • Side-by-side mode: old and new text in parallel columns
  • Colored additions (green), deletions (red), and context (gray)
  • Configurable labels, styles, and context lines
  • Example shows before/after code diff with mode toggle

LCS-based diff algorithm with colored additions/deletions, line
numbers, and both unified and side-by-side display modes.
@meszmate meszmate merged commit 3249589 into main Mar 31, 2026
9 checks passed
@meszmate meszmate deleted the feature/diff-viewer branch March 31, 2026 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant