Skip to content

feat(quota): redesign quota show as rich HUD with usage bar and i18n#7

Merged
RyanLee-Dev merged 1 commit intoMiniMax-AI:mainfrom
JochenYang:main
Mar 31, 2026
Merged

feat(quota): redesign quota show as rich HUD with usage bar and i18n#7
RyanLee-Dev merged 1 commit intoMiniMax-AI:mainfrom
JochenYang:main

Conversation

@JochenYang
Copy link
Copy Markdown
Contributor

  • Fix API field semantics: usage_count is actually remaining count, compute used = total - usage_count for correct display
  • Replace plain table with box-drawn HUD panel featuring brand colors
  • Add usage-style progress bar (filled = consumed, green/yellow/red)
  • Add CJK display-width helper for proper column alignment
  • Add CN/EN i18n labels based on region detection
  • Support three output modes: rich HUD, JSON/YAML passthrough, quiet TSV

- Fix API field semantics: usage_count is actually remaining count,
  compute used = total - usage_count for correct display
- Replace plain table with box-drawn HUD panel featuring brand colors
- Add usage-style progress bar (filled = consumed, green/yellow/red)
- Add CJK display-width helper for proper column alignment
- Add CN/EN i18n labels based on region detection
- Support three output modes: rich HUD, JSON/YAML passthrough, quiet TSV
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.

2 participants