young02036 on Discord: a long line in a group's row ("WorkBuddy AI · Hy3 ·
免费") made the Routing page wider than the window, with a scrollbar under
it. v0.1.2769 held the member lines; the rest of each row could still go
past it:
- a group's tags never shrank or wrapped (flex: none, nowrap). With many
tags (German's long words, or any language at 700px) they pushed Edit
and the switch out past the row's edge, where the list cut them off.
The tags now take up to half the row and go onto more lines, each one
ellipsized; on a phone page they keep their own line as before.
- a provider's Routing and Stays segments (several accounts or keys) sat in
an auto-wide grid column and ran out past the row in the desktop window,
63px in Chinese and 265px in German at 560px. The column is now as wide
as the row has room for, and the segments wrap there, as they already
did on the browser page.
- in WebKit the live stage's "No request yet" row, out of sight
(content-visibility), kept the width it was last drawn at in a wider
window. In a grid column as wide as its rows, that held the stage, and
the page, 1193px wide in an 880px view after a group's editor opened.
The stage's list now has one column as wide as itself.
routing-rows-fit.test.cjs: three groups (smart, manual, and an order group
with every tag a row can carry) of the reporter's WorkBuddy AI members and
long model names, and a pooled provider. The list, then each group's
editor in turn on one page, at each width down to 560px (desktop) or 360px
(browser page) and back to 1440: the view and the document no wider than
the window, and every row's tags, buttons, switch and segments inside the
row. Chromium and WebKit, en/zh/zh-TW/ja/de.
Run on mote (mote-run) at the pushed head:
- routing-rows-fit and routing-accounts-narrow, Chromium and WebKit,
en/zh/zh-TW/ja/de: 20 of 20 ok. At origin/main's routing.css (rows-fit
copied in): red in both engines, en and de ("desktop list 700px: each
row's tags, Edit, switch and segments inside it").
- With the next two commits and the one before, at 77eed2ea4 rebased on
84da86ebd: 31 GUI files, both engines, every language they run
(drag-rows-shift, account-arrange, agent-grip, gateway-key-arrange,
group-member-drag, group-arrange, panel-arrange, provider-order,
usage-arrange, routing-rule-drag, routing-account-order, routing-rows-fit,
routing-accounts-narrow, routing-columns, routing-own-columns,
routing-keys-fold, routing-key-windows, routing-many-keys,
routing-groups-wide, routing-group-fold, routing-days-fit,
routing-hidden-stage, routing-pool-tooltip, routing-weight-chip,
routing-account-windows, group-editor-fits, group-first-token,
phone-rows, view-no-sideways, click-scroll, i18n-keys): 395 of 399 ok.
The 4 reds are routing-rule-drag in Chromium (en/zh/zh-TW/ja), at its
hover check (line 92) before any drag; it fails the same way alone at
origin/main 625938a2f (#3789). go test -run Budget ./internal/gui ok.
- Rebased again on 03d7927a8 (routing's client.js and i18n.js changed
under it), at this tree: drag-rows-shift, routing-rows-fit,
routing-accounts-narrow, i18n-keys, routing-sign-in-again and
group-member-drag 60 of 60 ok; the budget tests ok.
- Rebased on 1d8658abc (the group model picker in client.js): at this
tree drag-rows-shift, routing-rows-fit, routing-accounts-narrow,
group-pick-drawers and group-member-drag 38 of 38 ok.
- group-first-token went red once in WebKit en 420 under a run of 189
files at concurrency 4 (Cancel's bar over the 1 min option); alone it is
10 of 10 at 317e8a5aa (this change before the last rebase) and at
625938a2f.
Broken by hand, one at a time, each red in the new test:
- the tags' old rule: Chromium and WebKit en/de red at 700 and 1100px
(desktop list, the tags and Edit past the row), as at origin/main.
- the pool's old auto column: Chromium zh and de red ("segs ... 63px
past", "265px past").
- the stage list without its column: WebKit en and zh red ("desktop g2's
editor 1100px: ... 1193,880 LI.idle 798px").
Not tried: the reporter's own window and fonts; the Windows app.