Repository navigation
Top bar polish for 0.12.1 - #30
Merged
Merged
Conversation
A borderless WinUI window keeps a dialog frame (WS_DLGFRAME), which Windows draws as a light hairline around the window: plain on a dark or translucent bar. Take the frame off, and Windows 11's own border with it, when the bar is created and each time it's shown (WinUI restores it). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The active workspace and hovered buttons sat 4 px from the bar's side but 2 px from its top and bottom, with 5 px corners inside the bar's 8 px ones. Give them an even 4 px gap and 4 px corners (8 - 4), so the curves run parallel. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Tiled workspaces: the map draws the tiles where they are on screen, in
the screen's shape, the focused one highlighted, instead of a row of
column blocks that says nothing when every window is on screen.
- Layout: a small icon (a strip, or the spiral's half and quarters) and
the column count; the words move to the tooltip.
- Claude: the 5-hour and weekly limits as two thin bars with their
percentages, amber from 75% and red from 90%.
- App names: a Store app goes by the name Windows shows ("Terminal"),
others by their description, never with ".exe".
- One spacing for the bar's groups; live items closer together. Network
speeds without "B/s"; the clock sized for today's date.
- CPU and memory hover cards drawn like the Claude card, with a bar per app.
- Changelog for 0.12.1 in every language.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jsanzdev
force-pushed
the
fix/top-bar-border
branch
from
December 3, 2026 10:59
f9a799a to
3230ceb
Compare
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.
Why
Design feedback on 0.12.0's top bar:
What
Border: a borderless WinUI window keeps a dialog frame (
WS_DLGFRAME), which Windows draws as a light hairline.OverlayWindows.HideBorderremoves the frame styles and sets the Windows 11 border color to none, both when the window is created and after each show, because WinUI restores the frame when it shows a window.Concentric corners: everything inside the bar sits 4px from every edge with 4px corners, which is the bar's 8px corners minus the 4px gap. The values are the
BarRadius,InsetandInnerRadiusconstants.Tile map: in the tiled layout, the minimap draws each tile where it actually is, in the screen's shape, with the focused tile highlighted.
TopBargainsTiles,Mode,TiledColumnsandAspect. The scrolling layout keeps the column blocks.Layout item: a small drawn icon (a strip of columns, or the spiral's half and quarters) plus the column count. The words move to the tooltip.
Claude: the 5-hour and weekly limits show as two thin bars with their percentages, amber from 75% and red from 90%. Without the plan's limits, it falls back to today's tokens as before.
App names:
Native.AppDescriptionnow uses the name Windows shows for Store apps (GetApplicationUserModelId, thenAppInfo.GetFromAppUserModelId), e.g. "Terminal". For other apps it uses the file description, with ".exe" removed.Spacing: one gap between the bar's groups. The live items sit closer together, since each is a button with its own padding. Network speeds lose "B/s", and the clock's width is sized for today's date.
CPU and memory hover cards: built like the Claude card, with the figure, the busiest apps and a bar for each app's share.
Changelog: an entry for 0.12.1 in all 8 languages. Strings for the old Claude text are removed.
Testing
Glide.Core.Tests: 349 passed, including the changelog and translation checks.🤖 Generated with Claude Code