Intro
The context toolbar provides actions that appear when an object is selected.
When to Use
Do
Use the context toolbar:
Don't
Don’t use the context toolbar:
- To provide a list of items or data points that can be selected, but don’t trigger actions. Use a list instead.
- If users would benefit more from a split button, which offers an easy-to-access default action, with the option to select other actions.
Anatomy
- Icon Button: Icon button that triggers an action related to the selected node.
- Separator (Optional) : Provides visual separation between groups.
Contextual Toolbar - Anatomy
Context Toolbar Types
Toolbar with Icon Buttons
Use this variant of the contextual toolbar in SAC, DSP, or BDC to display a set of actions that appear when selecting one or multiple nodes.
Toolbar with Icon Buttons
Toolbar with Button Labels
Use this variant in Datasphere when dragging and dropping a node, no additional tooltips should be used. Warning: This drag and drop variant is currently not accessible.
Toolbar with Button Labels
Toolbar with Content
Use this variant in SAC to add additional information when selecting a data point on a chart.
Toolbar with Content
Behavior and Interaction
- Context toolbar should appear upon selection of a node.
- For the Create a Connection action (arrow-right icon), a new connector should attach to the cursor on click. The connector is attached to the mouse pointer until the left mouse button is clicked again.
- When the connector is dropped on a connectable node, both become connected. When the line is dropped on a non-connectable node or the canvas, nothing happens/connector disappears.
Icon Button Tooltips
All action buttons should have a tooltip appear on hover. All tooltips should follow the Tooltip Guidelines including:
- Formulate the tooltip as an action, starting with a verb.
- Use title case.
Tooltip for Icon Button
Icons & Tooltips in DNA Design
Use the following list of existing icons and tooltips to ensure consistency across diagrams.
Available icons for Context Toolbars across SAC, DSP, and BDC