codeburn/windows/src-tauri
iamtoruk f8fbcc207c feat(windows): tint the tray flame by quota, and fill out its menu
What the tray says without being clicked, brought in line with the mac status
item. The flame takes the worst connected provider's quota severity (yellow,
orange, red; untinted while there is nothing to say), and falls back to yellow
when today's spend is over the daily budget, in that order. The logo is
recoloured in Rust from the embedded artwork, alpha untouched so only the
colour moves; no new dependency, since the tray feature already pulls in a PNG
decoder. The daily budget is read from the CLI's own config.json, where
package C's settings UI will write it; absent or zero means no budget, which
is the default today.

The badge figure and tooltip are written to %LOCALAPPDATA% on every refresh
and put back at startup while under ten minutes old, from the mac's
MenubarStatusCache, so a relaunch no longer blanks the tray for a CLI round
trip. The frontend stopped clearing the badge before its first payload, which
would otherwise wipe what was just restored.

The right-click menu gains the mac's disabled usage row at the top ("Today ·
$X · N calls"), Settings..., Capacity Dock Settings... and About CodeBurn.
The three open the popover on a panel for now; package C turns them into deep
links to the settings window.
2026-09-01 17:28:10 -07:00
..
capabilities feat(windows): Capacity Dock, an edge-docked quota rail 2026-09-01 13:50:56 -07:00
icons windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
src feat(windows): tint the tray flame by quota, and fill out its menu 2026-09-01 17:28:10 -07:00
build.rs windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
Cargo.lock fix(windows): let Quit actually exit and enforce a single tray instance 2026-09-01 12:42:30 -07:00
Cargo.toml feat(windows): drag the Capacity Dock to any edge, and a fixed window that never glitches on hover 2026-09-01 16:06:03 -07:00
tauri.conf.json chore: release 0.9.23 2026-08-29 01:22:46 -07:00