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 7 months 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