Files
magpie/internal/gui
yetone d0ce551344 providers: a browser editor keeps its place through a refetch
In a browser (web mode) WebKit gave the editor's redrawn body its scroll
bar a frame late; with "Model settings" a word shorter than the old
label, the foot wrapped differently, the body grew 48px and a place kept
at the bottom was clamped (provider-fetch-holds, webkit zh 420px, red at
the stack's head only). The body keeps its bar in a browser too, as it
already did in the Windows and Linux apps.

Broken by hand: without the rule provider-fetch-holds is red in webkit
zh 420px; with it provider-fetch-holds and model-api-preset pass 16 of
16 on mote.

Run, on this stack over origin/main 0fc3455e2 (mote's suite lock had
hours of queue, so the suites ran on WSL magpie-desktop under flock):
- go test -timeout 45m ./internal/{provider,gateway,gui,cli,settings,fx}
  on WSL, ok; ./internal/codexcat on mote, ok; gofmt -l clean;
  go vet on mac, GOOS=linux -tags nogui and GOOS=windows on mote, ok;
  TestCoreScriptBudget ok (paid by cutting comments, no raise).
- GUI, both engines, every language, on WSL at the pushed head and at
  0fc3455e2: every touched test file plus the provider-editor files a
  first run found red. No red at head that isn't red at 0fc3455e2. The
  shared reds have issues: i18n-keys #5332, model-chip-steady #4388,
  model-copy-id #4621, models-works-only #4391, plugin-move-unserved
  #4392, provider-fetch-again #5232, provider-levels-save #4394,
  provider-levels-scroll #4395, provider-models-rest #4396,
  provider-picks-stay #4397, provider-typed #4673, remote-magpie #4398,
  zero-priced-free #5262, model-reasonless (webkit de) #4100,
  name-suffix-no-names #1937.
- Rebased on origin/main 4ab1191bc (gateway.go moved under it) and run
  again at the pushed head: gateway and provider ok on WSL, gofmt,
  vet (mac, linux nogui, windows) and the budget ok, i18n-keys,
  model-headers and routing-groups-back with only #5332's red.
Not run at push: the whole GUI suite (1277 files).

Not tried: the macOS app (its body has no bar rule; unchanged).

Reported-by: axelburks (Discord)
2026-11-08 11:28:55 +08:00
..
…
…