codeburn/windows/src
iamtoruk c131309090 feat(windows): the Capacity Dock hover panel becomes a glance
Port of 53c5c7b3 onto the Windows dock. The panel was a list of quota
bars; it is now a glance, in the mac's blocks and in its order: a
provider header, the sessions running right now as pills with their
context gauges, a Today strip, and a row of quota-window percentages,
separated by hairlines. The connection states, the Connect button and
the footer lines the CLI can still answer honestly stay where they were.

A percentage is its own gauge now rather than a bar beside a label: dim
glyphs with the value's severity colour filling them left to right and
wiped off on a slant. The mac solves that edge in points against a
measured text box, so the run gets a box of its own here and the clip is
written as a share of its width plus the slant in pixels; a run centred
in a wider column would otherwise be wiped from the column's edge and
read as fully coloured at half its value. The glance ramps at 70, 80 and
90 rather than the rail's 50, 75, 90, so a healthy row reads as text
rather than as a wall of colour.

Every block carries its own padding and an explicit content height, all
whole pixels at any detail scale, because the window Rust sizes around
the card is measured from what the page drew. Hairlines are overlays for
the same reason: a rule must not add a pixel the measurement did not
reserve. Whichever block ends the card carries the closing inset, which
is the rule the mac's own windowsHeight bakes in.

Three deliberate differences from the Swift, all noted where they are:
the connection lines take the same side inset as every other block
rather than sitting flush to the bubble edge; a disconnected provider
keeps the sign-in guidance the existing bubble had, which the mac's
glance drops; and the footer stays, since the mac reads freshness off
its own adapters and `codeburn quota --format json` does not carry it.
2026-09-02 08:44:43 -07:00
..
components feat(windows): the popover reads as what it is to a screen reader 2026-09-02 01:52:48 -07:00
lib feat(windows): the Capacity Dock hover panel becomes a glance 2026-09-02 08:44:43 -07:00
settings feat(windows): the update checker stands down inside a Store package 2026-09-02 04:29:52 -07:00
App.tsx feat(windows): the popover reads as what it is to a screen reader 2026-09-02 01:52:48 -07:00
dock.css feat(windows): the Capacity Dock hover panel becomes a glance 2026-09-02 08:44:43 -07:00
Dock.tsx feat(windows): the Capacity Dock hover panel becomes a glance 2026-09-02 08:44:43 -07:00
dockGeometry.ts feat(windows): the Capacity Dock hover panel becomes a glance 2026-09-02 08:44:43 -07:00
main.tsx feat(windows): a settings window, with General, About and provider panes 2026-09-01 19:49:37 -07:00
providerIcons.tsx feat(windows): a mark for every provider, and the mac's sigil for the rest 2026-09-02 00:32:53 -07:00
Settings.tsx fix(windows): three things that read rough beside the mac 2026-09-02 02:09:09 -07:00
styles.css fix(windows): three things that read rough beside the mac 2026-09-02 02:09:09 -07:00