The add sheet drew "+ Custom provider" only under every preset section
(vendors, relays, local, remote), and only while the search was empty,
so it was hard to find. It is now a text button in the sheet's head,
right after "Find a vendor…", there as the sheet opens and kept while
searching; its old hint is its title. A search that finds nothing still
offers "Add it as a custom provider" in its line. Below 760px the head
wraps: the title, Import… and Close on the first line, the search and
Custom provider on a line of their own, so no language clips them. The
foot line and its styles are gone; app.js is 248 bytes smaller.
Run (WSL magpie-desktop, Playwright 1.62.0, Chromium + WebKit):
- add-sheet-custom.test.cjs (new): en, zh, zh-TW, ja, de at 980, 761
and 420px, 32/32 pass. Against origin/main's assets (MAGPIE_ASSETS)
0/32: no button in the head.
- add-sheet, provider-detect-draft, provider-add-gemini, model-id-space,
provider-curl-paste, system-one, provider-add-models,
provider-url-each-api, provider-retrieval-only, i18n-keys (selectors
moved from .custom-foot to .row-head) pass, but for reds that are red
the same at origin/main b46f23ffa in the same run (below).
- 72 GUI files that reach the add sheet, concurrency 3: the reds are
the same files as origin/main b46f23ffa run alone: vertex-editor
(#4720, #4721), tencent-cloud (#4321, #4399), remote-magpie (#4398),
plugin-moved-signin (#2900, #4218), plugin-signin-no-url (#5938,
filed now), plugin-pick-sub webkit ja 420 (#5937, filed now), plus
page.goto timeouts under the run's load (load ~70).
- plugins-more-discover, zcode-site-layout, provider-retrieval-only,
twice each at this change and at b46f23ffa: here 43/43 then 39/43,
there 41/43 twice; webkit "More in Plugins opens Discover" (#5559)
and "ZCode's site step" (#4727) are red on both.
- At 9c39edb92 + this: add-sheet-custom, add-sheet, i18n-keys
42/42. Rebased onto 4eeee5215 (no add-sheet code); TestCoreScriptBudget ok there.
- TestCoreScriptBudget (Windows box): ok.
Not tried: macOS WebKit and the real app (mote refused SSH all session);
the tray panel's narrow sheet in the real app.