feat(ui): clarify weekly resets and streamline quota layout - #4
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The history calendar marks weekly resets by provider and shows the upcoming local date and time. Coincident quotas, such as Claude weekly and Fable weekly, appear as one reset. Selecting a future day shows a compact card with the provider and time, without empty usage totals or streaks.
Later weeks follow the current seven-day schedule for the next year and are marked as expected. Updated readings rebuild the schedule; cancelling tracking or losing ready quota data removes that provider's forecast. Hidden quota preferences are respected.
The unified ring panel can fit one Codex ring beside all three Claude rings, replacing the tall rows and unused horizontal space.
The streak now lives beside the history controls, with a second-row fallback on narrow panels. The daily summary shows only the date and token totals, and the automatic-reconnection switch aligns with the other provider settings.
Validation:
make ci-checkpassed (332 tests, two opt-in skips). Synthetic Spanish/English layout renders passed. Real macOS checks covered the three-ring layout, a projected reset three weeks ahead, hover, click and Escape. Verified development build installed locally; no release artifacts published.