EdwinDigital: in the tray panel, WorkBuddy's row said its models in words
("gpt-6.1-sol · Microsoft Foundry, claude-opus-5-5 · Microsoft Foundry +1"),
and the words took the row: the name was squeezed to 10px at 550px and to
nothing at 440px and below, or at any width once the pointer came onto the
row and the model's logo eased in. The row's columns were 20px, a name in
minmax(0, 1fr) and the words in auto, so the words claimed their whole
width and the name gave way.
Now the name's column is fit-content(60%): it keeps its own width, up to
60% of the row, and the words take what is left and cut first (.vt already
ellipsizes). The words sit at the row's end (justify-self: end), so their
effort bars and chevrons stay in one column down the list. It holds for
every panel row with a summary (a model list, one model's label, import,
launch, CLI not found), not WorkBuddy alone.
Name width, WorkBuddy / Claude Desktop, before -> after, chromium and webkit
the same: 550px 10.05 / 8.09 -> 76.05 / 103.92; 440px and 360px 0 / 0 ->
76.05 / 103.92; hovered the same after.
Run at 0cad76cd9:
- agent-panel-name-width.test.cjs (new): chromium and webkit; en, zh,
zh-TW, ja and de; 550, 440 and 360px; hovered and not. Each name is
whole, the words are after it and inside the row, right edges line up,
the model lists are cut, and nothing scrolls sideways. 32/32 pass. With
HEAD's app.css it fails 32/32 (name 10.05px at 550, 0 below).
- GUI, every file that renders the panel or an agent row (101 files,
4-wide): # tests 1390, pass 1387, fail 3. The 3 reds also fail at HEAD
without this change, run alone: key-balance-card chromium de
(view-usage 570>560, #2443) and usage-fold chromium en/zh (the view
didn't scroll, 184 !== 180, #2163).
- The whole GUI suite (780 files) was not run.
- gofmt -l clean; GOOS=darwin/linux/windows go vet -tags nogui ./... ok;
go test -tags nogui -timeout 45m ./internal/gui/... ok (385.6s).