Files
magpie/internal/gui/assets/plugins
yetone 97ccb90e88 routing: a group with no rule shows only the example rule's button, no paragraph under Rules (mr_coffee0083)
01a260af4 put a four-line paragraph under Rules in a group with no rule,
the whole setup for a thinking model and coding models spelled out. The
owner's UI rule: no secondary description the layout can carry. The
"Add an example rule" button stays, beside Add a rule and its ⓘ; the
rule it adds says what it is for in its own intent ("planning, design,
or a hard problem to think through"), to the group's last member.

- plugins/routing/client.js: rHint2 says only what holds the rules back
  (one model, routed by hand), as before 01a260af4.
- i18n.js: the paragraph's key out of zh, zh-TW, ja and de.
- routing-rule-example.test.cjs: the line under Rules is hidden while
  the button shows.

Run (wsl-run, magpie-desktop, Node 22, Playwright 1.62.0):
- routing-rule-example, i18n-keys, i18n-en-no-cjk: 27 of 28; the red is
  i18n-keys' "a plugin's words are its own" (#5327, the same on main).

Broken by hand: a "No rule yet" line put back under Rules for a group
with no rule: routing-rule-example 0 of 20, "no line under Rules".
Restored after.

Not tried: the real app window.
2026-11-05 16:35:38 +08:00
..