Skip to main content
Version: Any 26

Colorizations

This module gives a visual cue to the rows of the content lists: a background color, a text color, an icon or a chip, applied based on a condition on the metadata.

It makes what requires an action stand out in a list, without the user having to read each row: overdue documents in red, drafts in grey, a chip per status. Several configurations can be created.

Configuration​

Name: name of the configuration.
Type: visual effect applied:

  • Background color: colorizes the background of the row.
  • Text color: colorizes the text of the row.
  • Front icon: places an icon at the start of the row.
    • Icon: icon to display, chosen in the picker.
  • Tag color: displays the value of a metadata in a colored chip.
    • Column to labelize: metadata whose value is placed in the chip.

Rules​

The Rules table lists the conditions and the color associated with each. The "+" icon adds a rule at the bottom of the list.

Color: color applied when the rule is true.
Condition: condition triggering the rule. The syntax is identical to JavaScript. Only the metadata displayed in the list is usable, and the tests only cover the displayed values. For instance: standard.status == 'Draft' or record.is_record == true.

Order matters: the rules are evaluated from top to bottom and the first one whose condition is true is applied. The next ones are ignored, even if they are true too. Place the most specific rules first.

Selecting a rule in the first column opens a menu to:

  • move it up or down, and thus change the evaluation order.
  • delete it.

Flows​

This module can be used in the following flow: