majestrate / XD

meme bittorrent client
https://xd-torrent.github.io/
MIT License
242 stars 25 forks source link

Can't remove torrent from webUI #56

Closed l-n-s closed 6 years ago

l-n-s commented 6 years ago

info

git revision / version: master

OS: linux

Architecture: x64

problem

WebUI buttons seems to stop torrent, but don't remove it completely. I had to run ./XD-cli delete [hash] to remove it... After I press remove it shows - "torrent already stopped"

majestrate commented 6 years ago

right now the webui stops torrents, i'd prefer to have a dialog box for confirmation for deleting.

l-n-s commented 6 years ago

Im implementing confirmation dialog rn. Which action should I trigger after confirmation? delete or remove? What is the difference?

majestrate commented 6 years ago

both preferably, like how transmission does it.

l-n-s commented 6 years ago

If both, which one goes first? It just seems like the same action to me.

l-n-s commented 6 years ago

arrite i did it like i understand, correct if it's wrong