Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
30dd902
Add 6 source-sync editing features to D2 editor
claude Jun 2, 2026
792a0a6
Remove unused showElementKey function
claude Jun 2, 2026
c50178a
Fix shape previews, shape regex, and rename-label bugs
claude Jun 2, 2026
2c20acc
Bake D2 shape preview SVGs into separate file
claude Jun 2, 2026
a37d049
Add .gitignore for node_modules
claude Jun 2, 2026
6883047
Shape picker: remove text labels, add image placeholder
claude Jun 2, 2026
ad6f784
Shape picker: bigger layout, no borders, full-screen mobile; fix undo…
claude Jun 2, 2026
ec0549a
Shape picker: zoom shapes to fill buttons; image shape icon URL popup
claude Jun 2, 2026
ceaab01
Shape picker: white button backgrounds, fix SVG crop guard
claude Jun 2, 2026
fce276d
Fix shape preview crop: target inner D2 SVG, not outer wrapper
claude Jun 2, 2026
a7c35da
Shape picker: use shape names in previews, better highlight, fix cent…
claude Jun 2, 2026
fad09eb
Shape picker: fix class preview, highlight current shape on open
claude Jun 2, 2026
8ba9782
Fix class shape preview: use MyClass not class as node name
claude Jun 2, 2026
4f37e14
Use ClassName for class shape preview (Class is also reserved in D2)
claude Jun 2, 2026
8850be9
Pre-fill edge label popup and widen edge hit area
claude Jun 2, 2026
f4ec5f3
Stack action menu vertically on mobile
claude Jun 2, 2026
cc60ec3
Make action menu always vertical
claude Jun 2, 2026
f2991e8
Clarify connect/rename popups and position edge label popup at midpoint
claude Jun 2, 2026
88eea48
Fix deleteNode removing parent block when deleting nested node
claude Jun 2, 2026
1cffa18
Fix edge action menu order, label button text, and hit area
claude Jun 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
package-lock.json
package.json
3 changes: 3 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ For example, PR #16 with `tools/d2-editor.html` is at:
`https://tools.bobwhitelock.co.uk/pr-16/tools/d2-editor.html`

Use this to inspect deployed code and debug issues when working on any tool.

After pushing, wait for CI to pass, then wait a further ~1 minute for the deploy
to complete before loading the preview URL.
Loading
Loading