-
Notifications
You must be signed in to change notification settings - Fork 414
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
Support drag-and-drop file publishing #4170
Conversation
@seanyesmunt What do you think? lbryio/lbry-redux#314 |
This comment has been minimized.
This comment has been minimized.
I think is ready for a review, before I continue to work on this. |
Great. Will give this a test/review today! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome. It seems to work good and feels super smooth. I just have one comment on the radio styles
}, [history]); | ||
|
||
// Delay hide and navigation for a smooth transition | ||
const hideDropArea = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels really smooth 👍
Should I limit the drop area to the card ? Right now it works if you drop on any place in the window. Maybe change the message to "Drop anywhere..." ? |
I didn't like the new look when dropping one file and also it didn't make sense to have a radio input just for one choice, so I made it more simple. let me know what you think. |
@btzr-io I just tried running this branch again and nothing happened when I dropped a file on the page. I think dropping should work for the entire window, not just the card. |
@seanyesmunt is working for me, what file did you use ? any errors ? 🙃 Can you try a different file ? |
Also keep in mind folders are not scanned recursively. |
Sorry for the wait. Busy working with paid content on lbry.tv. Testing again |
Hm it is working for me now! I like the simplified look. Will give this another code review after I merge the big paid content PR! |
refactor web file system utils update styles
use modals better transiton to publish area
fix issue for file selection modal
PR Checklist
Please check all that apply to this PR using "x":
PR Type
What kind of change does this PR introduce?
Fixes
What is the current behavior?
What is the new behavior?
Todo
fileDrop
complexity.