Feat/win chrome and dock polish#176
Open
24baigei wants to merge 2 commits into
Open
Conversation
… capsule Drop the dedicated 32px Windows title bar row. Content now reaches the window top edge; a 6px data-tauri-drag-region strip along the top keeps drag + double-click-maximize, and ChatHeader's existing drag region keeps working as before. The minimize/restore/close buttons live in a frosted floating capsule at the top-right, styled after the app's pill controls: soft red close hover, 55% opacity when the window is unfocused, and a corner-flush variant when maximized so the close button lands in the screen corner (Fitts). The capsule occupies the window's top-right corner, so the component publishes a --win-chrome-reserve CSS variable and the surfaces that put buttons there (ChatHeader, right-dock header, workspace editor/preview/SSH overlay headers) pad themselves by it; the variable is unset on other platforms, making this a no-op outside Windows. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Empty state (launcher) no longer renders the header row: the launcher
cards are the full creation surface, so the lone "+" disappears. When
multiple shells exist the New Terminal card becomes a split button with
a chevron opening the same shell menu the "+" offered; the mobile close
button floats alone at the top-right.
- With tabs open, the create menu ("+") now sits inline right after the
last tab, browser-style, instead of parked at the header's right edge.
- The panel's left divider is a single full-height hairline that fades in
from transparent over the first 3rem, so the top strip reads as one
continuous surface in both states while the solid segment still lines
up with the header's bottom border when tabs are open.
- Localize the project-tools toggle tooltip and disabled reasons
(zh-CN/en-US); they were hardcoded English.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
No description provided.