开发者

What to do with selected rows when user hits the cancel button on a certain action

View Users page lists all users in the system. You can multiselect users via checkboxes and press the 'Remove' button to delete them from the system. We throw a confirmation dialog, to ask if the end user wanted to delete the users. If he presses the 'Ok' button we remove the users, if he presses the 'Cancel' button we don't开发者_如何学Go perform any action. Should we remove the user selections made in the check-box when the user hits the 'Cancel' button or leave the selections as it is. What would be the best practice?


Keep them selected please!

The user may just have hit the wrong button. Doesn't mean (s)he selected the wrong users...


For even better usability, consider not having the confirmation dialog. Instead, provide a way for the user to undo the deletion later.

Why? Probably 99 times out of 100 (or maybe 999 out of 1000) they really mean to delete the users (unless you make it too easy to accidentally delete). So why inconvenience them 99 times out of 100 asking them to confirm, when all you really need to do is inconvenience them once when they want to undo the deletion.


I'd recommend to not use a checkbox list, but a plain list: commands simply operate on the selected rows. Of course the selection remains after canceling the dialog — canceling always should keep the system state as it was before opening the dialog.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜