feature: allow to paste files from the clipboard (#195730)

* feature: add basic file pasting (native)

* feature: allow native file pasting to coexist with explorer file pasting

* refactor: remove console log

* undo-import-changes

* fix: lint

* refactor: move paste file handler to explorerView

* simplify code

* remove unused import

* fix: handle files without path when running in web

* 💄

* feature: add paste confirmation dialog

* improve confirmation message

* feature: improve confirmation message when items are folders and not files

* simplify code

* simplify code

* remove unused import

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
This commit is contained in:
Simon Siefke
2023-11-03 23:26:30 +01:00
committed by GitHub
parent c0dd927402
commit 96b17815bb
5 changed files with 59 additions and 6 deletions

View File

@@ -1042,6 +1042,7 @@ export const EventType = {
UNLOAD: 'unload',
PAGE_SHOW: 'pageshow',
PAGE_HIDE: 'pagehide',
PASTE: 'paste',
ABORT: 'abort',
ERROR: 'error',
RESIZE: 'resize',