MYCF711's SuperMagic plugin (magpie-magicrew-auth daca18e) sends a
balance window 积分余额 with runsOut, and 今日 / 限时 / 永久 as aside
rows. The Routing page already showed all four rows, in the stage row's
tooltip and the account list's .wins line, both through cardOf/winsOf
(the Usage page's own readings). The row's own text said only
"6,291 积分 left". For a wallet seat, quota() now adds the Usage card's
runsOutText for the card's window of the same balance and unit:
"6,291 积分 left · 185 积分 expire 23:59". It is client only. The
Go side (allowanceOf, Weighed) is unchanged, because the aside rows are
display only and routing weighs the total.
Run (mote, at 7b63feb90 + this):
- routing-wallet-lapse.test.cjs (new, the reporter's literal windows):
chromium + webkit, en/zh/zh-TW/ja/de, 1100 and 420px, 22/22 ok.
- Broken by hand (quota without lapses): 11/11 red in chromium,
expected '750 积分 left · 50 积分 expire Thu 02:06', actual
'750 积分 left'.
- routing-wallet-balance, usage-wallet-balance, i18n-keys: ok.
- Every routing-*.test.cjs (124 files) + the two above: red only in 12
files that are red the same way without this change at 4655e1659
(83 fails there) and that have open issues: routing-intent-entry
#3408, routing-manual #3409, routing-pause #3410, routing-rule-effort
#3411, routing-steady #3412, routing-row-swap #3799, routing-model-rest
#2115, routing-rule-drag #3789, routing-rule-remove #3094/#3096,
routing-rules-line #3593, routing-story-shrinks #3954,
routing-wb-restricted #1905. Mote was at load ~16-28 with another
session's suites.
- go test -tags nogui ./internal/gui/ (budgets): ok.
Not run: the full Go suite and the whole GUI suite (another session's
were on mote; this commit touches no Go). Not tried: a real SuperMagic
account, or the Windows/Linux app.