Skip to content

Add embeddable Markmap adapters and host playground#353

Open
adepalma wants to merge 23 commits into
markmap:masterfrom
adepalma:codex/markmap-embed
Open

Add embeddable Markmap adapters and host playground#353
adepalma wants to merge 23 commits into
markmap:masterfrom
adepalma:codex/markmap-embed

Conversation

@adepalma

@adepalma adepalma commented May 24, 2026

Copy link
Copy Markdown

Summary

  • Add markmap-embed for direct SVG embeds with auto-resize, node events, theme updates, and iframe host messaging.
  • Add React, Vue, and Svelte adapters for embedded Markmap views and hosted iframe integrations.
  • Add the examples/mindmaps-playground host app with local/HTTP persistence, recent maps, search, clone/delete, explicit titles, session auth, and origin hardening.
  • Add the services/mindmaps-api demo API used by the hosted playground.
  • Fix root recursive pnpm lifecycle scripts so pnpm build works on pnpm 11.

Verification

  • pnpm build
  • pnpm test:embed:browser
  • git diff --check

Notes

  • gh pr checks currently reports no checks for this branch.
  • Latest local verification was run after commit 1cc4c23.

@adepalma

Copy link
Copy Markdown
Author

Current branch update after 1cc4c23:

Summary:

  • Adds markmap-embed for SVG embeds, auto-resize, node events, themes, iframe host messaging, HTTP persistence, and origin hardening.
  • Adds React/Vue/Svelte adapters plus hosted iframe helper components.
  • Adds examples/mindmaps-playground and services/mindmaps-api demo flow with recent maps, search, clone/delete, titles, and session auth.
  • Fixes root recursive pnpm lifecycle scripts for pnpm 11 compatibility.

Verified locally:

  • pnpm build
  • pnpm test:embed:browser
  • git diff --check

Note: gh pr checks reports no checks for this branch.

@adepalma adepalma changed the title Add embeddable Markmap adapters Add embeddable Markmap adapters and host playground May 26, 2026
@adepalma

Copy link
Copy Markdown
Author

Split-out started for easier review:

  • Add embeddable Markmap package and adapters #354 contains the core markmap-embed package, React/Vue/Svelte adapters, parser support, and pnpm 11 script fix.
  • Keeping this larger PR open as the full feature branch/reference while smaller PRs are reviewed.

@adepalma

Copy link
Copy Markdown
Author

Second split branch prepared:

@adepalma

Copy link
Copy Markdown
Author

Third split branch prepared:

  • adepalma:codex/markmap-playground contains the Vite playground, HTTP persistence demo UI, services/mindmaps-api, and host-example Playwright coverage.
  • It is stacked on codex/markmap-host-sdk, which is stacked on Add embeddable Markmap package and adapters #354. Keeping it fork-side until earlier layers land to avoid duplicate upstream diff.

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.

1 participant