Skip to content

fix(app): restore image diffs in Changes - #26

Merged
Itsnotaka merged 1 commit into
mainfrom
daniel/fix-diff-panel
Aug 4, 2026
Merged

Itsnotaka merged 1 commit into
mainfrom
daniel/fix-diff-panel

Conversation

@Itsnotaka

@Itsnotaka Itsnotaka commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Restores image previews in the Changes panel after the OpenCode cutover removed the former GitImageView path.

Expanded JPG, PNG, GIF, WebP, AVIF, BMP, ICO, TIFF, and SVG rows now read the current file through the existing OpenCode file API and render it inside the diff card. Collapsed rows do not fetch file bytes, and the preview payload is released when the row closes. Text patches and deleted-file behavior are unchanged.

Validation:

  • focused Changes resource and image-preview tests, 11 passing
  • app production build
  • frontend startup review unchanged at 105 eager modules and 869.9 KiB
  • React Doctor reports no new diagnostics
  • affected oxlint and formatting checks

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@cursor

cursor Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
honk-marketing Building Building Preview Aug 4, 2026 8:39pm

Request Review

@Itsnotaka
Itsnotaka merged commit d5a9a2a into main Aug 4, 2026
3 of 5 checks passed
Itsnotaka added a commit that referenced this pull request Aug 6, 2026
@Itsnotaka
Itsnotaka deleted the daniel/fix-diff-panel branch August 6, 2026 05:46

This branch was successfully deployed

1 active deployment
Preview — 14cd5ed2 Deployed Aug 4, 2026 by vercel[bot]
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