In a provider's list of several keys, a resting key's row held the
"resting · back at …" note on the same line as its switch, name, value,
weight, protocol, Remove and Make first. At 1100px the row ran past the
editor's edge and Remove and Make first could not be clicked, in German
already before 9ac763d2c and in every language once its Try now joined
the note.
- app.js: the note and Try now go in a .key-rest-line appended after the
row's controls; the row is marked .resting.
- app.css: a resting row wraps, and its rest line takes the full width
under the key's own line, lined up with the name; the note ellipsizes
before Try now does.
Run: rest-try-now.test.cjs now hovers the key's row and asserts Remove
and Make first are hit by elementFromPoint at their centres, in
en/zh/zh-TW/ja/de, chromium and webkit, 1100 and 420px: 40/40 at this
commit; on the old app.js/app.css 30/40, the 10 reds being every
language and engine at 1100px.
A key resting after a 429 with a long Retry-After (a relay's 3600s) came
back only by waiting or a restart, though relays often recover in a
minute or two. The Routing page offered the lift (/api/gateway/unrest,
which already takes any rest key) only to verify and restricted rests.
- routing.js: every resting row with a rest key gets the button: "Try
now" for quota, rate, retry-after and backoff rests, the old wording for
verify and restricted. A lifted rest is remembered by key and the time
it was lifted (liftedAt), so the history re-render, which reuses the
try's rest, doesn't show it again; a newer rest still shows.
- app.js: "Try now" beside the "resting · back at …" note in a
provider's key list, posting the key's own rest key; not hover-only.
- i18n: the three new strings in zh, zh-TW, ja and de.
- gateway-routing.md: any rest can be lifted; only the rest ends, the
backoff count stays.
Run: rest-try-now.test.cjs (new: Routing row with the issue's zx
retry-after rest, key list row; en/zh/zh-TW/ja/de, chromium and webkit,
1100 and 420px; asserts the post, the note gone, no sideways scroll,
reached by wheel, the click doesn't scroll) 40/40, red on the old
app.js/routing.js. 71 key*/routing*/rest* GUI files at concurrency 6:
826/831; the 5 reds (key-balance-card, routing-group-fold) pass alone
and are timing under load (routing-group-fold fixed in the next commit).
go test ./internal/gui passes.