Skip to content

feat(providers): adapt MiniMax usage UI for Token Plan quotas#595

Open
shixy96 wants to merge 3 commits intosteipete:mainfrom
shixy96:codex/minimax-usage-dashboard-links
Open

feat(providers): adapt MiniMax usage UI for Token Plan quotas#595
shixy96 wants to merge 3 commits intosteipete:mainfrom
shixy96:codex/minimax-usage-dashboard-links

Conversation

@shixy96
Copy link

@shixy96 shixy96 commented Mar 24, 2026

Summary

MiniMax has expanded its former Coding Plan into the new Token Plan, a single subscription that covers text, speech, image, music, and video models with per-model quotas.

This PR updates CodexBar's MiniMax integration to better match that model:

  • parse MiniMax remains data into ordered per-model usage entries and prefer the primary MiniMax-M* text model for the top-level summary
  • enrich the HTML snapshot with remains API data so MiniMax usage survives partial HTML changes and can still expose model-level quota details
  • show up to three MiniMax model usage bars in the menu card, append overflow model reset details to usage notes, and add per-model reset lines to the menu
  • hide the generic menu bar metric picker for MiniMax because the Token Plan quota is model-specific rather than a single global metric
  • route dashboard actions through provider-specific URL resolution so MiniMax opens the correct region-specific subscription page, while Claude subscription users land on the usage page that matches their account type

Why

MiniMax's official Token Plan now describes:

  • text usage as request-based quotas with a 5-hour rolling reset
  • non-text usage as per-model daily quotas
  • one subscription spanning text, speech, image, music, and video models

The previous CodexBar presentation was too coarse for that structure. This change makes the MiniMax menu and dashboard actions align more closely with the official plan model without changing other providers' usage behavior.

Screenshots

image image

Testing

  • swiftlint --strict
  • pnpm check
  • ./Scripts/compile_and_run.sh

References

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 83cc251022

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@shixy96 shixy96 force-pushed the codex/minimax-usage-dashboard-links branch from 83cc251 to 2c7d841 Compare March 24, 2026 12:46
@shixy96 shixy96 changed the title Improve MiniMax usage display and dashboard links feat(providers): improve MiniMax usage display and dashboard links Mar 24, 2026
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2c7d841521

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 90ba295d4e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@shixy96 shixy96 changed the title feat(providers): improve MiniMax usage display and dashboard links feat(providers): adapt MiniMax usage UI for Token Plan quotas Mar 24, 2026
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