Settings › Models › Disabled models could only disable one model per
Disable… and enable one per row. Disable… now opens a picker that stays
open (the multi picker routing groups' levels use): a model clicked is
ticked and disabled, clicked again it is enabled; a glob typed in is taken
as before and listed, ticked, at the top, as is every pattern already
disabled that names no listed model, so several can be enabled from the
picker too. With two or more disabled, Enable all beside Disable… clears
the list. Each pick still saves the whole list on its own route; the
writes now go one after another so a quick run of picks lands in order.
The picker's button is kept across the redraw a save makes, so it stays
open. app.js pays for it with four Replies comments cut, no budget raise
(core 1,533,762 of 1,533,802).
Run (mote, at this head's tree):
- internal/gui/tests/disabled-models.test.cjs: 16/16, chromium and
webkit, en/zh/ja/de, 1100 and 420 wide (picks, untick, Escape, a row's
Enable, Enable all, both buttons fit).
- i18n-keys, i18n-en-no-cjk: ok. go test ./internal/gui: ok (before the
rebase, full package; after it, Budget/I18n/Disabled).
- settings-hints.test.cjs: ja/de at 420 red, the same at origin/main
4a9142ccd; already listed in #5872.
Broken by hand: without multi: true the picker closes on a pick and
disabled-models goes 8/8 red in chromium.
Not tried: the real app window; no Go change, so no vet run.