Project

General

Profile

Actions

Improvements #12606

closed

Allow WFileDropWidget to accept directories

Added by Matthias Van Ceulebroeck 8 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04/11/2024
Due date:
% Done:

100%

Estimated time:

Description

Currently when dropping files on this widget, only an actual file is accepted.
If you go through the dialog interface by clicking the widget, you are able to select multiple files.

However, none of these approaches allow for easily uploading a directory. This is essentially a short-hand for opening the directory in the dialog interface, and selecting all files.
But that only allows the direct ancestors, if you wish the upload a directory recursively, this still requires multiple clicks/selections, which can be cumbersome for a lot of files.

The widget should accept a drop of a directory, and be configurable to accept only its direct children (if they are files), or all its children recursively, meaning the contents of subdirectories as well.

Actions #1

Updated by Korneel Dumon 4 months ago

  • Status changed from InProgress to Review
  • Assignee changed from Korneel Dumon to Matthias Van Ceulebroeck
Actions #2

Updated by Matthias Van Ceulebroeck about 2 months ago

  • Status changed from Review to Implemented @Emweb
  • Assignee changed from Matthias Van Ceulebroeck to Korneel Dumon
  • % Done changed from 0 to 100
Actions #3

Updated by Matthias Van Ceulebroeck about 2 months ago

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: Atom PDF