activity-browser icon indicating copy to clipboard operation
activity-browser copied to clipboard

refactor delete/confirm to separate class

Open marc-vdm opened this issue 6 months ago • 0 comments

Issue

We have multiple instances of delete/confirmation dialogs right now for deleting things (#1138 and #1190).

We can probably refactor this to 1 class that takes some strings and the if_confirmed function as inputs to customize. This can clean up the code a bit. We may also want to apply this the project deletion, which currently has it's own dialogs.

When doing this we should probably make the final confirmation optional.

marc-vdm avatar Jan 08 '24 18:01 marc-vdm