Skip to content

feat: add DiffView component - #79

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

meszmate merged 2 commits into
mainfrom
feature/diff-viewer

Conversation

@meszmate

@meszmate meszmate commented Mar 31, 2026 •

Copy link
Copy Markdown
Owner

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