Umbraco.CMS.Backoffice icon indicating copy to clipboard operation
Umbraco.CMS.Backoffice copied to clipboard

V15: Upload folders in dropzone

Open loivsen opened this issue 1 year ago • 2 comments

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 progress or complete event.
  • The observable completed from dropzone manager has been removed.
  • Two new observables added: progress and progressItems
  • Dropzone element's method getFiles has been removed. Use getItems instead or observe progressItems.
  • createFilesAsMedia has been renamed to createMediaItems
  • createFilesAsTemporary has been renamed to createTemporaryFiles
  • 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)

loivsen avatar Jul 15 '24 13:07 loivsen

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.

iOvergaard avatar Oct 01 '24 11:10 iOvergaard