Files
magpie/internal
yetone 00c6b89aca gui: Usage's chart metrics scroll in their own strip on a phone (#5869)
The Requests chart's #ledMetric tabs (Tokens, Cost, Calls, Speed,
Traffic) ran to 400px in German on a 375px phone and widened the Usage
page. .led-bar .segs now joins the segmented strips that already scroll
in their own width (regions, Connect's APIs, Plugins' kinds): max-width
100%, overflow-x auto, the same thin bar off a Mac and none on one, and
options that keep their width instead of squashing their words.

Run on mica at this tree (origin/main 7b552eef3 + this change), Playwright
1.62.0, --test-concurrency=1:
- phone-no-sideways: green in both engines (red at origin/main, de 375:
  "div#ledMetric.segs [31,400]").
- usage-chart-axis: green. view-no-sideways: red on Routing scrolling
  38px sideways, the same as at origin/main (#6669); nothing names
  #ledMetric.
- usage-chart-line: 1180px cases red, the same at origin/main without
  this change (#6743).
- go test ./internal/gui: ok.
Broken by hand: origin/main's app.css put back, phone-no-sideways red on
#ledMetric as in #5869.
Not run: the whole GUI suite (mote and mica both carry other sessions'
GUI runs), the real Linux app.
2026-11-18 03:15:04 +08:00
..
…
…
…
…
…
…
…
…
2026-11-17 15:09:29 +08:00
…