Repository navigation
Description
Existing issues
- I searched existing issues and did not find a duplicate.
Problem or use case
I keep the float bar on all day. What I want from it is one answer: how much quota is left, and will it last until the reset?
Today it answers the first half. It shows a percentage per provider, and with #1064 it can show the session and the weekly window. It does not show whether I am using quota faster than the window allows, even though the tray card already shows that with its pace mark (#797).
The look is also hard to adjust. Values are 10 px and the reset and cost labels about 8 px at 100% size, the taskbar style uses a fixed pale fill whatever the wallpaper is, and the only layout choices are the two styles and the orientation. I would like a few more layouts and a little more control over the surface, without changing anything for people who like the bar as it is.
Checked against 0.70.0 and main at fd06294.
Proposed solution
The ask: would you accept a layout choice for the float bar, with today's bar kept as "Classic", and a first new layout called Strip?
Strip is one capsule. Each provider gets a thin session bar and a thin weekly bar, each with the same pace mark the tray card draws, plus the value and the reset time. It fits above the taskbar. It reuses metricRowPresentation and UsageProgressBar and follows the existing Show pace setting, so it adds no pace logic and no new data.
Nothing changes for existing users unless they pick a new layout. One question for you: the tray panel shipped its new look as the default (#1066). Would you want the same for the float bar, or keep Classic as the default?
Because the float bar section would grow, I would also move it out of the Menu tab into its own Float Bar tab in Settings, right after Menu. It would open with a live preview of the bar over a sample desktop. With Classic selected, it shows the same controls as today. Changes would still apply immediately, as on every other pane, so there is no Apply button.
I prototyped this, and a few more layouts, as standalone HTML with synthetic data. Screenshots are below, and I can share the files.
Possible roadmap after Strip (small PRs, each optional)
- Split
FloatBar.tsxinto a shell and a Classic layout. A move only, with the existing tests unchanged. I would rebase it onto Show DeepSeek balance in tray status and float bar #1071 so the two do not conflict. - Float Bar settings tab: a new
floatBartab id (SettingsTabId,TAB_META, thesurface_target.rswhitelist). The existing controls move over with no new settings, and the live preview is added here. float_bar_layout(classic|strip) and the Strip layout, following thetray_panel_stylepattern from Add a selectable panel look and drag-to-resize width #1066.- Materials (dark or light glass, dark or light solid) and a background opacity that fades the surface but not the text. A refined Pills layout uses them.
- Rings and Dock. Dock would cover the vertical orientation for the new layouts.
- Card and Tile, with a width set by dragging the right edge (reusing
PanelResizeHandle) or with a slider in Settings. This needs a fixed-width mode inresize_float_bar; the window keepsWS_EX_NOACTIVATE. - Hover peek (hovering a compact layout shows the Card next to it) and native acrylic through Tauri's built-in
set_effects. CSSbackdrop-filtercannot blur the desktop behind a transparent WebView2 window. - A weekly-peak chart and an activity heatmap on the Tile. These need one new command that exposes the burndown samples already stored for Claude and Codex.
Every new key would default to today's look, ship with all ten translations, and be added only in the step that needs it.
I am happy to open the first PRs if that helps, or to leave this with you.
Affected area
- Tray panel
- Settings UI
- Config file / settings persistence
- CLI
- Provider-specific behavior
- Installer / release packaging
- Startup / background behavior
- Documentation
- Other
Alternatives considered
- More CSS themes for today's pills. This is cheaper, but it still has no room for pace or for a second window, and it still cannot blur the desktop.
- One fixed redesign instead of layouts. People put the bar in very different places (above the taskbar, on a screen edge, in a monitor corner), and no single shape fits all of them.
- A Windows Widgets board widget. It needs the Windows App SDK widget host and does not stay on top. It would be a separate project.
Visual details
Prototype renders: Chromium, synthetic data, not WebView2 captures. In the browser the glass materials blur the mock wallpaper; in the real float bar that needs native acrylic (roadmap step 7).
Today's taskbar style, recreated for comparison
Strip: session and weekly bars with the tray's pace mark
Card and Tile (later steps)
Refined Pills, Rings and Dock (later steps)
New Float Bar tab in Settings, with the live preview (Strip selected; some Look controls belong to later steps)
The same tab with Classic selected: the Look and Show groups keep today's controls
Additional context
Searched open and closed issues and PRs for "float bar", "floating bar", "floatbar", "widget" and "float layout". The closest are #1064 (option to show session and weekly usage), #240 (floating bar flips the Auto theme) and #497 (inline reset compacting for non-English locales). None proposes a layout change. #1071 (DeepSeek balance in the float bar) is open, and I would sequence around it.
"Other" in the affected areas means the float bar window itself: its layout, its sizing and, later, its window effects.
The data for everything except the history charts already reaches the frontend: pace, quotaBurndown, modelSpecific, sessionEquivalentForecast, the local usage summary and the usage-spend summary. The burndown and forecast data cover only Claude and Codex, so the Tile would show less for other providers.
Ideas came from other usage trackers: a "Claude Usage" desktop widget with session and weekly rows, ClaudeBar's card layout, and iOS quota trackers. The prototypes do not copy their layouts or assets.
Activity