uppy/private
Mikael Finstad 3dd1e5e68c
@uppy/provider-views: fix race condition when adding folders (#4384)
* fix race condtion when adding files

don't call addFolder from listAllFiles
because that would call addFile before all folders were loaded

also remove unused selectedFolders state

* fix also the case of adding multiple folders

* fix todo: remove SharedHandler

* remove loaderWrapper

* fix logic

* fix the last race condition

* fix broken duplicate file check

* fix logic

* prettiyfy loop

* add user feedback

so they know that something is happening

* run corepack yarn run build:locale-pack

* Revert "run corepack yarn run build:locale-pack"

This reverts commit 85548ce2fc.

* Revert "add user feedback"

This reverts commit 4060019c35.

* use async generator instead of p-map

* re-fix race-condition

* remove providerFileToId

as suggested by @arturi

* use addFiles instead of addFile

* rename function

* use provider-supplied file ID

instead of generating an ID, for providers that we whitelsit
this allows adding the same time many times (with a different path)

* call core directly

* improve dev dashboard

* disable experimental getAsFileSystemHandle

it seems to be causing problems when dropping folders with subfolders in newest chrome
e.g a folder with 50 files and a subfolder which in turn has another 50 files

also refactor and document the code more

* Update packages/@uppy/provider-views/src/ProviderView/ProviderView.jsx

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>

* mov eto utils

---------

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2023-04-04 12:13:39 +09:00
..
@types/jasmine ci: update Webdriverio packages (#3027) 2021-07-19 23:20:35 +02:00
dev @uppy/provider-views: fix race condition when adding folders (#4384) 2023-04-04 12:13:39 +09:00
locale-pack Remove the website (#4369) 2023-03-24 00:33:46 +08:00
release @uppy/robodog: remove package (#3946) 2022-08-22 17:19:15 +02:00
remark-lint-uppy Add blog post 3.1-3.3 🎄 (#4255) 2022-12-22 23:51:12 +00:00
vue-template-compiler example: update Vue2 example (#3802) 2022-06-02 20:11:32 +02:00
README.md Add retext to markdown linter (#3024) 2021-10-14 16:10:45 +02:00

Private packages

Node.js packages for internal use by Uppy, like build tooling. These are not published to npm.