User Experience Conventions

Todo

Add information on notification type semantics

Buttons

The styling of our buttons follows the semantics of the button. This should make it more predictable what a given button does, without the use of overlong titles.

The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, and “MAY” in this document follow the conventions of [RFC2119].

Colours & Icons

effective actions
  • “have a persistent effect”

  • are divided into four subtypes:

    1. constructive
      • SHOULD be dark blue (btn-primary)

      • the icon SHOULD be a checkmark

      • least one of both MUST be true

    2. rather destructive (e.g. archiving of event)
      • MUST be red (btn-danger)

    3. reference-destructive
      • SHOULD be reversible using the logs

      • MUST be red (btn-danger)

      • SHOULD have the minus icon

    4. really destructive (deletes data)
      • MUST be red (btn-danger)

      • SHOULD have the trash-alt or fire icon (“fire” escalation of “trash”, deletes “larger” entities)

progressive actions
  • “lead to a page to make a persistent effect”

  • if something will be edited

    • SHOULD be yellow/orange (btn-warning)

  • if something is created

    • SHOULD be green (btn-success)

  • if button submits information to the next step in a wizard

    • SHOULD be dark blue (btn-primary)

    • SHOULD have the icon “chevron-right”

  • exception: when submitting a search form

    • SHOULD be dark blue (btn-primary)

    • SHOULD have the search icon

non actions (links)
  • “have no effect”

  • are dived into three subtypes:

    1. going higher (backwards)
      • SHOULD be light white (btn-default)

      • SHOULD have

        • fa-times icon (cancel = form reset)

        • chevron-left icon

    2. keeping page (e.g. Download buttons) or going to similar page
      • including dynamic changes to selected items

      • SHOULD be white (btn-default)

    3. going to similar page, while considering form inputs on local page (e.g. link to filtered list by selection)
      • SHOULD be light blue (btn-info)

    4. going deeper (forwards)
      • including links to documentation

      • SHOULD be light blue (btn-info)

  • MAY be dark blue if icon indicated read only (e.g. Show vote button upon secret entering)

Button Sizes

  • Buttons in the “action toolbar” below the heading MUST be btn-sm

  • Buttons in “inline forms” SHOULD be btn-sm

  • right-floated Buttons in lists SHOULD be btn-xs

  • other Buttons should be normal-sized