Repository navigation
feat: an SVG file previews as its picture, and a click in the header shows its source - #164
Merged
Merged
Conversation
…shows its source An .svg with an <svg> tag whose size can be read previews as the picture, drawn by macOS sips like the other images that are not PNG: no new dependency, and the server's sandbox already allows it, with networking denied. The size comes from width and height (px, in, cm, mm, pt, pc) or the viewBox, so the 50-megapixel guard applies; an SVG whose size cannot be read shows its source. The preview's header names the views of a file, the one shown in bold, and a click on another picks it: Picture and Source for an SVG, a plugin's own views for its files. Next view in the tree's menu and v do the same; the SVG choice stays for the next SVG. A diff stays a diff. Closes #32 Part of #4 Co-Authored-By: Claude <noreply@anthropic.com>
nyxene
pushed a commit
that referenced
this pull request
Oct 28, 2026
Release pull request, maintained by release-please. Merging it creates the tag and a draft GitHub release; then run `scripts/publish-binary.sh vX.Y.Z` from a terminal to attach the macOS binary and publish the release. --- ## [0.19.0](v0.18.1...v0.19.0) (2026-10-28) ### Added * a PDF previews as its first page, with its page count ([#167](#167)) ([cb8322d](cb8322d)) * a tab nobody named shows what runs in it, and a space holds nine tabs ([#168](#168)) ([8b9f799](8b9f799)) * an SVG file previews as its picture, and a click in the header shows its source ([#164](#164)) ([9af1131](9af1131)) * review an agent's changes and send it comments on their lines ([#162](#162)) ([626797a](626797a)) ### Fixed * every click target shows the hand, the New space path the text cursor, and a picture goes while a window is open ([#166](#166)) ([e2838bd](e2838bd)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
An
.svgfile previews as its picture, and the preview's header names the file's views so a click switches between them.sips, like the other images that are not PNG: no new dependency, and the server's sandbox already allows it, with networking denied.widthandheight(px, in, cm, mm, pt, pc) or theviewBox, so the 50-megapixel guard applies; an SVG whose size cannot be read shows its source.vdo the same; the SVG choice stays for the next SVG. A diff stays a diff.Closes #32
Part of #4
🤖 Generated with Claude Code