feat(terminal): distraction-free mode + "Pop out" a terminal to its own tab (v0.226.0)#375
Merged
Merged
Conversation
…wn tab (v0.226.0) Two new affordances in the individual terminal's top-right toolbar: - Focus (⤢): lifts the pane to a full-viewport overlay (fixed inset-0, above the sidebar + tab strip) so nothing but the terminal is on screen. Esc or the Exit button restores the console; the pane refits via its ResizeObserver. - Pop out (↗): opens the same pane on its own at a chrome-less route #/term/<tmux> in a new browser tab — rendered outside the Console shell (slim title bar + "← Console" link, then just the terminal), reusing <TerminalFrame> and the login cookie so it's a real anchor (⌘/middle-click works). The standalone view fetches the session row too, so an ended run still shows its transcript and file-attach still works. Mirrors #/view/<id>. Verified: authed headless-browser load of #/term/<tmux> renders the standalone chrome + terminal frame; governance conformance 68/68; web + server builds green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019zMSbnPEbqSVPGLasTKENp
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.
What
Adds two ways to get an individual terminal on its own, from the terminal view's top-right toolbar:
fixed inset-0, above the sidebar + tab strip) so nothing but the terminal is on screen. Esc or the Exit button restores the console. The pane refits automatically via its existingResizeObserver.#/term/<tmux>in a fresh browser tab. Rendered outside the Console shell (a slim title bar + "← Console" link, then just the terminal), reusing<TerminalFrame>and the login cookie. It's a real anchor, so ⌘/middle-click work. The standalone view fetches the session row too, so an ended run still shows its transcript and file-attach still works.Mirrors the existing chrome-less artifact viewer (
#/view/<id>).Why
Watching a single agent work is easier without the console chrome (sidebar, tab strip, other panels) competing for attention — and popping a pane into its own tab/window lets you F11 it or park it on a second monitor.
Verification
#/term/<tmux>renders the standalone chrome + terminal frame (screenshot confirmed: slim title bar with pane name + "← Console" link, font stepper, Help, Attach file). WS attach fires as expected.npm run test:governance→ 68/68 ✓; web + server builds green.🤖 Generated with Claude Code
https://claude.ai/code/session_019zMSbnPEbqSVPGLasTKENp