Skip to content

Redesign quota rows as a minimal two-window list - #61

Merged
MisterBrookT merged 1 commit into
mainfrom
feat/quota-row-minimal
Sep 11, 2026
Merged

MisterBrookT merged 1 commit into
mainfrom
feat/quota-row-minimal

Conversation

@MisterBrookT

Copy link
Copy Markdown
Owner

The popover row showed one bar for two windows, so the 7-day figure had no visual weight and neither window said when it resets.

Each window now gets its own aligned line (label, bar, percent) plus a small caption with the reset wall clock and the time left. Card chrome is dropped so providers read as one quiet list, and hierarchy comes from bar height and percent weight rather than extra words.

  • quotaRow renders provider mark + name, then a 5h and a 7d line
  • ResetFormat.resetClock formats the reset stamp (today 21:40, this week Sun 12:00, later 6-29 12:00)
  • ResetFormat.coarse trims multi-day countdowns to 3d
  • progressBar takes an optional height so the 7d bar reads as subordinate

Local SwiftPM is broken on this machine (no Xcode; the manifest fails to link PackageDescription), so verification here was swiftc -parse only. CI must confirm swift build and swift test, particularly PopoverHeightBudgetTests since each provider row changes height.

The popover row showed one bar for two windows, so the 7-day figure had no
visual weight and neither window said when it resets.

Each window now gets its own aligned line (label, bar, percent) plus a small
caption with the reset wall clock and the time left. Card chrome is dropped so
providers read as one quiet list, and hierarchy comes from bar height and
percent weight rather than extra words.
@MisterBrookT
MisterBrookT merged commit 5cd22db into main Sep 11, 2026
2 checks passed
@MisterBrookT
MisterBrookT deleted the feat/quota-row-minimal branch September 11, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant