I propose a change where the BATCH and the DELETE button are moved apart.
In order to run a BATCH process you need to select a lot of "things" (say users in user manager) and then you move your mouse up to the BATCH button to run a batch process (like force password reset) - however it is also very very very very (note very) easy to click the delete button by mistake and thus all the entries that you have selected for batch process (lets say, 1000 users) are now deleted with no further "are you sure!?" messages - they are gone.. zip nada... gone... and then you have to waste an hour reinstalling from backup... if you had a backup... feel my pain here????
So a simple change that can ensure that quick clicking mistakes are avoided....
for confirmation message here
Direct Delete is also present for Templates styles, Overrides and Media
** Also Menus
I prefer not to be asked "are you sure" - just distance the batch from the delete butttons by rearranging the order :) a quick fix with no additional JS to code/test :) Less chance of a slip and deleting 1000 users..
I think if action cannot be undone then the confirmation is required, as you can push that button accidentally, no matter you place it, ... especially if you work with the kids near you
or cats... ;)
Afaik, the confirmation is already an option present for the delete button. You just need to activate it.
I wouldn't move the buttons, or you would have to move it in all places to be consistent.
Could I also mention something else that is very scary and that is.
Extension -- Manage --Manage left column and
Let say you have many modules and you filter all and then you want to Refresh Cache then but by mistake instead press Uninstall. Here better to move Uninstall away from Refresh Cache..
Now preparing a patch implementing an alert for all delete cases (Delete and Empty Trash buttons) and Uninstall.
Closing as we have a PR.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-01-27 13:46:49 |
Closed_By | ⇒ | Bakual |
We could also add a "Are you sure" message to the delete button in the user manager. I think the user manager is the only place where you directly can delete items. Other components have a "trash" state, you can't directly delete items from published state in those.