Commit Graph
3 Commits
Author SHA1 Message Date
yetone 5d8717239d routing: accounts sit beside the requests only where each request still keeps to one line (#860, huoranxuanyuan: 宽窗口下变成两栏,请求行折成三行)
The two columns (0281df4d, an agent's call; the owner's 614d5179 asked only that they line up) began at an 860px Routing area, where the requests' column is under 760px and each request breaks into three lines. They now begin at 1150px, where the requests' column stays over 760px; narrower, the accounts go below and each request reads on one line. routing-columns.test.cjs: at 940 and 1100 one column with one-line requests (fails on the old CSS: '940px: one column'), at 1440 and 1920 side by side, aligned, with one-line requests. routing-account-identity, routing-sessions and routing-served pass, Chromium and WebKit, en and zh.
2026-10-07 00:29:47 +08:00
Zhu Wang 4c5a30dc0e gui: Routing shows request cache rates and output speeds, with metrics chosen as they are ticked (#941)
Keep the compact request rows, add weighted session rates and token breakdown tooltips, and give the request list more room beside accounts.

Verified with Chromium and WebKit in English and Chinese: request metrics, columns, effort rows and changes, burst speeds, session estimates, and shared menus. The request-metrics test fails on main because the cache-rate metric is absent.
2026-10-06 02:23:28 +08:00
yetone 614d51799b routing: the Requests and Accounts columns read in order (the user: 这里排版是不是有问题啊?感觉好乱) — side by side, the accounts ran far on down the page beside an empty column under the requests; they now end where the requests do and scroll like them. An account's models were wrapped in among its numbers (tried, answered, last answered), a code chip mid-line; they now take a line of their own under them. A provider's own row said its model twice (heading and chip) and the provider's name twice (card and row); the row is now its model alone. The two-column rule had never matched at all: .rt-col is a container too, so an unnamed @container query was sized against the column (~446px), not the section; the section's container is now named. The requests list is sized in the frame after a resize, since the accounts beside it now follow its height (WebKit reported a ResizeObserver loop otherwise). routing-columns.test.cjs (Chromium, WebKit, en/zh: bottoms level, accounts scroll, models on their own line, a provider's row its model alone, one column below 860px) fails without the change. routing-steady, -busy, -compact, -shape, -flood, -effort-row, -kind, -served, panel-routing, click-scroll, old-webkit pass; go vet, go build -tags nogui (darwin, GOOS=linux), GOOS=windows go build, go test -tags nogui ./internal/gui pass. 2026-10-01 04:36:01 +08:00