Skip to content

mcode-usage-monitor: update to 1.2.0 - #6

Open
yanhy2000 wants to merge 1 commit into
MiniMax-AI:mainfrom
yanhy2000:update-mcode-usage-monitor-1.2.0
Open

yanhy2000 wants to merge 1 commit into
MiniMax-AI:mainfrom
yanhy2000:update-mcode-usage-monitor-1.2.0

Conversation

@yanhy2000

@yanhy2000 yanhy2000 commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Update the Token Usage Board MiniApp to 1.2.0. The plugin ID, directory name, and data access are unchanged; only the version is bumped.

What changed

  • Time range: add Today (local midnight to now) and 12h presets, plus custom whole-hour ranges (1-8760). A custom value equal to a preset folds into that preset, and only the latest custom value is kept.
  • New cards: Project usage (grouped by workspace, temporary agent workspaces merged) and Tool calls (parsed from tool_calls). Both follow the current time/model/session filters and the same dedup rules.
  • Cards can be collapsed from the header and reordered by dragging while collapsed; a Reset layout button restores the default expanded state and order.
  • Fixes: Select all / Invert no longer stay clickable when every item is already selected.

Compatibility

Existing preference files keep working: when collapsed / order are absent, the app falls back to all-expanded plus the default order.

Test environment

Windows 11 (10.0.26200) x64, MiniMax Code Desktop, plugin copied into ~/.minimax/plugins/. Verified in the running app: presets and custom hours applying correctly, preset folding, select-all disabling, collapse/expand, drag reorder persisting across reload, reset layout, and a clean console.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

- Time range: add Today and 12h presets, plus custom whole-hour ranges (1-8760). Custom values equal to a preset collapse into that preset, and only the latest custom option is kept

- Add project usage and tool call cards; both follow the current time/model/session filters

- Cards can be collapsed, and reordered by dragging while collapsed; add a Reset layout button

- Fix Select all / Invert staying clickable when every item is already selected

- Fix duplicate empty-range requests fired by Enter then blur, and horizontal overflow from over-wide canvases in narrow panels

- Keep the plugin ID and directory name unchanged; bump the version to 1.2.0
@yanhy2000

Copy link
Copy Markdown
Contributor Author

Fixes #5

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