Skip to content

Feat/win chrome and dock polish#176

Open
24baigei wants to merge 2 commits into
Stack-Cairn:mainfrom
24baigei:feat/win-chrome-and-dock-polish
Open

Feat/win chrome and dock polish#176
24baigei wants to merge 2 commits into
Stack-Cairn:mainfrom
24baigei:feat/win-chrome-and-dock-polish

Conversation

@24baigei

Copy link
Copy Markdown
Contributor

No description provided.

24baigei and others added 2 commits July 21, 2026 00:23
… 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>
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