Skip to content

Fix the fullscreen console and portal CarbonModal - #367

Merged
athNdev merged 1 commit into
mainfrom
fix/fullscreen-console
Nov 6, 2026
Merged

athNdev merged 1 commit into
mainfrom
fix/fullscreen-console

Conversation

@athNdev

@athNdev athNdev commented Nov 6, 2026

Copy link
Copy Markdown
Owner

Problem

The fullscreen server console was visibly broken: the fixed overlay rendered inside <main>, so the app header and sidebar painted over it, the main scroll container clipped it, and the page's tab strip bled through mid-log. The "fullscreen" body was also a stripped-down reader: no status, toolbar, or command input.

Reproduced on the seeded review stack at 1440x900 and 1128x980.

Fix

  • CarbonModal now portals its overlay to <body> (the same strategy bits-ui dialogs use), locks background scroll, and guards backdrop wheel events. Adds fullscreen (edge-to-edge, no padding) and bare (surface owns its chrome) modes with a visually hidden title for screen readers.
  • The console has one shared pane snippet rendered inline and in fullscreen: status header, refresh/upload/download/clear, filter with match count, log stream, command input, auto-scroll, tail and line count. The fullscreen header adds the server name, an explicit exit toggle and a close button; Escape closes and focus returns to the inline expand button.
  • Log lines use word wrapping instead of break-all so long paths no longer split mid-token.

Validation

  • bun run check 0 errors/warnings; 160 tests pass (new CarbonModal portal and console-parity tests).
  • Playwright on the seeded stack: dialog 1440x900 / 1128x980 / 360x800 / 768x900, no horizontal overflow, Send visible, filter works, clear-confirm stacks above the console, command send round-trips, Escape restores the inline pane.
  • Console journey plan now covers fullscreen open/close and the command bar.
  • Knowledge lint passes.

CarbonModal rendered its fixed overlay inside main, so the app header and sidebar painted over it and the scroll container clipped it. Portal every dialog to body and add fullscreen/bare modes for surfaces that own the viewport.

The fullscreen console now renders the same pane as the inline console, keeping status, toolbar, filtering, the command bar, auto-scroll and tail controls. Escape and the close button return to the inline pane.
@athNdev
athNdev merged commit fcfc1c9 into main Nov 6, 2026
11 checks passed
@athNdev
athNdev deleted the fix/fullscreen-console branch November 6, 2026 18:32
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