Repository navigation
Fix the fullscreen console and portal CarbonModal - #367
Merged
Merged
Conversation
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.
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.
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
CarbonModalnow portals its overlay to<body>(the same strategy bits-ui dialogs use), locks background scroll, and guards backdrop wheel events. Addsfullscreen(edge-to-edge, no padding) andbare(surface owns its chrome) modes with a visually hidden title for screen readers.break-allso long paths no longer split mid-token.Validation
bun run check0 errors/warnings; 160 tests pass (new CarbonModal portal and console-parity tests).