ILIAS icon indicating copy to clipboard operation
ILIAS copied to clipboard

Add `dropzone` as npm Dependency for ILIAS 12

Open thibsy opened this issue 1 month ago • 1 comments

Assessment:

  • This dependency is responsible for client-side file upload handling.

General Information:

  • Name of the dependency: dropzone
  • Version: 6.0.0-beta.2
  • [X] this dependency was already used in ILIAS.
  • [X] the dependency's license is compatible with ILIAS' license: MIT

Type of dependency:

  • [ ] composer
  • [X] npm

Usage:

  • ILIAS\UI\Component\Input\Field\FileUpload *components/ILIAS/UI/resources/js/Input/Field/file.js

Reasoning:

  • This package is used by the UI file input to handle cliebt-side file uploads. It also supports chunked uploads which has been implemented in ILIAS 9. Besides that, the library also provides further functionality like drag-and-drop file selection and dynamic rendering of HTML previews.

Maintenance:

  • Last update of the Library: 2021-11-29

Links:

  • npm: https://www.npmjs.com/package/dropzone
  • GitHub: https://github.com/dropzone/dropzone.git
  • Documentation: https://www.dropzone.dev/js

Alternatives:

  • @uppy/core (has also been suggested once before)

thibsy avatar Dec 05 '25 16:12 thibsy

Jour Fixe, 08 DEC 2025: Dependency is accepted for ILIAS 12. We still should try to get rid of this library and substitute it by another one, e.g. @uppy/core. But this requires funding and ressources.

matthiaskunkel avatar Dec 08 '25 15:12 matthiaskunkel