Taxonomy of Dialog Prompts

Revision as of 11:37, 6 September 2007 by Paulb (Talk | contribs)


Having trouble deciding which of the common dialog prompts to use or if you should use a common discardable dialog prompt?

What Are You Trying To Say?

Choosing the right dialog prompt for the situation is harder than it might seem. In addition choosing the right type of dialog prompt is crucial to the end-user's understanding of the situation. On top of all that there's the buttons the dialog prompts should offer as options and the what the dialog prompt should actually say. These are all required factors in choosing a dialog prompt and it can be done wrong.

Choosing a Type

The type of dialog prompt is fairly rudimentary.

Error Prompts

Errors dialog prompts are the most critical of prompts. Generally they indicate an error has occurred and the regular/expected course of action was not/cannot be taken. For instance, if an attempt to save a file does not succeed it's an error because the file could not be saved.

Generally error prompts show show a single Ok' button or Abort|Retry|Cancel button. These are not buttons that are set in stone. In the example given regarding saving of files, it might be required to have Retry Save|Dismiss buttons.

Warning Prompts

Warning dialog prompts are just that, warnings. It is easy to consider an error as actually being an warning, which has been done in EiffelStudio. However, warnings are very different from error dialog prompts. A warning dialog prompt should indicate that that something unexpected happened but an alternative course of action was taken. Alternatively a warning can be shown to alert the user that what they are about to do may be dangerous, and so they will have to confirm to proceed with the action.

Generally warnings prompts should show a single Ok button or Okay|Cancel, when asking the user to continue with a potentially dangerous operation.

Informative Prompts

From time to time you may want to show the user some information in response to an action requesting it, or display information when a long process/action has completed. Be careful when using informative dialog prompts, too many, too often will harass and annoy the end-user.

Informative dialog prompts should only show a single Ok button, except for special circumstances.

= Question prompts

Choosing Basic Vs. Advanced Dialog Prompts

If you have already decided that a discardable dialog is what you require when you only have the option to use the [[Using Dialog Prompts (Advanced Discardable)|advanced methods] of instantiating and showing a dialog prompt. However if it's a simple common dialog prompt then you can choose to use the basic methods, which provide a fast a easy way to show dialog prompts or the advanced method which is still simple and provides a lot more control.