Repository navigation
feat(view3d): view toolbar, toggles and shortcuts on the PuzlWerk main view (A3) - #80
Conversation
FACES button list, face-letter and arrow-key shortcuts, toggle labels and the pitch/yaw reading of a display orientation, with the labels, steps and limits of the existing toolbar. A test ties the viewer's presets to the existing view's angles. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…n view Behind the flag the main view gets the FACES presets, the Stickerless, Auto-rotate and Move layers toggles and the face-letter and arrow-key shortcuts of the existing toolbar, driving the stage through setViewPreset, setDisplayOrientation, setAppearance, setAutoRotate and the interaction mode. The lock switches play and view mode without rebuilding the shown state; the seam setting reaches the play target. The CUBE group, the move history and the sound toggle need app state and are not part of this change. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Review: CLEAR head=4e61ef525e2eda93d56e4c8e7d4bc99a31f9e765 patch-id=318e50ba82cf176a9c9368bccc431b43fa7d8b46 pr=80 |
Architecture/merge gate inherited from A1 — 2026-11-19This A3 PR is the non-Draft stack tip, stacked on #79 and #78. “Blocker: none” in the description refers to local implementation/review findings; it does not clear the project-level M1/M2 gate. See the specific architecture note on stack root #78, CubeAssembler #29, and binding Cubistry #21. The owner allowed a Draft comparison/migration spike, not an automatic main-view rollout or permanent old/new flag. Until explicit owner scope/merge acceptance is documented, keep this stack reviewable but do not infer merge approval from technical CLEAR, CI or the merged capture-preview spike #64. Existing view and tests remain intact. Documentation only; no implementation/merge. |
Package A3 of the main-view migration (stacked on A2, #79): behind
?viewer=puzlwerkthe main 3D view gets FACES, Stickerless, Auto-rotate, Move layers and the keyboard shortcuts, driving the viewer's setters. The default view is unchanged. Refs #29,docs/viewer-migration-inventory.md(G5, G6, G8, G9).Changes
puzlwerkBars.ts(pure): FACES list, face-letter keys, arrow-key steps (0.2 rad, pole limit), toggle labels of the existing toolbar.puzlwerkToolbar.tsx: markup and classes of the existing toolbar.puzlwerkCubeView.tsx:setViewPreset,setDisplayOrientation,setAppearance(default on, cookie),setAutoRotate(cookie), lock via interaction mode (cookie).puzlwerkPlay.ts: the lock keeps the shown state;seamWidereaches the play target;applyConstructionretries onBusy.Gaps
setAppearanceanswersBusywhile a state loads; the app retries per frame. Presets leave the zoom unchanged (the existing Isometric also resets it). No idle signal (G9).Tests
puzlwerkBars.test.ts: 7 pass, 5 mutations fail; includes viewer presets againstfacePresetandisometricAngles.main-view-bars.spec.ts: 9 pass, 13 mutations fail. With hints, flag, viewer-spike: 27 pass.git diff --check: 0 findings.puzlwerkCubeView780.13 to 783.91 kB (flag only); default path unchanged.Stack: restacks 0, heavy runs 0. Merge only with the whole stack, in order feat(view3d): main view on the PuzlWerk viewer behind a flag (A1) #78, feat(view3d): overlay hints and layer play on the PuzlWerk main view (A2) #79, feat(view3d): view toolbar, toggles and shortcuts on the PuzlWerk main view (A3) #80.
Blocker: none. Merge order: #78, #79, then this PR.
No session links.
🤖 Generated with Claude Code