ui(header): drop Cmd+K button + swap settings glyph for a true gear (U+2699)
Some checks failed
CI / build-and-test (push) Failing after 26s

This commit is contained in:
Zac Gaetano 2026-05-16 18:55:46 -04:00
parent d880941ad5
commit 80d9baf2d0

View file

@ -22,8 +22,9 @@
(Approved 2026-05-13. Shape brief at docs/shapes/2026-05-13-teamsiso-v2-studio-terminal.md)
Default Windows title bar (no chromeless WindowChrome). The 32px header
below it carries the brand mark, wordmark, and three icon buttons:
⌘K (command palette), theme toggle, settings drawer. Below that, a
below it carries the brand mark, wordmark, and two icon buttons:
theme toggle and settings drawer. (Command palette is still reachable
via Ctrl+K — keybinding only, no visible button.) Below that, a
single transport strip carries the operator's at-a-glance status.
The participants area is the canvas — no rail, no permanent side
panel, no footer. The meeting bar at the bottom renders ONLY when
@ -118,23 +119,16 @@
Margin="8,0,0,0"/>
</StackPanel>
<!-- Right cluster: three icon buttons. ⌘K opens the command
palette (Ctrl+K shortcut). The theme button cycles
<!-- Right cluster: two icon buttons. The theme button cycles
dark ↔ light (Ctrl+T). The gear opens the settings
drawer. That's the entire chrome. -->
drawer. Ctrl+K still opens the command palette via the
keybinding above — we just dropped the visible ⌘K
button because it duplicated the keyboard affordance
and crowded the header. -->
<StackPanel Grid.Column="2"
Orientation="Horizontal"
VerticalAlignment="Center"
Margin="0,0,10,0">
<Button Style="{StaticResource Wd.Button.Ghost}"
Click="OnCommandPaletteClick"
Padding="8,4"
Margin="0,0,2,0"
ToolTip="Command palette (Ctrl+K)"
FontFamily="{StaticResource Wd.Font.Mono}"
FontSize="11"
Foreground="{DynamicResource Wd.Text.Secondary}"
Content="⌘K"/>
<Button Style="{StaticResource Wd.Button.Ghost}"
Command="{Binding ToggleThemeCommand}"
Padding="6,4"
@ -147,16 +141,21 @@
Width="14" Height="14"
Stretch="None"/>
</Button>
<!-- True gear (Unicode U+2699) rendered via Segoe UI Symbol, the
same approach used by the per-row CFG button. Replaces the
earlier hand-drawn Path that read as a sun/asterisk rather
than a cog. Unicode glyph hints cleanly at the small icon
sizes the header uses and stays crisp under DPI scaling. -->
<Button Style="{StaticResource Wd.Button.Ghost}"
Click="OnSettingsToggleClick"
Padding="6,4"
Padding="6,2"
ToolTip="Settings">
<Path Data="M 8,1 L 8,3 M 8,13 L 8,15 M 1,8 L 3,8 M 13,8 L 15,8 M 3,3 L 4.5,4.5 M 11.5,11.5 L 13,13 M 3,13 L 4.5,11.5 M 11.5,4.5 L 13,3 M 8,5.5 C 9.4,5.5 10.5,6.6 10.5,8 C 10.5,9.4 9.4,10.5 8,10.5 C 6.6,10.5 5.5,9.4 5.5,8 C 5.5,6.6 6.6,5.5 8,5.5"
Stroke="{DynamicResource Wd.Text.Secondary}"
StrokeThickness="1.4"
Fill="Transparent"
Width="14" Height="14"
Stretch="None"/>
<TextBlock Text="&#x2699;"
FontSize="16"
FontFamily="Segoe UI Symbol"
Foreground="{DynamicResource Wd.Text.Secondary}"
VerticalAlignment="Center"
HorizontalAlignment="Center"/>
</Button>
</StackPanel>
</Grid>