lbr38 / repomanager

A web UI to mirror rpm or deb packages repositories.
GNU General Public License v3.0
50 stars 7 forks source link

Allow user to cancel a ongoing task #170

Closed Cloud-Kid closed 4 days ago

Cloud-Kid commented 1 week ago

Hey,

Another improvement that I think should permit more control on your app is to allow the user to cancel a sync in progress or that is stuck. I think it can be a great feature to implement if you have time !

Regards, Cloudkid

FalconXC4 commented 1 week ago

Not obvious but you can already do it by hovering the TASKS tab, then a cross apears on the right of the task : image

lbr38 commented 1 week ago

Yes there is already a way to stop tasks as @FalconXC4 showed it, but if it is not obvious it means it should to be improved.

I will see to add a stop button in the tasks tab.

Cloud-Kid commented 1 week ago

@FalconXC4 True !

Thanks for your output, I was looking into the tasks tab directly and I should it can be improved, that's a good point @lbr38

Thanks again, Regards

lbr38 commented 4 days ago

4.2.1 version released. Added a new button in the tasks tab to stop running tasks.

Also added a more explicit message on task log when it has been stopped.