luigi
luigi copied to clipboard
add statusBadge options to navigation node
Add a new property to navigation node, where an optional status badge can be configured. It's value should be an object to determine label (string) and indication (string, one of negative, positive, critical, informative - or undefined for neutral)
Example:
...
{
pathSegment: 'jira',
label: 'Jira',
statusBadge: {
label: 'New',
type: 'informative'
},
icon: ...
}
....
Notes: use fd object status, inverted: https://sap.github.io/fundamental-styles/?path=/docs/components-object-status--clickable-object-status#inverted-indication