Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V14/feature/handling of folders in dropzone #2116

Open
wants to merge 32 commits into
base: main
Choose a base branch
from

Conversation

loivsen
Copy link
Contributor

@loivsen loivsen commented Jul 15, 2024

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)
  • 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)

Copy link

sonarcloud bot commented Jul 25, 2024

@loivsen loivsen marked this pull request as ready for review September 26, 2024 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants