Skip to content

Open dropped Excalidraw files as maps#198

Merged
jsgrrchg merged 1 commit into
mainfrom
fix-excalidraw-pane-drop
Jun 3, 2026
Merged

Open dropped Excalidraw files as maps#198
jsgrrchg merged 1 commit into
mainfrom
fix-excalidraw-pane-drop

Conversation

@jsgrrchg
Copy link
Copy Markdown
Owner

@jsgrrchg jsgrrchg commented Jun 3, 2026

Summary

  • Open dropped .excalidraw vault entries as map tabs in the shared multipane tab builder.
  • Add a regression test covering Excalidraw file drops into a specific workspace pane.

Root Cause

The normal file-open path had a dedicated Excalidraw branch, but multipane drag/drop goes through buildVaultEntryTab(...). That builder inferred viewer kind map but did not create a kind: "map" tab before falling through to read_vault_file, so Excalidraw files opened as text.

Validation

  • npm test -- src/features/editor/MultiPaneWorkspace.test.tsx

Fixes #197

@jsgrrchg jsgrrchg marked this pull request as ready for review June 3, 2026 15:25
@jsgrrchg jsgrrchg merged commit 87c3fa5 into main Jun 3, 2026
7 checks passed
@jsgrrchg jsgrrchg deleted the fix-excalidraw-pane-drop branch June 3, 2026 15:28
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.

Dragging Excalidraw files into multipane opens them as text

1 participant