windy_66454's WorkBuddy card showed a 46% Credits ring beside "还没用过"
("Not used yet"). The plugin read the usage. Its Credits window had no
resetsAt, and panelQuotaCard said "Not used yet" whenever no window had
both a reset and use. Now it says that only when no window shown is used;
a used window with no reset to name leaves the line empty. The plugin
side (the window's reset from the plan's cycle) is workbuddy 0.1.35,
magpie-community/plugins 9da5cd3.
app.js grows 28 bytes; appScriptBudget and coreScriptBudget are raised
by exactly that, with no room added.
Run, at ef0a03e13 + this change (macOS, sandbox HOME):
- new internal/gui/tests/quota-used-no-reset.test.cjs: 10/10 (chromium
and webkit; en, zh, zh-TW, ja, de). On the old app.js it fails with
"46% used is not unused" in every case.
- the quota, panel-quota, key-balance-card, i18n-keys and usage-arrange
GUI files (25 files, 247 tests): 237 pass, 10 fail. The 10 fail the
same on untouched origin/main 2620dc319: quota-refresh-order's 9
(#3679, "quotasKept is not defined") and quota-count-wrap in WebKit
(#3404, #2228).
- go test ./internal/gui -timeout 45m: ok. gofmt -l: clean.
Not run: the whole GUI suite and go test ./... (one line of text logic,
no layout or API change); the real Linux app.