You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add mindmap page type rendered as a left-to-right Mermaid tree.
Pages marked `page_type = 'mindmap'` stay plain markdown but render in
the viewer as an orthogonal flowchart — headings (or bullet lists as
fallback) become tree nodes with right-angle `stepBefore` edges, and
per-level colors pulled from the wiki CSS variables so the diagram
tracks theme switches live.
Backend adds `pages.page_type` via migration 9; search / public
responses include it. Type toggles are metadata-only (no version bump,
no base_version required), matching `is_public` semantics.
Frontend adds a deterministic parser (`lib/mindmap.js`), a MindmapView
component, shared Mermaid init (`lib/mermaidBootstrap.js`, also adopted
by MarkdownViewer), a document/mindmap toggle on the new-page screen,
and a split live-preview when editing mindmap pages.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments