-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
feat: remove torrent immediately, but allow Undo #1788
base: master
Are you sure you want to change the base?
Conversation
From #970 (comment): This PR doesn't add support for a I wanted to get something working out the door first, & don't think the hotkey ought to be a blocker. |
One important thing to note:The Undo feature currently only works for magnet links, which doesn't include the Featured torrents on the WebTorrent Desktop homepage, so I don't know how to demo that properly. ✅ I confirmed that the Undo feature does work on a torrent with good magnet links.
Even better would be to fix this up so the Undo works for torrents added via a .torrent file.I can work on that, but would appreciate a little advice on how best to approach. Currently, the locally stored
|
I tested this locally and the Undo option also worked for the Featured torrents in WebTorrent. System: Ubuntu 18.04 |
Fixed merge conflict |
Best path forward, per discussion in today's Webtorrent Maintainers call:
We can add a flag like |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? |
Yes it’s still relevant, if we want to simplify the UI (replace two click modal w/ one click undoable). Nothing’s changed since my last comment.
I just haven’t taken the time to work on this lately, as I’ve been focused on other projects 😄 |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? |
@dsernst What's the path forward of with magnets, I'll take it on myself |
Awesome to hear. 🎉 Last I spoke about this w/ @feross, he liked this approach:
|
What is the purpose of this pull request? (put an "X" next to item)
[ ] Documentation update
[ ] Bug fix
[x] New feature
[ ] Other, please explain:
What changes did you make? (Give an overview)
This is a continuation of the work started in PR #1087 to replace the
Remove a Torrent
UI modal with a Snackbar style alert + option to Undo.The 3 other methods of removing a torrent:
Remove Data File
Transfers
menu >Remove All From List
Transfers
menu >Remove All Data Files
all continue to use the same modal as before (per discussion in #970).
Which issue (if any) does this pull request address?
#970, #1087 (abandoned PR)
👍 This is tested locally and works on my machine running OS X 10.14.6.