Skip to content

feat: Add universal drag & drop file upload for all pages - #209

Closed
Valthois wants to merge 1 commit into
24eme:masterfrom
Valthois:claude/analyze-project-structure-019Vz5N5r4RHPqnAsycLYw9v
Closed

Valthois wants to merge 1 commit into
24eme:masterfrom
Valthois:claude/analyze-project-structure-019Vz5N5r4RHPqnAsycLYw9v

Conversation

@Valthois

Copy link
Copy Markdown

Implemented a comprehensive drag & drop functionality that works across all modes (Sign, Organization, Metadata, Compress):

  • Created new dragdrop.js module with full-screen drop zone
  • Added visual feedback overlay when dragging files over the window
  • Supports adding multiple files in Organization mode
  • Validates file types based on input accept attributes
  • Automatically detects the appropriate file input for the current page
  • Integrated into all pages via common.html.php

Behavior:

  • Upload pages: Allow drag & drop anywhere on screen
  • Organization page: Allow adding more files via drag & drop even with files loaded
  • Other pages (Sign/Metadata/Compress): Only allow drop on initial upload page

This improves user experience by making file uploads more intuitive and accessible.

Implemented a comprehensive drag & drop functionality that works across all modes (Sign, Organization, Metadata, Compress):

- Created new dragdrop.js module with full-screen drop zone
- Added visual feedback overlay when dragging files over the window
- Supports adding multiple files in Organization mode
- Validates file types based on input accept attributes
- Automatically detects the appropriate file input for the current page
- Integrated into all pages via common.html.php

Behavior:
- Upload pages: Allow drag & drop anywhere on screen
- Organization page: Allow adding more files via drag & drop even with files loaded
- Other pages (Sign/Metadata/Compress): Only allow drop on initial upload page

This improves user experience by making file uploads more intuitive and accessible.
@wincelau wincelau closed this Jun 5, 2026
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.

3 participants