luigi icon indicating copy to clipboard operation
luigi copied to clipboard

add statusBadge options to navigation node

Open hardl opened this issue 2 years ago • 0 comments

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: ...
}
....

image.png

Notes: use fd object status, inverted: https://sap.github.io/fundamental-styles/?path=/docs/components-object-status--clickable-object-status#inverted-indication

hardl avatar Aug 03 '22 10:08 hardl