Skip to content

feat: fullscreen mode for the simulation viewport - #415

Merged
andeplane merged 2 commits into
mainfrom
feat/viewport-fullscreen
Aug 15, 2026
Merged

feat: fullscreen mode for the simulation viewport#415
andeplane merged 2 commits into
mainfrom
feat/viewport-fullscreen

Conversation

@andeplane

Copy link
Copy Markdown
Owner

Adds a fullscreen toggle to the run viewport (top-right, translucent button):

  • Uses the native Fullscreen API on the viewport element; Esc exits as usual
  • Falls back to a fixed in-app overlay (position: fixed; inset: 0) when the API is unavailable or denied, with its own Esc handler and a synthetic resize nudge for the canvas
  • The script name/progress overlay and the toggle remain visible while expanded

Fixes #410

🤖 Generated with Claude Code

andeplane and others added 2 commits August 15, 2026 21:55
A toggle in the viewport's top-right corner expands the 3D view to fill
the screen via the Fullscreen API, falling back to a fixed in-app
overlay (Esc exits both). The script/progress overlay and the toggle
stay visible in fullscreen.

Fixes #410

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Review fixes: native fullscreen's top layer hides everything outside
the viewport (run-screen chrome, antd toasts), so a Stop button now
renders inside the fullscreened viewport for live runs, and fullscreen/
immersive mode exits automatically when the live run finishes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@andeplane
andeplane merged commit 85378fb into main Aug 15, 2026
2 checks passed
@andeplane
andeplane deleted the feat/viewport-fullscreen branch August 15, 2026 20:36
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.

Full screen mode for the simulation viewport

1 participant