Skip to content

Show inline git diff when opening modified files from git review#107

Merged
SDSLeon merged 1 commit into
masterfrom
lightcode/cosmic-pixel-8c27ecba
Jun 3, 2026
Merged

Show inline git diff when opening modified files from git review#107
SDSLeon merged 1 commit into
masterfrom
lightcode/cosmic-pixel-8c27ecba

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jun 3, 2026

Copy link
Copy Markdown
Owner
  • Open modified files from Git Review with an inline diff in the file editor so you can edit with added/removed context visible in place
  • Fetch staged/unstaged diff via the editor open path and attach it to file editor buffers for the active tab
  • Render gutter highlights and deleted-line zones in Monaco, with live updates as you type (shared line diff utilities)
  • Wire Git Review sidebar and stacked diff “open in editor” actions to request diff context for modified (M) files only

- Store git diff context on buffers and extend open-file options
- Fetch staged/unstaged diff in gitHelpers for modified files
- Add useGitDiffContribution for Monaco rails and delete zones
- Style add/delete highlights with lc-git-* CSS classes
- Pass git diff context from Git review FileRow and StackedDiff
- Export diffLineOps and DiffOp from shared lineUnifiedDiff
@vercel

vercel Bot commented Jun 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
lightcode-landing Skipped Skipped Jun 3, 2026 8:56am

@SDSLeon SDSLeon merged commit e614a71 into master Jun 3, 2026
6 checks passed
@SDSLeon SDSLeon deleted the lightcode/cosmic-pixel-8c27ecba branch June 3, 2026 09:01
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