Repository navigation
Removed
- The sidebar footer 「规则」 button is gone. The panel used to register a second slot (
ctx.slots.inject('sidebar.footer.action'), idbaize-rules, order 1) that renderedRulesTriggerdirectly above Settings — the entry 0.2.2 had to add a sidebar-stacking CSS patch for. Removed together with it: the button component, its full-viewport no-tab-ring fallbackRulesOverlay, the rules icon, the module-scoped overlay store (useRulesOverlay), therules.sidebar.aria/rules.panel.open/rules.overlay.closelocale keys (zh + en), and the fivefooterActions/.baize-triggerCSS rules. The panel now registers exactly one slot —conversation.view— so it is reachable only from an open conversation's 「规则」 tab. - Accompanying trade-off, accepted deliberately: the new-chat page (no session yet ⇒ no tab ring) can no longer open the panel at all. Rule injection, the
/baize-rulescommand and the template library are untouched.
Changed
test/client.smoke.mjsasserts the single registration, and that nosidebar.footer.action,baize-triggerorRulesOverlaymarkup/CSS survives in the bundle.- README (EN + ZH) documents the single entry point and the new-chat trade-off.
assets/001-rules-panel.pngrecaptured without the footer button (same filename: README andscreenshots.jsonunchanged).
Install:
dsh plugin --profile web add dsh-baize-rules@0.2.4