-
Notifications
You must be signed in to change notification settings - Fork 65
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
Add drag and drop support #519
Conversation
9666995
to
05c5fef
Compare
Nice! :) Only some details:
|
I agree.
Dotted didn't work in my previous tests, but I'll try with your colour suggestion.
I've copied the behaviour and message from Files, so it's best to open an issue there and then I can sync with any changes made there. It's not possible to have a pre-move conflict dialogue as the content of the target is not known beforehand. An improvement in Files could be to have a post-move dialogue. |
Tried dotted again and saw why it doesn't work. Each side is dotted instead of having one dotted line going all the way around the square. This makes the corners look ugly. By using a dashed line, the problem is almost non-existent. |
c173c0a
to
8a90e77
Compare
I've improved the look of the drop target. I think it looks good enough now. |
a014380
to
093dedc
Compare
On mobile, you need to tap and hold to be able to move elements. It has to be done this way in order to not have a conflict with scrolling. |
093dedc
to
ae954ce
Compare
ec94b9f
to
d982e0e
Compare
You need to tap and hold to be able to move elements
ae954ce
to
e342da9
Compare
This could also use some testing: @tahaalibra @viraj96 @imjalpreet @mbtamuli |
Public
You need to copy the link from the Gallery side or install the ShareLinks app to get the Gallery link, otherwise you land on the Files side.
Make sure you've given the "editing" permission on the link, but there is indeed a bug. I need to use the public endpoint for the MOVE operation. Logged in
I can't reproduce. I thought it was because of the short name, but I don't have that issue.
Yes, I think it would be a nice improvement to be added in the future |
PublicLogged InTo reproduce the javascript error try this
i think this behavior is coming when i move to a folder that has a number name |
Thanks for the screenshot. Please open a bug report regarding the generated link. You have "short links" enabled somehow and those are not properly converted to Gallery links. Thanks for the test case. I was able to reproduce it. Strange bug :) |
i guess the link generation bug is unique to official-drag-and-drop-support branch because it was not on the master or official-upload-support branch..should i still report it? |
Ah, thanks for checking. It's because this hasn't been rebased... |
Replaced by #581