Files
magpie/docs
yetone de321cc92e gui: Settings' search finds by a part's name, unfolds an Advanced around a hit, and reaches the settings sheets build
Three gaps in Settings' search (the UI/UX scan's item 12):
- every part matched its tab's id too, so "usage" brought all of
  Allowances (id usage), rows that never say it included. A part is now
  found by its name; Observability still answers to "otel".
- a hit under a folded Advanced (Network and sharing's Name) stayed
  folded, so the part showed with nothing in it to see. It is unfolded
  while the search lasts and folded again when it ends (setFolds, in the
  lazy provlinks.js, so the core grows by two calls).
- what an agent's sheet or the Claude editor draws only when opened
  wasn't in the page to be found: Claude Code's prompt cache (main and
  subagents), its commit signature (Co-Authored-By), an agent's own
  fields (permission mode) and the Claude editor's run mode (claude -p).
  Each has a link row now, in the agent's or provider's name; Open opens
  the sheet or editor and lights the row, again if the editor draws it
  anew once the provider list is in (lightWhen).

docs/subsystems/gui-shell.md says so.

Run (mote, at this tree, rebased on origin/main 98355866f):
- settings-search-reach (new), settings-search, provider-prefs,
  provider-prefs-layout, settings-groups, settings-back,
  settings-tabs-stick, settings-hints, i18n-keys, gui-de, claude-mode,
  claude-cache, claude-attribution, claude-permission-mode,
  claude-lean-prompt-setting, claude-extra-usage-setting, agent-prefs,
  sync-own-fields, update-row-steady, win-caption; Chromium and WebKit,
  every language: 349 of 355 pass. The 6 red are settings-groups' "warm-ups
  and check-in" (an extra "Spend extra usage" row), red the same on
  origin/main 98355866f and filed as #6597.
- go test ./internal/gui -run 'TestCoreScriptBudget|TestI18n|TestCSS':
  ok, no budget raised.

Broken by hand, each red in both engines and every language (12 of 12),
then put back:
- the old code (origin/main): "usage" brings Menu bar cost.
- the tab's id put back in a part's words: the same.
- setFolds' unfold removed: "its Advanced unfolded".
- the fold-back on clear removed: "folded again after the search".
- sheetLinks not called: "Co-Authored" finds nothing.
- the run mode's link left out: "claude -p" finds nothing.
- lightWhen lighting only its first find: the editor's run-mode row is
  never lit (the editor draws it anew).

Not tried: the real app window; agents other than Claude Code with own
fields (the rows come from the same a.own list).
2026-11-18 13:16:18 +08:00
..