Umbraco.CMS.Backoffice
Umbraco.CMS.Backoffice copied to clipboard
V15: Upload folders in dropzone
Description
Dropzone Manager update that can handle folder uploads.
Changes:
- Dropzone element can now be disabled.
- The dropzone no longer dispatches a change event. Instead listen for
progressorcompleteevent. - The observable
completedfrom dropzone manager has been removed. - Two new observables added:
progressandprogressItems - Dropzone element's method
getFileshas been removed. UsegetItemsinstead or observeprogressItems. createFilesAsMediahas been renamed tocreateMediaItemscreateFilesAsTemporaryhas been renamed tocreateTemporaryFiles- Can handle uploads of folders - drag in multiple files and folders with files at once and watch the magic ✨
Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Chore (minor updates related to the tooling or maintenance of the repository, does not impact compiled assets)
Quality Gate passed
Issues
7 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
This PR now targets V15, but unfortunately, I don't know enough about the code to resolve the merge conflict. We can probably include it in an RC of V15 if we get it resolved.