Intro
The app toolbar appears in all applications across SAC and DSP.
When to Use
Do
Use the App Toolbar:
- For all apps in Datasphere and SAC Stories.
- Additional variants for SAC applications (Modeler, Calendar, etc.) coming soon.
Don't
Don't use the App Toolbar:
- When maintaining a view of a table or chart. Use the Table Toolbar instead.
Anatomy
- Expand/Collapse (optional): Expandable toolbar functionality. Adds titles to all sections in expanded view.
- Section One (optional): Special section with segmented button, optional title
- Section (optional): Optional separator, title, and 6 actions. 6 sections total.
- Right Toolbar Actions (optional): Icon and optional text
- Object Status (optional): Icon and optional text
- Validation (optional): See Datasphere Special Cases
- View Mode (optional): Switch between edit and view modes
App Toolbar - Anatomy
Current Icons in Use
Currently supported toolbar icons
Datasphere Special Cases
- Object Status: Object status with label to show deployment status.
- Validation: Semantic button indicates whether the object is valid and can be published. If the button is red, the user can select the button and.a popover will display the incorrect or forgotten items.
App Toolbar Datasphere Special Cases - Anatomy
SAC Special Cases
Truncation Logic in SAC Stories
In SAC Stories, responsiveness is grouped by section. Excluding the ‘View’ section, truncation occurs from right to left, starting with the ‘Format’ section. All collapsed sections move into a ‘More’ section at the end of the truncated area.
‘View’ remains as the final section once all other sections have been truncated.
Truncation Logic in SAC Stories
Page Switcher
Shows the current page the user is on, and how many pages there are in total (current/total). Users can use this component to cycle through pages within a story or application.
- Page Switcher: Component available in SAC only.
App Toolbar with Page Switcher - Anatomy
Page Switcher Logic
- First Page: When the user is on the first page, the left arrow key will be disabled and the right arrow key will be active.
- Last Page: When the user is on the last page, the right arrow key will be disabled and the left arrow key will be active.
- One Page: If there is only one page, the right and left arrow keys will be disabled.
Page Switcher Logic in SAC
Responsiveness
To enable responsiveness, use the OverflowToolbar control. Based on the sap.m.Toolbar control, the OverflowToolbar control is a container that provides overflow when its content does not fit in the visible area. Controls that can overflow include the segmented button, select, toggle button, checkbox, input field, search, combo box, and date/time picker.
Only allow important actions to shrink and stay outside the overflow. The app team itself must decide which actions it considers to be sufficiently important.