Repository navigation
Feature/mdm 8 spatial canvas - #2
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR expands mdmind’s “visual navigation” story by introducing a new full-screen spatial canvas surface in the TUI (with the legacy mindmap retained), and updates the repository’s public-facing documentation/site to reflect the new UX and a more formalized file-format spec.
Changes:
- Add a new spatial canvas overlay in the TUI (
m), keep the legacy mindmap available (M), and extend help/palette/test coverage accordingly. - Introduce a
spec/folder with a normative “mdmind format 1” document plus fixtures. - Refresh the static site + skills docs and clean up bundled example sidecar files (and ignore them going forward).
Reviewed changes
Copilot reviewed 58 out of 60 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/cli.rs | Updates example-copy assertion to match new bundled example root text. |
| src/startup.rs | Updates example map test expectation to match new bundled example content. |
| src/interactive.rs | Implements spatial canvas state, navigation, rendering, palette action, and extensive tests; updates help text/keys. |
| spec/tests.json | Adds a JSON test manifest describing spec fixtures and expectations. |
| spec/README.md | Adds overview of what is normative in the spec folder. |
| spec/mdmind-1.md | Adds the “mdmind Format 1” normative spec document. |
| spec/fixtures/valid/relations.md | Adds valid relations fixture. |
| spec/fixtures/valid/details.md | Adds valid details fixture. |
| spec/fixtures/valid/basic.md | Adds basic valid fixture. |
| spec/fixtures/invalid/orphan-detail.md | Adds invalid orphan-detail fixture. |
| spec/fixtures/invalid/duplicate-id.md | Adds invalid duplicate-id fixture. |
| spec/fixtures/invalid/bad-indent.md | Adds invalid indentation fixture. |
| skills/README.md | Expands skill install instructions and adds broader agent path notes. |
| skills/mdmind-map-authoring/SKILL.md | Rewrites skill description for clarity and broader agent applicability. |
| skills/mdm-cli-inspection/SKILL.md | Rewrites skill description for clarity and broader agent applicability. |
| site/styles.css | Adds theme system, sticky header styling, and theme-cycler UI styles. |
| site/index.html | Adds theme switcher + sticky header behavior and updates agent/skills copy. |
| site/downloads/index.html | Adds theme switcher + sticky header behavior and updates agent/skills copy. |
| README.md | Points readers to the new spec and updated agent-skill docs. |
| examples/README.md | Updates wording (“traditional outliner-style”). |
| examples/meeting-notes-action-map.md | Updates wording away from OmniOutliner-specific phrasing. |
| examples/game-world-moonwake.md | Refines example content and moves some prose into details. |
| examples/.product-status.md.mdmind-ui.json | Removes committed runtime sidecar. |
| examples/.product-status.md.mdmind-session.json | Removes committed runtime sidecar. |
| examples/.product-status.md.mdmind-locations.json | Removes committed runtime sidecar. |
| examples/.novel-research-writing-map.md.mdmind-ui.json | Removes committed runtime sidecar. |
| examples/.novel-research-writing-map.md.mdmind-session.json | Removes committed runtime sidecar. |
| examples/.novel-research-writing-map.md.mdmind-locations.json | Removes committed runtime sidecar. |
| examples/.meeting-notes-action-map.md.mdmind-ui.json | Removes committed runtime sidecar. |
| examples/.meeting-notes-action-map.md.mdmind-session.json | Removes committed runtime sidecar. |
| examples/.meeting-notes-action-map.md.mdmind-locations.json | Removes committed runtime sidecar. |
| examples/.lantern-studio-map.md.mdmind-ui.json | Removes committed runtime sidecar. |
| examples/.lantern-studio-map.md.mdmind-session.json | Removes committed runtime sidecar. |
| examples/.lantern-studio-map.md.mdmind-locations.json | Removes committed runtime sidecar. |
| examples/.game-world-moonwake.md.mdmind-ui.json | Removes committed runtime sidecar. |
| examples/.game-world-moonwake.md.mdmind-session.json | Removes committed runtime sidecar. |
| examples/.game-world-moonwake.md.mdmind-locations.json | Removes committed runtime sidecar. |
| examples/.demo.md.mdmind-views.json | Removes committed runtime sidecar. |
| examples/.demo.md.mdmind-ui.json | Removes committed runtime sidecar. |
| examples/.demo.md.mdmind-session.json | Removes committed runtime sidecar. |
| examples/.demo.md.mdmind-locations.json | Removes committed runtime sidecar. |
| examples/.decision-log.md.mdmind-ui.json | Removes committed runtime sidecar. |
| examples/.decision-log.md.mdmind-session.json | Removes committed runtime sidecar. |
| examples/.decision-log.md.mdmind-locations.json | Removes committed runtime sidecar. |
| examples/.agent-research-handoff.md.mdmind-session.json | Removes committed runtime sidecar. |
| examples/.agent-research-handoff.md.mdmind-locations.json | Removes committed runtime sidecar. |
| docs/USING_MDMIND_AS_OUTLINER.md | Updates wording away from OmniOutliner-specific phrasing. |
| docs/USER_GUIDE.md | Updates mindmap relation-link description wording. |
| docs/SPATIAL_CANVAS.md | Updates spatial canvas doc to reflect shipped Phase 1 behavior and keybindings. |
| docs/SKILLS.md | Removes the old SKILLS.md format doc. |
| docs/SKILLS_CUSTOMIZING.md | Adds guidance for customizing installed skills via “Project Overrides”. |
| docs/README.md | Updates doc index links to new spec + agent-skill docs. |
| docs/product/features/README.md | Adds a “current product snapshot” section including spatial canvas status. |
| docs/product/features/future/spatial-canvas.md | Updates spatial canvas feature status from “future” to “partially shipped”. |
| docs/AGENTS_SNIPPET.md | Adds a compact AGENTS.md snippet for always-on project context. |
| docs/AGENT_USAGE.md | Updates guidance to point to skill customizing rather than SKILLS.md. |
| docs/AGENT_SKILL_INSTALLS.md | Adds agent skill install path notes + references. |
| .gitignore | Ignores example sidecar runtime JSON files going forward. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+469
to
+477
| const searchParams = new URLSearchParams(window.location.search); | ||
| const requestedTheme = | ||
| themeAliases[searchParams.get("theme")] || | ||
| themeAliases[searchParams.get("audience")] || | ||
| themeAliases[searchParams.get("mode")]; | ||
| let storedTheme = window.localStorage.getItem("mdmind-theme"); | ||
| if (storedTheme === "ember" || storedTheme === "layer") storedTheme = "terminal"; | ||
| if (storedTheme === "grove") storedTheme = "blueprint"; | ||
| let activeThemeIndex = themes.findIndex((theme) => theme.id === (requestedTheme || storedTheme || "blueprint")); |
Comment on lines
+498
to
+501
| if (window.location.hash) { | ||
| window.requestAnimationFrame(() => { | ||
| document.getElementById(decodeURIComponent(window.location.hash.slice(1)))?.scrollIntoView(); | ||
| }); |
Comment on lines
+204
to
+213
| const searchParams = new URLSearchParams(window.location.search); | ||
| const requestedTheme = | ||
| themeAliases[searchParams.get("theme")] || | ||
| themeAliases[searchParams.get("audience")] || | ||
| themeAliases[searchParams.get("mode")]; | ||
| let storedTheme = window.localStorage.getItem("mdmind-theme"); | ||
| if (storedTheme === "ember" || storedTheme === "layer") storedTheme = "terminal"; | ||
| if (storedTheme === "grove") storedTheme = "blueprint"; | ||
| let activeThemeIndex = themes.findIndex((theme) => theme.id === (requestedTheme || storedTheme || "blueprint")); | ||
| if (activeThemeIndex < 0) activeThemeIndex = 0; |
Comment on lines
+233
to
+236
| if (window.location.hash) { | ||
| window.requestAnimationFrame(() => { | ||
| document.getElementById(decodeURIComponent(window.location.hash.slice(1)))?.scrollIntoView(); | ||
| }); |
Comment on lines
+14284
to
+14285
| app.handle_key(KeyEvent::new(KeyCode::Char('m'), KeyModifiers::SHIFT)) | ||
| .expect("M should open the mindmap overlay"); |
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.
site updates and more