Files
magpie/internal/gui
yetone 68dd531c62 gui: a key's concurrency pill shows the provider's limit as typed in the editor
An account or key that takes the provider's limit showed the saved
Concurrency on its pill and in its menu's "Provider's" line while the
editor's Concurrency box, a few rows up, said another number. Both now
read the draft while the editor is open on that provider: a whole
number as typed, empty as the plugin's (or no limit), and the saved one
while the box holds something out of range. The pills are drawn again
on each keystroke in the box. Save and Cancel are unchanged.

Run (mote, at this tree):
- lane-limit.test.cjs, Chromium and WebKit, en and zh: 20 pass.
- go test ./internal/gui -run 'TestCoreScriptBudget|TestI18n|TestCSS': ok.

Broken by hand: the new test against the old app.js, 4 of 20 red (the
pill kept "2 at once" after 5 was typed), both engines and languages.

Not tried: the real app window.
2026-11-18 12:57:16 +08:00
..
…
…
…