[codex] add interactive Markmap view#11
Open
ryan-wong-coder wants to merge 3 commits into
Open
Conversation
Add a readable document map with rich block previews and focused navigation.\n\nCloses text2future#8
12 tasks
Author
|
补充修复 Markmap 预览面板关闭按钮被右上角“编辑 / 导图”视图切换器完全遮挡的问题。 根因是切换器位于外层叠放上下文,单纯提高预览面板 验证:
修复提交:d19433d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add an interactive Markmap document view alongside the existing editor. The new view renders the complete Markdown structure, supports zooming, panning, folding, fullscreen presentation, and a reading-focused zoom shortcut. Clicking text nodes opens a right-side preview for rich content including prose, tables, code, Mermaid diagrams, and AI thread cards.
Why
Long documents are difficult to understand from the editor's linear view alone. This gives users a readable overview while preserving the original Markdown as the single source of truth. Long Chinese text is constrained to a comfortable node width with a two-line preview instead of collapsing into narrow columns or disappearing.
Closes #8.
Supersedes #9, which was closed after the upstream
mainhistory was rewritten for the 1.0.6 release. This branch is rebuilt directly on the new upstream root.How tested
cargo test --workspacecargo fmt --checkcargo clippy --workspace -- -D warningsnpm run lint(no lint script is defined)npx vitest run app/flowix-web/features/document/components/markmap/markmap-data.test.ts— 6 tests passednpm run buildnpm run tauri:build:macRisks
Checklist
.envfiles touchedmain