Skip to content

Fit takeover notices to content and match the session banner - #353

Merged
Brian Krabach (bkrabach) merged 2 commits into
mainfrom
polish/compact-takeover-banner
Sep 20, 2026
Merged

Brian Krabach (bkrabach) merged 2 commits into
mainfrom
polish/compact-takeover-banner

Conversation

@bkrabach

Copy link
Copy Markdown
Collaborator

Takeover notices currently span the terminal and place their headings in the border. Use the same content-sized Panel.fit layout as the normal session banner, with an internal bold heading, cyan border, compact padding, and dim app/host details. Shorten the request and closing copy so ordinary notices remain compact on wide terminals and wrap on narrow ones.

Validation: 44 handoff/shared-session checks passed; the 7 handoff tests passed again after scoping heading styling. Real terminal accept, decline, and unsupported-owner flows passed at 80/42 columns. A representative request stays 48 columns wide in both 80- and 160-column terminals. Inspected the styled render against the supplied session banner. Ruff and whitespace checks pass.

@bkrabach
Brian Krabach (bkrabach) merged commit f2b2989 into main Sep 20, 2026
9 checks 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