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

move a single file/folder via drag & drop #5592

Closed
exalate-issue-sync bot opened this issue Jul 30, 2021 · 4 comments · Fixed by owncloud/owncloud-design-system#1539
Closed

move a single file/folder via drag & drop #5592

exalate-issue-sync bot opened this issue Jul 30, 2021 · 4 comments · Fixed by owncloud/owncloud-design-system#1539
Labels
Type:Story User Story

Comments

@exalate-issue-sync
Copy link

User story

"As a non-touch-device user I want to be able to move a single file or folder via Drag & Drop to a different location to tidy up my folder."

Acceptance critera

  • no subfolder navigation on move. we only let users drop files and folders into direct subfolders.
  • use https://github.com/SortableJS/Vue.Draggable (because native html draggable doesn't support dragging multiple items)
  • easily adaptable to other file views (e.g. grid view, media gallery)
  • pressing ESC for cancelling (probably already provided by the lib)
  • unit test the drag events, don't test native behaviour
@exalate-issue-sync
Copy link
Author

Pascal Wengerter commented: Could be implemented using native HMTL functionality https://www.w3schools.com/HTML/html5_draganddrop.asp

@exalate-issue-sync
Copy link
Author

Paul Neubauer commented: sortablejs sadly is not suitable for this case, I will try shopify draggable which looks more promising: https://github.com/Shopify/draggable

@exalate-issue-sync
Copy link
Author

Paul Neubauer commented: [~tbaader] we should do a follow up ticket where we address the ghost element(the element you see when you drag the file/files around). We looked at dropbox and I think they have the best ghost element solution, they have a file icon with a little counter on the top right corner.

@lookacat
Copy link
Contributor

lookacat commented Aug 3, 2021

sorry for closing the issue, i know understand that "fixes" is smart enough to close my tickets without asking 🧐

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type:Story User Story
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants