Allow to drop files on the whole file list to upload using drag and drop
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
Context:
- Drag and drop is - since Nextcloud 28 with the Vue migration - possible on the "drop zone".
- With Nextcloud 31 the same is also valid for public shares.
Design enhancement for UX: Instead of forcing users to exactly drop onto the drop zone, the whole file list should be the drop zone.
Meaning:
- Also dropping on empty space shall upload a file to the current folder.
- Dropping on a folder should upload to that folder
- Dropping onto a file should be the same as dropping on empty space: Upload to current folder
Please use the 👍 reaction to show that you also would like to see this feature. Please don't comment if you have no relevant information to add!
Original report
Bug description
Tried on c.nc.com (Hub4)
drag&drop only works if the user drops the files directly on the upload button
Steps to reproduce
- create a file drop link
- open the file drop link
- try to upload a file via drag&drop
(tested with Firefox 111.0.1 on Linux in case the browser makes a difference)
Expected behavior
I would expect that I can drop the files everywhere on the window and it will be uploaded. Currently it only works if I drop the file directly on the upload button.
Installation method
None
Nextcloud Server version
26
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
No response
List of activated Apps
-
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing drag-and-drop entry point for the file list and the current drop zone, including the public-share flow described in the issue. Verify the three checklist behaviors: empty space and files upload to the current folder, while folders receive the upload; add or update the relevant frontend coverage if present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100