The provider editor's endpoint Test result (.res.bad) was ellipsized under
body's user-select: none, so a vendor's error could not be picked up to hand
to an agent. The selectable :where() list in app.css now takes the error and
warning classes (.bad, .warn, .warnbox, *-warn, *-bad, *-fail, .res,
.bal-res), so those texts select; controls keep none. A failed endpoint row
and a failed Detect APIs row get the small copyBtn other values have; a
passing row has none, and a new Test clears the old button.
Run (mote): provider-error-copy.test.cjs, 16 of 16 green in chromium and
webkit, en/zh/ja/de, 1000 and 420 px; 16 of 16 red with app.js and app.css
at the merge-base. go test ./internal/gui ok; gofmt -l clean;
GOOS=linux go vet -tags nogui and GOOS=windows go vet of internal/gui ok.
GUI files the change reaches (provider*, i18n*, model-test*, *select*,
*copy*, balance*): 70 fail, and the same 10 files fail with the same counts
with app.js and app.css at the merge-base (group-editor-selected 2,
model-copy-id 4, provider-fetch-again 14, provider-many-keys 6,
provider-max-output 20, provider-models-rest 4, provider-picks-stay 4,
provider-proxy 4, provider-remove 4, provider-typed 4), so they are on main
already; filed separately.
Not run: the whole GUI suite and the full Go suite (both Macs were busy with
other sessions' full suites). Not tried: the reporter's screenshot was never
seen; the endpoint Test result is the likeliest error they meant. Siblings
are covered through the class list, not each page.