Files
magpie/internal/settings
yetone b754cb0958 settings: text size gets 115% and 120% between 110% and 125%
WeltAn_X (X, Win11 26H2, 4K at 200%) found 110% still small and 125%
crowded. The text size control and Ctrl/Cmd +/- now step through
100/110/115/120/125/150; settings.Validate takes 115 and 120. The
control stays one segmented row and fits at the 560px window minimum.

Layout at the larger steps: the size is the webview's page zoom, so the
page reflows in fewer CSS pixels rather than scaling. A probe at
1920x1032 points (4K at 200%), 1280x760 and the 560x420 minimum, at
every size, en and de, both engines, found nothing clipped that depends
on the size. In short windows the sidebar's page list scrolls behind
the Settings sub-nav, as designed; left alone.

Downgrade: an older magpie refuses to save settings while settings.json
holds 115 or 120 (davsync doesn't carry settings, so only a downgrade).

Run on mote (macOS 27):
- gofmt -l internal/settings internal/gui: clean
- go test ./internal/settings: ok; go test -tags nogui -run TextSize
  ./internal/gui: ok; GOOS=windows and GOOS=linux go vet
  ./internal/settings: ok
- full GUI suite (node --test --test-concurrency=5 *.test.cjs, both
  engines, every language) at this change on 91d27452b: 27691 tests,
  26664 pass, 1027 fail in 114 files.
- those 114 files alone at origin/main 93762f968: 1029 fail; at this
  change rebased on 93762f968: 1018 fail. The failing names match
  (759 vs 769 distinct; the 10 seen only here are siblings in files
  already red at main, none about text size). Filed as #6709;
  text-size's WebKit "picked, kept, and stepped" is #6561 (a stale readerAt scrolls Settings back,
  red the same on main), omarchy is #6027/#4624.
- text-size.test.cjs covers the six segments, the 125% click, and the
  panel stepping 110 -> 115 -> 120 -> 125 -> 120 -> 0 (posts
  [115,120,125,120,100]); chromium passes it in every language.
- rebased on eee217712 (13 commits, none near text size) and run
  again there: go test ./internal/settings ok; text-size.test.cjs 20
  pass, 2 fail (the WebKit en case, #6561).

Not tried: the real Windows app on a 4K screen at 200%.
2026-11-15 05:26:16 +08:00
..
tray: the menu bar shows several subscriptions' usage side by side (KevinXC on Discord) — Settings → Usage in the menu bar picked one card; its menu now ticks any number (kept open while ticking, saved once when it closes, Off unticks all, a ticked card that has gone stays listed to untick) and the pill says "3 subscriptions". settings.TrayUsages keeps them in order; a file with only the older trayUsage shows that one, and trayUsage is still written as the first for an older magpie. On the Mac the bird and a cell per card are drawn as one image by AppKit on the status item's button: the card's logo (a black glyph tinted in the menu bar's text colour, a coloured one as it is, the name's letter in a ring when there is none) and its two windows stacked, "42%" over "18%", in the bar's colour light or dark and sharp at any scale; the bird's flap goes through it. Arc flags run into numbers (Codex's logo) are spaced out for AppKit's SVG reader. A row longer than 10 characters (a plan's balance read from its page) is cut with an ellipsis in the bar and whole in the tooltip. Windows and Linux show the cards as text, " | " between them. TestTrayUsageCells, TestSVGArcFlags, TestTrayImage (darwin, renders 0-3 cards light and dark at 2x), TestTrayUsagesMigrate and tray-usages.test.cjs (Chromium, WebKit, en/zh) are new. go vet, go build (darwin GUI), go build -tags nogui (darwin, GOOS=linux), GOOS=windows go build, go test -tags nogui ./..., go test ./internal/gui pass; tray-usages, settings-groups, panel-*, click-scroll, old-webkit pass. Not seen in a live menu bar.
2026-09-30 19:45:44 +08:00