Files
magpie/internal/settings
yetone b005d1a473 update: a fresh install of Stable's version stays on Stable (fishmagic80 on X)
The site now offers Stable's downloads, but the app's Update channel is
Every version until changed, so a Stable install was offered the newest
at its first check. Before that check, a fresh install (no version run
before and magpie's folder new, from whatsNew.start) asks the feed for
Stable's version and the newest; when it is Stable's and a newer one is
out, settings take "updateChannel": "stable" (settings.TakeStable, under
the file lock, keeping a channel already set). A feed that can't be read
is unknown and asked again at the next check. A version that is both
Stable's and the newest stays on Every version: its download can't be
told apart. update.LatestStable never falls back to GitHub.

docs/reference.md and the privacy pages (en, zh, ja, llms-full.txt) say
a fresh install asks ?channel=stable once.

Old installs: nothing changes for them. Until a release with this
becomes Stable, a Stable download (0.1.3078 today) is still offered the
newest unless Settings → Update channel is set to Stable.

Run at 936c70756, on mote: gofmt -l internal/ clean; go vet (darwin),
GOOS=linux and GOOS=windows go vet of internal/gui, update, settings ok;
go test -count=1 ./internal/update ./internal/settings ./internal/gui ok
(gui 99.9s). TestFreshStableInstallStaysOnStable goes red (2 subtests)
with the takeStable call removed (broken by hand, on mica). llms-full.txt
regenerated and current.
Not run: the full go test ./... (mote and mica each had several suites
queued on the lock); not tried with a real Stable install.
2026-11-14 12:17:40 +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