Files
magpie/internal/gui/assets/plugins
yetone 772d502ffd library: updating a skill from GitHub spins its button and says updated, already up to date, or the error (zhexuanliuoutl1 on X)
A skill row's Update button only bobbed its arrow while the fetch ran, with the
row's actions hidden again as soon as the pointer left, and its toast said
"{name} is up to date" whether the update brought files or not.

- library.Result gets Current: UpdateSkill compares the skill's files, read
  whole (not from the stamp memo), before and after the update.
- The button's arrow spins (0.8s linear; a fade under reduced motion) and the
  row's actions stay in view until it ends. The toast says "{name} is
  updated" or "{name} is already up to date"; a failure is the error toast as
  before. No new labels on the row. Strings in zh, zh-TW, ja, de.

Run (WSL magpie-desktop, rebased on origin/main 31f75ddda):
- go test -tags nogui ./internal/library: ok. New TestUpdateSkillSaysWhenNothingChanged
  is red with Current never set (current [] twice), green with the change.
- go vet linux nogui, windows, darwin on internal/library: clean; gofmt -l clean.
- New GUI test skill-update-feedback (button spins while the reply is held,
  updated / already up to date / error toasts, en and zh): 3 of 3 in chromium
  and webkit; red (waitFor timeout) with the old single toast.
- GUI files the change reaches (skill-update-edited, gui-de/ja/zh-tw,
  i18n-keys, i18n-en-no-cjk): green in chromium and webkit.
- found-skill-pick-remove, inner-scroll-contain and library-loading are red
  the same on origin/main 961427f12 (#4097/#5013, #4689, #5997 are open).

Not run: go test of internal/gui (still going after 40 min on the shared WSL),
the whole GUI suite, a real GitHub update of hugohe3/ppt-master (no
network fetch in a sandbox HOME was tried).
2026-11-11 17:28:53 +08:00
..