Skip to content

feat(terminal): distraction-free mode + "Pop out" a terminal to its own tab (v0.226.0)#375

Merged
vikasprogrammer merged 1 commit into
mainfrom
feat/terminal-fullscreen
Jul 16, 2026
Merged

feat(terminal): distraction-free mode + "Pop out" a terminal to its own tab (v0.226.0)#375
vikasprogrammer merged 1 commit into
mainfrom
feat/terminal-fullscreen

Conversation

@vikasprogrammer

Copy link
Copy Markdown
Owner

What

Adds two ways to get an individual terminal on its own, from the terminal view's top-right toolbar:

  • Focus (⤢) — distraction-free mode: 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 automatically via its existing ResizeObserver.
  • Pop out (↗) — opens the same pane on its own at a new chrome-less route #/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

  • Authed headless-browser load of #/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.
  • The console-side Pop out/Focus buttons reuse the same conditional-render path as the verified Attach/Files buttons and are correctly hidden in standalone mode.
  • npm run test:governance → 68/68 ✓; web + server builds green.

🤖 Generated with Claude Code

https://claude.ai/code/session_019zMSbnPEbqSVPGLasTKENp

…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
@vikasprogrammer
vikasprogrammer merged commit c0805bb into main Jul 16, 2026
1 check passed
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.

1 participant