Files
magpie/internal
yetone 3f7c782552 gui: a menu button says it is shut again, as seven lost it on 11-10 (#6353)
286e3b6d5 (the panel's Usage tab account menu) fit the core budget by
taking aria-expanded="false" off seven menu buttons on other pages: the
agent row's account switch, the sign-in proxy link, a window's cap, the
Image recognition and searcher Thinking chips, Model name in replies,
and the local model's model and threshold pickers. openProtoMenu and
closeProtoMenu change aria-expanded only where it is set, so those
buttons told a screen reader neither shut nor open, and side-effort was
red in all 10 cases since (#6353).

The two attributes every such button sets are now one helper,
menuOpener(b), used by the seven and by the panel's own count button.
It pays for itself: the budgets pass with no raise.

Run on mica at this tree (origin/main 60b10c69a + this change):
- go test ./internal/gui (the budgets included): ok; gofmt -l clean.
- GUI, both engines: side-effort, agent-switch-accounts,
  panel-switch-accounts, panel-usage-first-account, privacy-model,
  reply-model-setting, signin-proxy, window-cap, window-cap-pool,
  masking-demo, old-webkit, i18n-keys: 440 pass, 8 red. The reds are
  signin-proxy's Chromium 380 "no proxy offers the global one" (#5866)
  and panel-usage-first-account's Chromium case (#6181); at origin/main
  app.js the same two files have 9 reds, the same tests.
Broken by hand: side-effort at origin/main app.js, 10 of 10 red on
`aria-expanded` null !== 'false' (side-effort.test.cjs:132).
Not run: the whole GUI suite, the real Linux app.
2026-11-18 05:12:11 +08:00
..
…
…
…
…
…
…
…
…
2026-11-17 15:09:29 +08:00
…