Snapshot capture: camera-only mode + UI icons → WebP#418
Merged
Conversation
Snapshot/preset capture is for framing a thumbnail, not editing, so it should only move the camera: - gate the selection manager, transform handles, floating menus, and the tool manager (which renders the site boundary flags) behind isCaptureMode, so clicking the scene no longer selects items or shows editing controls - hide zone meshes and the HTML zone tags while capturing - force 3D on entry (the 2D/split floorplan panes render nothing useful for a thumbnail) and restore the prior view mode on exit Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The editor's /icons assets were ~10MB of oversized PNGs (a single toolbar icon up to 1.4MB). Convert every non-PWA icon to WebP (quality 92) and repoint all /icons/*.png references to .webp across packages/editor, packages/nodes, and apps/editor. PWA/platform icons (apple-touch-icon, icon-192, icon-512) stay PNG. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
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.
Two independent changes from a community/studio/snapshot pass, split into two commits.
1.
feat(editor): snapshot capture is camera-onlySnapshot/preset capture (the "save to catalog" thumbnail flow) is for framing a shot, not editing. While capturing:
isCaptureMode. Clicking the scene no longer selects items.2.
perf(editor): UI icons PNG → WebPThe
/iconsassets were ~10MB of oversized PNGs (one toolbar icon was 1.4MB). Every non-PWA icon inapps/editor/public/iconsis converted to WebP (quality 92), and all/icons/*.pngreferences acrosspackages/editor,packages/nodes, andapps/editorare repointed to.webp. PWA/platform icons (apple-touch-icon,icon-192,icon-512) stay PNG.Testing
tsc --noEmitclean forpackages/editor..webpicons + PWA.pngserve 200; old.pngpaths 404 (refs migrated); no leftover non-PWA/icons/*.pngreferences.🤖 Generated with Claude Code