Collapsible editor sections + contextual help dialog
Collapsible editor sections + contextual help dialog
#55 in Riparion/riparion-cms — merged 2026-06-03
Summary
Editor UX work plus two new catalog components:
- Fold editor metadata into collapsible sections — post/page editors now group secondary metadata under a shared
EditorSection, keeping the markdown writing surface front-and-centre. Section bodies read from form signals, so collapsing never drops in-progress edits. - Open contextual help in a modal dialog — the admin header's ? button opens the current section's help article in a modal, rendered through the same Markdown + embed pipeline as the standalone
/help/:slugpage. It remains a real<a href>(crawlable, shareable, works pre-hydration / middle-click); a plain hydrated left-click intercepts to open the modal in place. - New
collapsibleanddialogcatalog components, wired to the project'sstyled_module!+LocalStylesheetsCSS-pinning pattern.
Changes
src/components/collapsible/*,src/components/dialog/*— new wrappers overdioxus_primitives(styling only)src/components/{mod,stylesheets}.rs— register + pin the new component CSSsrc/pages/admin/{mod,pages,posts}.rs—EditorSectionhelper +HelpButtonsrc/pages/reader/help/mod.rs— sharedhelp_slug_for/article_body_el/HelpIndexCards; newHelpButton
Testing
cargo fmt --check, clippy, and build gated by CI- Security review (
/security-review): no vulnerabilities — styling/refactor over the unchanged markdown pipeline on static, build-embedded help content
🤖 Generated with Claude Code
Last updated 2026-06-04
Links to this note
Credits
Merged pull requests, newest first.