Skip to content

Open provider usage page + two-unit countdown#64

Open
ashalliants wants to merge 2 commits into
CodeZeno:mainfrom
ashalliants:feat/dashboard-clickthrough
Open

Open provider usage page + two-unit countdown#64
ashalliants wants to merge 2 commits into
CodeZeno:mainfrom
ashalliants:feat/dashboard-clickthrough

Conversation

@ashalliants

Copy link
Copy Markdown

What this adds

Two small quality-of-life polish items:

  • Open the provider's usage page — click a provider's column on the widget (the divider drag-handle is preserved), or use the new right-click "Open usage page: " menu items. Opens in the default browser via ShellExecuteW.
    • Claude → https://claude.ai/settings/usage
    • Codex → https://chatgpt.com/codex/settings/usage (the ChatGPT-plan Codex usage dashboard the CLI actually draws from — not the separate API-billing page)
    • Antigravity → intentionally omitted: its quota is only viewable inside the Antigravity IDE (Settings › Advanced › Models), so there's no web page to open.
  • Two-unit countdown on the widget text2h 15m instead of collapsing to 2h. Includes a re-render-cadence fix (ticks on the minute under a day, per-second under an hour) and a widened text column so it never clips.

Note for reviewers

This PR shares a small helper (format_countdown_two_units in poller.rs) with #63 (pace/ETA/alerts). If both are merged, whichever lands second should drop its duplicate copy of that ~15-line function — trivial conflict.

Verification

Builds clean on Windows (MSVC). Not yet runtime/visually verified — a cargo run smoke-test of the click-through and countdown is recommended.

ashalliants and others added 2 commits July 20, 2026 15:34
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…page)

Codex plan usage lives at chatgpt.com/codex/settings/usage (not the API
billing page). Antigravity quota is only viewable in-IDE, so it gets no
click-through (menu item + column click omitted).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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