Skip to content

feat(quota): visually separate and clarify reset window intervals in quota output #240

Description

@airvzxf

Summary

Improve the CLI table formatting in mmx quota by adding a dedicated vertical separator column for reset times and explicitly displaying the quota window interval (e.g., 5h, 1w).

Motivation

In the current output format:

  • The reset countdown (Reset Xh Ym) sits on the same unsegmented row as the quota balance metrics, reducing scannability.
  • It does not explicitly indicate the quota period/window scope to which the reset timer applies (e.g., whether it is a rolling 5-hour window or a 1-week cycle).

Adding a visual column divider and prefixing the window duration clarifies both the structure and the context of the quota reset.


Comparison

Current Output (From)

╭───────────────────────────────────────────────────────────────────────────╮
│ MINIMAX  TokenPlan Quota                    Week: 2026-08-17 — 2026-08-24 │
├───────────────────────────────────────────────────────────────────────────┤
│ general  Left            100%   Wk left              0%    Reset 2h 33m   │
├───────────────────────────────────────────────────────────────────────────┤
│ video    Left            3 / 3  Wk left            3 / 21  Reset 6h 33m   │
╰───────────────────────────────────────────────────────────────────────────╯

Proposed Output (To)

╭─────────────────────────────────────────────────────────────────────────────╮
│ MINIMAX  TokenPlan Quota                      Week: 2026-08-17 — 2026-08-24 │
├───────────────────────────────────────────────────────────┬─────────────────┤
│ general  Left            100%   Wk left              0%   │ 5h Reset 2h 33m │
├───────────────────────────────────────────────────────────┼─────────────────┤
│ video    Left            3 / 3  Wk left            3 / 21 │ 1w Reset 6h 33m │
╰───────────────────────────────────────────────────────────┴─────────────────╯

Discussion & Implementation

I am open to discussing and adjusting this design based on your feedback. If the maintainers approve this proposal, I am available to implement the changes and submit a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions