Skip to content

fix(browser): maximize the browser preview over the whole app window#2440

Merged
Vaibhaav-Tiwari merged 2 commits into
AgentWrapper:mainfrom
aprv10:fix/browser-maximize-full-area
Jul 8, 2026
Merged

fix(browser): maximize the browser preview over the whole app window#2440
Vaibhaav-Tiwari merged 2 commits into
AgentWrapper:mainfrom
aprv10:fix/browser-maximize-full-area

Conversation

@aprv10

@aprv10 aprv10 commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

The browser preview's "maximize" button (the pop-out toggle in the toolbar) used to swap the preview into the terminal's ResizablePanel, so it only covered the center column (~72% width) and left the inspector rail, sidebar, and topbar visible. That's not a real maximize.

This renders the maximized preview as a fixed overlay portaled to , so it escapes the shell layout and covers the whole app window — sidebar and topbar included. Because it sits outside any resizable panel, the native WebContentsView is no longer clamped to a single column and fills the entire window. Exit via the same toolbar button (now a minimize icon) to return to the rail.

The terminal now stays mounted behind the overlay instead of being torn down and remounted on restore. Also updated the inspector's now-stale "in the center pane" copy to "maximized" and the pop-out test to match.
Screenshot 2026-07-05 220648

@Vaibhaav-Tiwari Vaibhaav-Tiwari merged commit 9cda5d4 into AgentWrapper:main Jul 8, 2026
2 checks passed
@aprv10 aprv10 deleted the fix/browser-maximize-full-area branch July 8, 2026 22:21
f1uke pushed a commit to f1uke/agent-orchestrator that referenced this pull request Jul 10, 2026
…gentWrapper#2440)

Cherry-picked from upstream 9cda5d4, conflict-resolved for main-fluke.

Adopts AgentWrapper#2440's full-window maximize: when the browser is popped out it now
renders as a fixed .browser-popout-overlay portaled to <body> (covering the
sidebar + topbar), instead of main-fluke's previous in-column BrowserPanelView
inside the 72% terminal ResizablePanel. This escapes the [data-panel] column so
the native WebContentsView is no longer clamped and fills the whole window.

main-fluke's own SessionView additions are preserved: the fileView (FileDiffView)
branch and CenterPane's `directory` prop are kept; only the in-column pop-out
branch is dropped in favor of the portal overlay.

Behavior change (intended, per AgentWrapper#2440 + user confirmation): popping the browser
out now covers the entire app window rather than just the terminal column.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

2 participants