WebThingsIO / gateway

WebThings Gateway
http://webthings.io/gateway
Mozilla Public License 2.0
2.61k stars 333 forks source link

Confirm removal of add-on #3111

Open benfrancis opened 7 months ago

benfrancis commented 7 months ago

As a user I want to be prompted to confirm the removal of an add-on after clicking the "Remove" button, so that I don't accidentally delete an add-on and lose data.

Currently the remove button will immediately remove an add-on, without any kind of confirmation. This may lead to people deleting an add-on by mistake and losing data.

sudip57 commented 7 months ago

Can i work on this issue @benfrancis?

benfrancis commented 7 months ago

@sudip57 That would be great thanks, no need to ask for permission.

I would suggest following the design convention of the existing remove dialogs, like the one for removing a thing.

Mockup: remove_add-on