panoptes icon indicating copy to clipboard operation
panoptes copied to clipboard

Add button clean up database button/route

Open fgypas opened this issue 4 years ago • 3 comments

Add button/route under "Show all workflows" that cleans up the database. It would be nice if we can to ask for confirmation, as people might press it by accident.

fgypas avatar Nov 12 '19 12:11 fgypas

~~Blocked by #90~~

fgypas avatar Nov 09 '20 08:11 fgypas

I'm not sure I understand where the button should appear, something like this maybe (top-right)?

image

dafentoulis avatar Dec 13 '20 17:12 dafentoulis

Maybe put these kinds of buttons where they are less likely to be clicked - under the table bottom left, or top left alongside the pagination? There are also custom buttons you can add to the table: https://datatables.net/extensions/buttons/examples/initialisation/custom.html

The image shown above makes the cleanup bar (with "All Workflows") look like a very large button, so if that spot is the choice maybe it would make sense to show some boundary between the two. :)

vsoch avatar Dec 13 '20 18:12 vsoch