Skip to content

Feature/mdm 8 spatial canvas - #2

Merged
dudash merged 9 commits into
mainfrom
feature/MDM-8-spatial-canvas
May 7, 2026
Merged

dudash merged 9 commits into
mainfrom
feature/MDM-8-spatial-canvas

Conversation

@dudash

@dudash dudash commented May 7, 2026

Copy link
Copy Markdown
Owner

site updates and more

Copilot AI review requested due to automatic review settings May 7, 2026 00:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 thread site/index.html
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 thread site/index.html
Comment on lines +498 to +501
if (window.location.hash) {
window.requestAnimationFrame(() => {
document.getElementById(decodeURIComponent(window.location.hash.slice(1)))?.scrollIntoView();
});
Comment thread site/downloads/index.html
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 thread site/downloads/index.html
Comment on lines +233 to +236
if (window.location.hash) {
window.requestAnimationFrame(() => {
document.getElementById(decodeURIComponent(window.location.hash.slice(1)))?.scrollIntoView();
});
Comment thread src/interactive.rs
Comment on lines +14284 to +14285
app.handle_key(KeyEvent::new(KeyCode::Char('m'), KeyModifiers::SHIFT))
.expect("M should open the mindmap overlay");
@dudash
dudash merged commit 5a73dcd into main May 7, 2026
8 checks passed
@dudash
dudash deleted the feature/MDM-8-spatial-canvas branch May 7, 2026 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants