Skip to content

Popup polish: full title, manual refresh, per-lane percentages - #4

Merged
devudilip merged 1 commit into
mainfrom
claude/ration-quota-tracker-g3uwc6
Aug 28, 2026
Merged

Popup polish: full title, manual refresh, per-lane percentages#4
devudilip merged 1 commit into
mainfrom
claude/ration-quota-tracker-g3uwc6

Conversation

@devudilip

Copy link
Copy Markdown
Owner

What's in this

Four small UX improvements to the popup, requested after first real-world use:

  1. Full product name — header now reads Ration — AI Quota Tracker (subtitle styled muted so the popup stays quiet); the toolbar tooltip (action.default_title) carries the full name too.
  2. Manual refresh button — ⟳ next to the staleness age; spins while the worker fetches. The worker's politeness gates still apply (hard floor of 1 request/provider/60s, persisted backoff), so the button asks now instead of waiting for the 5-minute alarm without enabling endpoint hammering.
  3. Per-lane percentages — every lane shows its remaining % beside the bar, matching the provider-level number.
  4. Dev niceties — hovering a reset countdown shows the exact local reset time, the footer gains a "Report issue" link (straight to the issue chooser), and the footer version is read from the manifest via chrome.runtime.getManifest() instead of being hardcoded.

Popup width nudged 340→356px for the extra percent column. Version bumped to 0.1.1.

Verification

  • npm run ci green: typecheck + 57 tests + build.
  • Rendered in headless Chromium with stubbed storage in light and dark themes — all four changes verified visually.
  • After merge: git pull && npm run build, reload the extension.

🤖 Generated with Claude Code

https://claude.ai/code/session_015gwwHsEgVxtmfRn3dEkBif


Generated by Claude Code

Header now reads 'Ration — AI Quota Tracker' (muted subtitle so the
popup stays quiet at 356px) with a refresh button beside the staleness
age — it spins while the worker fetches, and the worker's politeness
gates (60s/provider floor, backoff) still apply. Every lane shows its
remaining percentage next to the bar, hovering a reset countdown shows
the exact local time, the footer gains a Report-issue link, and the
version string is read from the manifest instead of being hardcoded.
Toolbar tooltip (action.default_title) carries the full name; version
bumped to 0.1.1.
@devudilip
devudilip merged commit d051cc5 into main Aug 28, 2026
1 check passed
@devudilip
devudilip deleted the claude/ration-quota-tracker-g3uwc6 branch August 28, 2026 20:46
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