codeburn/mac/Sources/CodeBurnMenubar/Views
ozymandiashh 8222c734d9 fix(menubar): make the quota warning legible and name the window it means
The popover's quota warning painted its text in the same system yellow,
orange or red as its 12% pill. In light mode that measured 1.23:1 to 1.43:1
for yellow and at best 3.04:1 for red, and dark-mode red fell to 3.33:1. The
pill keeps its hue; the text and its glyph now take a per-appearance
foreground from QuotaWarningPalette that measures at least 5.29:1, and a test
holds every severity at WCAG AA against the pill composited over both ends of
the popover's background in both appearances.

The sentence named no window. AggregateQuotaStatus reduced each provider to
its worst window and kept only the percentage, so "Claude 70% of quota used"
was the 5-hour limit read next to a weekly 34%, and looked wrong. Each warning
now carries the winning window's label and reset, and the row reads
"Claude · 5-hour 71% · resets in 3h 12m" with the Capacity Dock's countdown,
one line per provider. The countdown is left off when there is no reset time
or it has passed, and "over limit" is kept for a window at or past 100%
instead of everything the danger band (90% and up) covers. The windows
compared, the 70% threshold and the flame's severity are unchanged.

"%@ of quota used" has no caller left and is retired; "resets in %@" is added
for en and zh-Hans.
2026-09-13 06:29:21 -07:00
..
ActivitySection.swift feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
AgentTabStrip.swift fix(menubar): carry the localization catalog onto current main 2026-09-12 16:12:11 -07:00
CapacityDockView.swift feat(menubar): translate the Codex banked-reset copy and the cache-read tooltip 2026-09-12 16:12:11 -07:00
FindingsSection.swift feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
FlameWordmark.swift fix(menubar): keep the wordmark filled under the shimmer and slow the sweep 2026-09-02 10:34:11 -07:00
HeatmapSection.swift feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
HeroSection.swift feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
MenuBarContent.swift fix(menubar): make the quota warning legible and name the window it means 2026-09-13 06:29:21 -07:00
ModelsSection.swift feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
PeriodSegmentedControl.swift fix(menubar): keep the English weekday row two letters wide 2026-09-12 16:12:11 -07:00
PullRequestsSection.swift feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00
SectionCaption.swift feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
SettingsView.swift feat(menubar): add a language picker to Settings 2026-09-12 16:12:11 -07:00
SparklineView.swift feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
ToolingSection.swift feat(menubar): route every user-facing string through a strings catalog 2026-09-12 15:21:49 -07:00