YaST/Style Guide/Dialogs/Warning Message

From openSUSE

What is a Warning Message?

A warning message provides feedback about a situation or a condition. Unlike question message boxes the user is only informed and cannot make a decision about the content of the warning message. Unlike an error message it just warns users that they are performing an action which is not recommended but will not have any critical effect on the system.

The purposes of a warning messages are:

  • prevent the user from making errors
  • increase the user's controllability of the module

Properties of a Warning Message

  • Report YCP library is recommended to be used for this purpose.
  • Appropriate Icon
  • Headline with a one sentence summary of the information or suggested action. The user gets the essential details of the problem or suggestion. The font is bold and slightly larger than the additional information.
  • Additional information with a more detailed description of the problem, including possible side effects.

Example

Pop-up warning

  • Example of a warning message.