Improve folder upload error message in drag and drop interface
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem Description
When users try to upload files by clicking the + button next to the branch name and selecting "Upload file," then attempt to drag and drop a folder, the system shows an error message that isn't user-friendly or clear enough. The error message also appears as a toast, which is behind the modal and sometimes not even visible to users.
Current Behavior
Screen_Recording_2025-04-01_at_5.11.41_PM.mov
Expected Behavior
When users attempt to drag and drop a directory into the Upload file modal, display an error message in the modal:
Steps to Reproduce
- Go to the project repository page
- Click the + button next to the branch name
- Select "Upload file"
- Try to drag and drop a folder into the upload area
- Observe the error message
Edited by 🤖 GitLab Bot 🤖