

Roland Weigelt - Confirmations in User Interfaces: Explicit vs. Implicit
source link: https://weblogs.asp.net/rweigelt/confirmations-in-user-interfaces-explicit-vs-implicit?WT_mc_id=DOP-MVP-4025064
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Confirmations in User Interfaces: Explicit vs. Implicit
Confirmations are a tricky subject in user interface design. As a UI designer, you want to avoid them, but you cannot always implement an undo/redo system. As users, we do not want to be nagged constantly, but if an action has serious consequences and something goes wrong, we angrily ask why there was no confirmation.
In addition to interrupting the flow of our work, confirmations can also introduce a tiny bit of stress. Confirming too fast and losing work is not fun. Even if the action was not permanent and, e.g., files can be brought back from the recycle bin, there is some kind of hassle involved. So, you do want to be sure about what you confirm.
In theory, when you directly look at something and trigger an action, a generic question like “Do you want to do this?” should be sufficient. The context of your action determines what “this” means (I cannot help myself thinking of an old JavaScript joke, but I digress).
In practice though, in a world full of distractions, sometimes when you see a dialog like this…
…, you may notice that your eye wanders back to the selection of the “item”.
This is why a dialog that explicitly tells you the name is a better solution:
But what about deleting multiple files? Depending on how large the number is, a dialog cannot show all names. The following dialog stops at ten files:
This is far from being perfect. And of course, one could think of a dialog with a scrolling list that allows you to view all files. For certain projects this may important enough to invest the necessary budget. On the other hand, the dialog shown above simply works by concatenating one large string and putting it into a standard dialog. This is a pragmatic solution that does its job well in many cases. Even though you are not told the names of the “3 additional files”, chances are that it is easier for you to remember them by looking at the ten names you can read. This may be less the case as the number of “additional files” grows, but anything is better than just a number like in this dialog.
Confirmation dialogs should contain enough information to work without looking at the rest of the user interface. When you design the dialog, imagine that the user must leave the room for a short moment and comes back to the computer (just a moment, not a lunch break). Make sure he or she can make then an informed decision.
Recommend
-
5
Implicit vs explicit type conversions in Ruby (to_h/to_hash and others) Jan 18, 2016 Just a quick reference post. There are several pairs of type coercions methods in Ruby: to_i and
-
15
C# Interfaces. Implicit implementation versus Explicit implementation By using our site, you acknowledge that you have read and understand our
-
8
How to Access Webcam Properties from C# My Logitech C920 webcam requires some tweaking of settings like exposure, gain, focus, etc. to get good image quality. I uninstalled the “feature rich” Logitech software and n...
-
4
WPF, Text Rendering and the Blues Thursday, January 21, 2021 I am currently working on a small webcam utility written in C#/WPF that I intend to release as freeware later this year.
-
6
Table of Contents“Explicit is better than implicit” 是 The Zen of Python 中的一句格言。长久以来都觉得挺在理,直到有天有人用这句话为基础,提出了一个我不甚赞同的观点,才发现从来...
-
7
Jun 9th, 2021 16 - Explicit and implicit knowledge We’ve seen many organizations invest huge amounts...
-
6
Using a Video Device with getUserMedia in WebView2 in a Kiosk Scenario I use Microsoft’s WebView2 control for a digital signage desktop applica...
-
9
A Stupid Little TypeScript Mistake (Part 2) Thursday, August 19, 2021 After my blog po...
-
9
When practicing software architecture and design, one important consideration is how the rules of the system are modeled. Are the rules ad hoc and a matter of tribal knowledge of the developers who came before, or are they explici...
-
2
How to Create a PNG File from a Web Page in C# Wednesday, January 26, 2022 Both Google Chrome and Microsoft Edge provide a feature for...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK