Files
plugins/packages/agent-office/page
Zhaoji Wang 845fcfea4e agent-office: draw the Settings and picker chevrons as SVG (#740)
agent-office: the Settings button's chevron is an inline SVG that turns
over while the menu is open, and the Language, Scene and Quality pickers
draw the same chevron (appearance: none) in light and dark. .btn is
inline-flex so the chevron sits on the label's centre line, and an empty
Today token count no longer leaves a gap. Adapted by frederick-wang from
QingJ01/magpie-agent-office#4. Also re-stamps the page's asset
fingerprints, which were stale on main for model.js, scene.js,
scene3d.js and app.js since 0.3.0.

Run at the reviewed head 625619bb, on mote:
- HOME=<scratch> bun test packages/agent-office: 182 pass, 0 fail
  (main 1ad712d9: 181 pass).
- bun packages/agent-office/scripts/stamp-page.mjs --check: 0
  (main: 1, "stamps are stale"); every ?v= checked against sha256 of
  its file.
- bun scripts/check.mjs agent-office: 0.
- Playwright 1.62.0, Chromium and WebKit, light and dark, 1200x760 @2x,
  page served from the PR's files with a stub bridge: no page errors;
  chevron centre 95.58px vs label 95.59px in both engines (main's
  glyph: +1.0px Chromium, +1.1px WebKit); open menu turns it 180deg;
  Today padding 16/16; every .btn still 36.3px tall. Screenshots looked
  at, light and dark.

Not tried: inside the real magpie window (WKWebView/WebView2/WebKitGTK).
The three pickers are still native <select> elements (restyled, not
replaced); that is filed separately.
2026-11-05 09:38:34 +08:00
..