Implement the OPML menu editor #25
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Replace the Menu Editor placeholder with the bDS2-compatible tree editor over the existing OPML menu engine.
Current state
Required behavior
Implementation notes
Acceptance criteria
Implemented in
92a942d. Replaced the placeholder with the complete localized OPML tree editor: page/submenu/category drafts, normal metadata-backed category creation, sibling moves, indent/unindent, protected Home, validated before/after/inside drag-and-drop with 450 ms submenu expansion, save/reload feedback, native Save integration, and accessible toolbar equivalents. Corrected the OPML engine to emit/read canonical bDS2 pageSlug/categoryName/category-archive data, recursively normalize Home, ignore foreign outlines, and feed the saved tree to rendering; also fixed root category archive URLs. Neutral review covered the issue, bDS2 handlers/tree operations, menu.allium, and editor_misc.allium. Verified with Allium check/analyse, cargo fmt, clippy -D warnings, cargo build --workspace, cargo test --workspace, canonical round-trip/renderer/category persistence tests, and visual QA of the packaged macOS app.