openpencil/packages/docs/user-guide
Danila Poyarkov 7c4d9aa20d
feat: open documents dropped onto the window (#906)
* feat: open documents dropped onto the window

Dropping a .fig, .pen, or other readable document did nothing: the canvas drop handler places only images and SVG files and swallowed everything else. The workspace now opens dropped documents in new tabs through the same path as File → Open, passing the file handle where the browser provides one, and reports files it cannot open instead of ignoring them. Images and SVG files dropped on the canvas are still placed.

* fix: classify each dropped file instead of matching File identities

DataTransferItem.getAsFile() may return a new File, so checking it against the canvas files from dataTransfer.files could miss images and SVG files and open them as documents in engines other than Chromium. Each extracted file is now classified on its own; a spec checks that an SVG dropped on the canvas is placed without opening a tab.
2026-10-05 14:24:43 +00:00
..
auto-layout.md fix: match Figma when dragging, drawing, duplicating, and pasting (#894) 2026-10-05 12:39:03 +00:00
canvas-navigation.md feat(app): show who works on each page (#815) 2026-10-04 01:18:16 +04:00
checking-designs.md feat(lint): suggest group-to-frame and hidden-layer fixes; keep canvas edits in code previews (#870) 2026-10-04 12:46:06 +00:00
components.md docs: explain component library workflows (#520) 2026-08-14 20:39:47 +03:00
context-menu.md Use <kbd> for keyboard shortcuts across all docs 2026-03-08 12:48:02 +03:00
drawing-shapes.md fix: match Figma when dragging, drawing, duplicating, and pasting (#894) 2026-10-05 12:39:03 +00:00
exporting.md feat: open documents dropped onto the window (#906) 2026-10-05 14:24:43 +00:00
index.md feat: check designs live with a Lint panel, canvas markers, and fixes (#804) 2026-10-04 10:08:39 +00:00
layers-and-pages.md docs: clarify recovery cleanup and browser font scope 2026-09-15 23:19:29 +03:00
pen-tool.md update pen tool space drag spec 2026-03-27 21:27:45 +05:00
selection-and-manipulation.md feat: select layers at Figma's click depth (#900) 2026-10-05 12:39:04 +00:00
text-editing.md docs: clarify recovery cleanup and browser font scope 2026-09-15 23:19:29 +03:00
variables.md Move docs to packages/docs, add Cloudflare Pages deploy 2026-03-01 15:16:16 +03:00
vector-edit.md Quote vector edit docs descriptions 2026-03-27 21:54:54 +03:00