The panel sorted its subscriptions by settings.UsageOrder like the Usage
page, then pulled every balance-only card (DeepSeek and the like) into one
"Balances" group appended after all the plan groups. With the reporter's
order Codex, DeepSeek, Copilot the panel showed Codex, Copilot, then
DeepSeek, while the Usage page and the panel's own Arrange list showed the
set order.
renderPanelQuota now builds its sections in order: a vendor's accounts at
its first card, and a run of balances where it falls. Balances next to
each other still share one Balances grid (panelBalances, the old block
moved into a function unchanged). The TUI lists in magpie's own order and
never read usageOrder; it is unchanged. The menu bar cells keep their own
picked order (TrayUsages).
Run:
- panel-balance-order.test.cjs (new): the reporter's quotas and order
(Gemini CLI, Kimi hidden), and a balance first plus two balances side by
side; checks the panel's groups in order, the Usage page's order, a
Balances group holds only balances, nothing runs off at 380px. Red on
the old app.js (Codex, Copilot, DeepSeek), 16/16 green now in Chromium
and WebKit, en/zh/ja/de. No new strings.
- every panel-*, quota-*, tray-*, usage-*, account-arrange and
routing-quota GUI test, both engines.
- HOME=<tmp> go test -tags nogui ./...
- screenshot of the reporter's case in zh at 440px: Codex, 余额 DeepSeek,
Copilot.