uppy/packages/@uppy/core/src
Artur Paikin c4a637655d
Golden Retriever 2: Return of the Ghost (#2701)
* don’t store file.data on local files when we save to localStorage, add isGhost: true, additional event restore-confirmed

Co-Authored-By: Renée Kooi <github@kooi.me>

* Don’t double-emit upload-started for Golden Retriever-restored files that were already started

Co-Authored-By: Renée Kooi <github@kooi.me>

* removeFile: delete updatedUploads[uploadID] instead of calling _removeUpload to avoide excess state updates

Co-Authored-By: Renée Kooi <github@kooi.me>

* clear preview, throttle saving state

* add service message and ghost icons

* regenerate thumnails on restore properly

* allow replacing duplicate files if it’s a ghost

* re-generate thumbnails on componentDidUpdate

* tweak styles for ghosts

* Dashboard cleanup

* refactor: load IndexedDBStore and ServiceWorkerStore together, add uninstall, handle file-edit-complete

* recoveredState — show upload button as “restore”, hide progress pause/resume, handle abortRestore

* tweak serviceMsg mobile styles

* use i18n for strings

* Handle aborting, complete and last file removal with MetaDataStore.cleanup(instanceID)

* fix all the tests

* import .eslintrc from master

* autofix

* add lodash.throttle

* when re-selecting ghost files, only replace the blob, keeping progress, meta, etc

* Delete package-lock.json

* Update en_US locale

* add golden retriever support to darkmode styles

* add golden retriever to website example

* Update package-lock.json

Co-authored-by: Renée Kooi <github@kooi.me>
2021-05-12 16:30:30 +01:00
..
__snapshots__ Upgrade standard to v14 (#1860) 2019-10-09 14:53:02 +02:00
_common.scss dashboard: improve support for right-to-left scripts (#2705) 2021-01-27 17:13:38 +00:00
_utils.scss Dark mode design improvements (#2232) 2020-05-05 18:02:24 +02:00
_variables.scss Golden Retriever 2: Return of the Ghost (#2701) 2021-05-12 16:30:30 +01:00
index.js Golden Retriever 2: Return of the Ghost (#2701) 2021-05-12 16:30:30 +01:00
index.test.js Golden Retriever 2: Return of the Ghost (#2701) 2021-05-12 16:30:30 +01:00
loggers.js Update Linter (#2796) 2021-03-15 16:25:17 +00:00
Plugin.js Update Linter (#2796) 2021-03-15 16:25:17 +00:00
Plugin.test.js Fix setPluginState 2018-07-19 13:02:23 +02:00
style.scss Move stylesheets into packages. 2018-06-18 12:35:47 +02:00
supportsUploadProgress.js Add supportsUploadProgress() tests 2018-12-03 14:35:52 +01:00
supportsUploadProgress.test.js Add supportsUploadProgress() tests 2018-12-03 14:35:52 +01:00