Fix patch webview asset resolution in source checkouts#111
Merged
unknowIfGuestInDream merged 5 commits intoJul 3, 2026
Conversation
Closed
3 tasks
Copilot
AI
changed the title
[WIP] Fix empty visualization in patch content
Fix patch webview asset resolution in source checkouts
Jul 3, 2026
unknowIfGuestInDream
marked this pull request as ready for review
July 3, 2026 02:45
Update changelog for version 1.0.2 release. Signed-off-by: 梦里不知身是客 <liang.tang.cx@gmail.com>
unknowIfGuestInDream
deleted the
copilot/bug-fix-empty-patch-visualization
branch
July 3, 2026 02:46
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.
Email-style patch files could open with a blank visual view even though the patch content itself was valid. The issue was not diff parsing; the webview could fail to load
diff2htmlassets when running from a fresh clone or local source checkout without copiedmediaassets.Runtime asset resolution
diff2htmlassets frommedia/diff2htmlwhen packaged assets are present.node_modules/diff2html/bundlesfor local development and test runs.Focused regression coverage
mediaassets win when presentnode_modulesis used whenmediaassets are absenttry/finallyto keep test cleanup deterministic.Changelog
Unreleased.