feat(vscode): render images in diff viewer - #11258
Merged
Merged
Conversation
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (46 files)
Previous Review Summaries (2 snapshots, latest commit 148b324)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 148b324)Status: No Issues Found | Recommendation: Merge OverviewThis PR adds image diff rendering to the Agent Manager's DiffPanel and the FullScreenDiffView. Image files are recognized by extension, their binary content is loaded lazily when the diff accordion is opened, and before/after panes display as side-by-side Key design decisions that are well-executed:
Files Reviewed (41 files)
Fix these issues in Kilo Cloud Previous reviewStatus: No Issues Found | Recommendation: Merge Files Reviewed (27 files)
Reviewed by deepseek-v4-pro-20260423 · 109,448 tokens Review guidance: REVIEW.md from base branch |
marius-kilocode
enabled auto-merge
June 15, 2026 14:19
chrarnoldus
approved these changes
Jun 17, 2026
NJ-2020
pushed a commit
to NJ-2020/kilocode
that referenced
this pull request
Jul 4, 2026
…1258) Co-authored-by: Brendan Allan <git@brendonovich.dev>
t7tran
pushed a commit
to t7tran/kilocode
that referenced
this pull request
Aug 14, 2026
…1258) Co-authored-by: Brendan Allan <git@brendonovich.dev>
t7tran
pushed a commit
to t7tran/kilocode
that referenced
this pull request
Aug 14, 2026
feat(vscode): render images in diff viewer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Image changes currently appear as binary entries, so reviews cannot show what changed without leaving the diff viewer.
Render supported image formats directly in the standalone Changes viewer and Agent Manager review surfaces. Modified images show labeled Before and After previews, while added and deleted images show only the available side. Image details load lazily, use bounded payloads, and preserve cached data until the underlying image changes.
Opening an image now delegates to VS Code so its built-in image preview or another registered custom editor handles the file. Binary session snapshots remain explicitly unavailable when the backend did not retain their bytes, while text-backed SVG snapshots can still be reconstructed.
Before:


After: