Skip to content

Some optimizations#7

Open
jkklee wants to merge 2 commits into
plannotator:mainfrom
jkklee:main
Open

Some optimizations#7
jkklee wants to merge 2 commits into
plannotator:mainfrom
jkklee:main

Conversation

@jkklee

@jkklee jkklee commented Jun 23, 2026

Copy link
Copy Markdown

1. Floating overlay dismissible

fix(ux): make detail card closable to prevent blocking SVG content

Add a visible × close button to the bottom-right detail card; hide on
close, re-open on node click. Also encode this as a hard rule in
SKILL.md so future diagrams generated by the skill include it by
default.

2. Pan and zoom support

feat: add drag-to-pan and scroll-to-zoom for full-screen SVG diagram

Wrap SVG contents in a driven by transform. Pan at SVG-space 1:1
(no /scale division) so dragging feels responsive at any zoom level.
Zoom centered on cursor. Distinguish drag from click via a 5px
threshold. Add grab/grabbing cursors, zoom level indicator, and a
reset button. Also encode this as a hard rule in SKILL.md.

jkklee added 2 commits June 23, 2026 11:34
1. Floating overlay dismissible
  fix(ux): make detail card closable to prevent blocking SVG content
2. Pan and zoom support
  feat: add drag-to-pan and scroll-to-zoom for full-screen SVG diagram
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