Skip to content

fix: show default quota bar for active accounts#243

Merged
icebear0828 merged 2 commits intomasterfrom
fix/default-quota-bar
Mar 27, 2026
Merged

fix: show default quota bar for active accounts#243
icebear0828 merged 2 commits intomasterfrom
fix/default-quota-bar

Conversation

@icebear0828
Copy link
Copy Markdown
Owner

Summary

  • Active accounts without cached quota data now show a 0% green progress bar
  • Previously the quota section was hidden until the account made its first API request

Test plan

  • npm run build passes
  • Visual: active accounts without quota show empty green bar

Active accounts with no cached quota now render a 0% green progress
bar instead of hiding the quota section entirely. Previously accounts
needed at least one API request before the bar appeared.
WebSocket transport was returning a Response with only a content-type
header, causing parseRateLimitHeaders() to always get empty data.
Now captures x-codex-* headers from the WS upgrade response.

Also removes animate-spin from quota refresh buttons.
@icebear0828 icebear0828 merged commit 8b86382 into master Mar 27, 2026
1 check passed
@icebear0828 icebear0828 deleted the fix/default-quota-bar branch March 27, 2026 11:35
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