Commit graph

14 commits

Author SHA1 Message Date
f81b5ef532 fix: stop canvas zoom when scrolling property tip
Wheel events inside pinned tips and the prop editor no longer bubble to the canvas host.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 11:07:45 +08:00
993fcaa2fd fix: enlarge prop editor and support pinned property tips
Make the double-click editor wider with auto-growing textareas, clamp hover tips inside the viewport, and allow click-to-pin / right-click-to-unpin for presentation.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 11:02:43 +08:00
4c9bd5b86f feat: add PNG/SVG export and expandable card property tips
Toolbar exports PNG (fit+raster) and SVG; card click expands full fields, hover shows property tooltips, double-click opens the editor.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 10:43:33 +08:00
23ff27122f fix(dsh-plugin): resolve host peers via ESM import
Linked plugins under dsh.cmd break createRequire from import.meta.url; use dynamic import with profile node_modules fallbacks.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 19:38:04 +08:00
4bffec1d81 fix: make glass cards a solid elevated surface without strip dividers
Remove header bands and inner hairlines that read as stacked strips; restore a lighter opaque fill and heavier shadow so cards stay readable on the dark canvas.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 23:46:48 +08:00
74f0d8e78a feat: add topology view mode with router icons and link-style edges
Canvas-global nodeViewMode (bubble/card/topology) can be set at create or via prefs; topology draws NE routers with straight blue center links and exposes router icon to agents.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 22:35:53 +08:00
200c8bd450 feat: glass cards with readable attribute lists
Replace raw JSON on card faces with key-value lists, simulate frosted glass on canvas, and use a list editor plus real backdrop blur for the selected overlay.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 21:17:00 +08:00
4c6e5964a8 fix: migrate packaged canvas DB to stable DSH_HOME path on update
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 11:47:48 +08:00
ddd75287f3 fix: keep monorepo data dir when bundle/ is present locally
Packaged mode was chosen whenever bundle existed, so local link used
packages/dsh-plugin/data (empty) instead of mind-map/data (real canvases).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 11:46:24 +08:00
b336ad5a4c fix: manual mind-map open shows roster; only AI auto-enters canvas
Stop restoring last canvas from sessionStorage/sticky meta on open.
Manual +/sidebar open clears live canvas and shows the list; AI
pendingEnter / fresh meta.enter still jumps straight into the map.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 11:40:55 +08:00
b23959400d feat: ship prebuilt plugin bundle for remote dsh install
Remote github installs only get packages/dsh-plugin; without bundle the
host tried pnpm build and hung. Pack web+server into bundle/ and start
from it so other machines can run after dsh plugin add.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 10:45:08 +08:00
d95f033d1f feat: sync canvas toolbar locale with DSH zh/en
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 09:37:31 +08:00
288ebf4c90 fix: isolate canvas CJK strings and guard build encoding
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 09:32:59 +08:00
2ecd300ada Initial commit: DSH mind-map canvas monorepo
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 08:53:37 +08:00