Patch Changes
-
6088195: Google Drive Picker: close Google's picker dialog and show an error toast when it fails to load (e.g. because third-party cookies are blocked), instead of leaving an un-closable overlay over the page.
-
54d543c: Experimental manager mode is now headless: a file library renders it with
useS3Manager. In manager mode the plugin no longer mounts into the Dashboard (no tab, no file drops, noreopenAfterUploadpanel), and closing a Dashboard panel no longer resets its state or aborts its requests.useS3Managerwarns when given a plugin in picker mode. Removed: the item detail dialog (opened by a click on a file) and S3'sgetPreviewUrl; the "Select multiple" toggle and the bulk-actions footer, with theselectionActiveplugin state andProviderView.toggleSelectionMode(); the core stringsopenFileNamed,itemsSelected,selectMultiple,cancelSelection,close,detailSize,detailTypeanddetailModified; and the--uppy-color-secondarytheming variable.useS3ManagerandcreateS3ManagerControllerno longer havestate.selectionActiveortoggleSelectionMode(): a headless UI keeps its own selection mode and clears the selection withcancelSelection().The
standaloneoption is removed: the Dashboard shows its "Import from …" bar with Cancel, and the panel its Log out row, again. TransloaditStorage plugins that relied onstandalonefor manager mode now start in picker mode: passmode: 'manager'.With the panel gone, so is what only it needed: the progress screen's Stop button (and the
stopOperationstring), and the busy state that disabled the header, filter and breadcrumbs during a long operation. Long operations, their progress text andcancelLongOperation()remain foruseS3Manager. Picker mode is unchanged, including the item menu, toolbar actions and dialogs that Transloadit Storage's picker actions use.If an app runs manager mode inside a Dashboard with
@uppy/s30.1.x or@uppy/transloadit-storage0.1.x, the panel will be empty once its^6.2.0range picks up@uppy/core6.3. Those plugins stay on 0.1.x, because a caret range on a 0.x version doesn't cross minors. Nothing throws. Render manager mode withuseS3Manager, or keep@uppy/coreon 6.2 until then. Picker mode is unaffected. -
Updated dependencies [b47ca2d]
-
Updated dependencies [715eb80]
-
Updated dependencies [6088195]
-
Updated dependencies [54d543c]
-
Updated dependencies [a7a7997]
-
Updated dependencies [a17c84d]
- @uppy/core@6.3.0