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
Some checks failed
CI / build-and-test (push) Failing after 26s
This commit is contained in:
parent
d880941ad5
commit
80d9baf2d0
1 changed files with 20 additions and 21 deletions
|
|
@ -22,8 +22,9 @@
|
||||||
(Approved 2026-05-13. Shape brief at docs/shapes/2026-05-13-teamsiso-v2-studio-terminal.md)
|
(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
|
Default Windows title bar (no chromeless WindowChrome). The 32px header
|
||||||
below it carries the brand mark, wordmark, and three icon buttons:
|
below it carries the brand mark, wordmark, and two icon buttons:
|
||||||
⌘K (command palette), theme toggle, settings drawer. Below that, a
|
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.
|
single transport strip carries the operator's at-a-glance status.
|
||||||
The participants area is the canvas — no rail, no permanent side
|
The participants area is the canvas — no rail, no permanent side
|
||||||
panel, no footer. The meeting bar at the bottom renders ONLY when
|
panel, no footer. The meeting bar at the bottom renders ONLY when
|
||||||
|
|
@ -118,23 +119,16 @@
|
||||||
Margin="8,0,0,0"/>
|
Margin="8,0,0,0"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<!-- Right cluster: three icon buttons. ⌘K opens the command
|
<!-- Right cluster: two icon buttons. The theme button cycles
|
||||||
palette (Ctrl+K shortcut). The theme button cycles
|
|
||||||
dark ↔ light (Ctrl+T). The gear opens the settings
|
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"
|
<StackPanel Grid.Column="2"
|
||||||
Orientation="Horizontal"
|
Orientation="Horizontal"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
Margin="0,0,10,0">
|
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}"
|
<Button Style="{StaticResource Wd.Button.Ghost}"
|
||||||
Command="{Binding ToggleThemeCommand}"
|
Command="{Binding ToggleThemeCommand}"
|
||||||
Padding="6,4"
|
Padding="6,4"
|
||||||
|
|
@ -147,16 +141,21 @@
|
||||||
Width="14" Height="14"
|
Width="14" Height="14"
|
||||||
Stretch="None"/>
|
Stretch="None"/>
|
||||||
</Button>
|
</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}"
|
<Button Style="{StaticResource Wd.Button.Ghost}"
|
||||||
Click="OnSettingsToggleClick"
|
Click="OnSettingsToggleClick"
|
||||||
Padding="6,4"
|
Padding="6,2"
|
||||||
ToolTip="Settings">
|
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"
|
<TextBlock Text="⚙"
|
||||||
Stroke="{DynamicResource Wd.Text.Secondary}"
|
FontSize="16"
|
||||||
StrokeThickness="1.4"
|
FontFamily="Segoe UI Symbol"
|
||||||
Fill="Transparent"
|
Foreground="{DynamicResource Wd.Text.Secondary}"
|
||||||
Width="14" Height="14"
|
VerticalAlignment="Center"
|
||||||
Stretch="None"/>
|
HorizontalAlignment="Center"/>
|
||||||
</Button>
|
</Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue