openpencil/tests/e2e/app
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
..
command-palette.spec.ts feat(app): jump between pages from the command palette (#801) 2026-10-01 20:26:35 +04:00
document-drop.spec.ts feat: open documents dropped onto the window (#906) 2026-10-05 14:24:43 +00:00
home-view.spec.ts refactor(ui): compose shared editor controls (#670) 2026-09-10 12:09:06 +03:00
menu.spec.ts fix: refresh Undo and Redo command availability 2026-09-14 00:25:36 +03:00
recent-files.spec.ts refactor(ui): compose shared editor controls (#670) 2026-09-10 12:09:06 +03:00
support-gate.spec.ts fix: explain unsupported browsers instead of a blank window (#745) 2026-09-22 14:40:59 +04:00
tab-close.spec.ts refactor(ui): compose shared editor controls (#670) 2026-09-10 12:09:06 +03:00
tab-preparation.spec.ts test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
unsaved-changes.spec.ts fix: protect unsaved documents and defer credential access (#713) 2026-09-17 15:25:15 +03:00
webmcp.spec.ts feat(settings): unify preferences and integration editors 2026-09-15 16:34:05 +03:00