Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drag-and-drop directories in the web UI #54

Open
bradfitz opened this issue Oct 8, 2012 · 2 comments · May be fixed by #1264
Open

drag-and-drop directories in the web UI #54

bradfitz opened this issue Oct 8, 2012 · 2 comments · May be fixed by #1264

Comments

@bradfitz
Copy link
Contributor

bradfitz commented Oct 8, 2012

Chrome now (or will shortly) support drag & drop directories:

http://code.google.com/p/chromium/issues/detail?id=99823
http://wiki.whatwg.org/wiki/DragAndDropEntries

We should add support for this in the Camlistore web UI.
@bradfitz
Copy link
Contributor Author

Comment 1:

Labels changed: added priority-low, removed priority-medium.

@bradfitz
Copy link
Contributor Author

Comment 2:

Aaron, leaving this to you to decide whether you want to Accept or make it StarterBug.

Labels changed: added component-ui.

Status changed to HelpWanted.

omarchehab98 added a commit to omarchehab98/perkeep that referenced this issue Jun 13, 2019
Summary:

Re-implement drag-and-drop handler to upload files and optionally support directories if browser implements `webkitGetAsEntry` on `DataTransferItem`.

Test Plan:

Case A) Directory

1. Drag and drop a directory
2. Perkeep should receive all files, even deeply nested ones

Case B) Files

1. Drag and drop a selection of many files
2. Perkeep should receive all files

Case C) Other elements

1. Drag and drop non-file and non-directory elements such as an HTML image
2. Nothing should happen

Closes: perkeep#54 perkeep#657
omarchehab98 added a commit to omarchehab98/perkeep that referenced this issue Jun 13, 2019
Summary:

Re-implement drag-and-drop handler to upload files and optionally support directories if browser implements `webkitGetAsEntry` on `DataTransferItem`.

Test Plan:

Case A) Directory

1. Drag and drop a directory
2. Perkeep should receive all files, even deeply nested ones

Case B) Files

1. Drag and drop a selection of many files
2. Perkeep should receive all files

Case C) Other elements

1. Drag and drop non-file and non-directory elements such as an HTML image
2. Nothing should happen

Closes: perkeep#54 perkeep#657
omarchehab98 added a commit to omarchehab98/perkeep that referenced this issue Jun 13, 2019
Summary:

Re-implement drag-and-drop handler to upload files and optionally support directories if browser implements `webkitGetAsEntry` on `DataTransferItem`.

Test Plan:

Case A) Directory

1. Drag and drop a directory
2. Perkeep should receive all files, even deeply nested ones

Case B) Files

1. Drag and drop a selection of many files
2. Perkeep should receive all files

Case C) Other elements

1. Drag and drop non-file and non-directory elements such as an HTML image
2. Nothing should happen

Closes: perkeep#54 perkeep#657
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant