codeburn/windows/src-tauri
iamtoruk 804f665a84 feat(windows): the Capacity Dock follows the size setting
The rail was fixed at the mac's smallest scale because both halves of its
geometry hard-coded the numbers that scale produces. Now the page and the
Rust side each rebuild every metric from the stored scale, with the mac's
rounding, so the two stay in step at any size between 60 and 120 percent.

dockGeometry.ts exports a cached metrics(scale) instead of a frozen M, and
dock.rs grows a Metrics struct with the same base values. The bubble keeps
the mac's floor of 0.9: below that its type stops being readable, so a
60 percent rail still gets a 315 px card. What a stylesheet rule needs
rather than an element (the row gap, the gauge box, the percent type, the
bubble's spacings) arrives as a --dock-* variable on .dock.

Writing a dock preference now re-reads the geometry in Rust and moves the
window, because the page can only paint inside the window it is given.
The settings section says appearance and gauge shape are still stored and
unread; size no longer is.
2026-09-01 21:09:02 -07:00
..
capabilities feat(windows): a settings window, with General, About and provider panes 2026-09-01 19:49:37 -07:00
icons windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
src feat(windows): the Capacity Dock follows the size setting 2026-09-01 21:09:02 -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): provider panes gain config directories, cadence and API keys 2026-09-01 20:00:42 -07:00
tauri.conf.json fix(windows): one clean 12 px radius on the popover, with nothing square behind it 2026-09-01 18:15:59 -07:00