feat(renderer): ImageViewerPane with zoom, pan, and metadata#60
Merged
feat(renderer): ImageViewerPane with zoom, pan, and metadata#60
Conversation
This was referenced Mar 19, 2026
- Add FILE_READ_BINARY IPC channel to load images as base64 via main process - Create ImageViewerPane component with checkerboard background, fit-to-window default, scroll wheel zoom, double-click toggle fit/100%, click-drag pan, floating toolbar (hover), status bar with filename/dimensions/file size, and keyboard shortcuts (0=fit, +/-=zoom) - Replace image placeholder in PaneGrid with ImageViewerPane - Fix pre-existing unused variable warning in StarCommandTab Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
5b272d6 to
c14c97b
Compare
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.
Summary
ImageViewerPanecomponent replacing the Mission 1 placeholder forpaneType: 'image'panesFILE_READ_BINARYIPC channel (constants + main handler + preload) to load image files as base64 blob URLs — works in both dev and production modeFeatures
+/-keys, floating toolbar buttons0key resets to fit-to-windowTest plan
0resets to fit,+/-zoom in/outnpm run buildpasses ✅🤖 Generated with Claude Code