Skip to content

menubar second row: 'nearest its limit' uses the headline window, not the worst window #1310

Closed

Description

@iamtoruk

Follow-up to #1290. The second-row selector picks the provider via QuotaSummary.headlineWindow, which prefers weekly then monthly and only falls back to the max, so Cursor's API window at 100% and Claude's 5-hour window at 18% are discarded for Monthly 9.5% and Weekly 5% on a real machine. Meanwhile the flame tints on the worst window across the six legacy providers, so the comment at MenubarSecondRow.swift:92 (same provider the flame tints for) is wrong on both counts. Either switch the candidates to the worst window or reword README, CHANGELOG and the Settings help to say headline window. Smaller items from the same review: transientFailure providers drop out of the candidates while the dock still shows their dimmed data, so the row can vanish and the item resizes during a backoff; no width cap (GitHub Copilot 12% left · 6d 3h makes the item 2.3x wider); no accessibility label for the two-line title, which now carries a raw newline; menubarRowSnapshot is built on every refresh even when the feature is off.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions