Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

feat: drag and drop file upload should not differentiate between files and directories #81

@travis

Description

@travis

We added the ability to upload directories in #79

This introduces kind of a funny UX where you need to be in "file" mode to drag and drop files and "directory" mode to drag and drop directories - it would probably be better to let users drag and drop whatever they want, and only really differentiate between types of uploads in the "click to browse files" flow.

In order to do this we will probably need to move away from the HTML Input-based drag and drop functionality and use the HTML Drag and Drop APIs directly:

https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API/File_drag_and_drop

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions