You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

(this page was created automatically. In case of formatting issues, please visit the official Wiki Page)

Dashboard Navigation

Overview

  • The component provides a visual interface for switching between dashboards.
  • It supports horizontal or vertical navigation layouts.
  • The current dashboard is highlighted to guide users.
  • Users can move between dashboards without returning to the library.

Horizontal and vertical Navigation Dashboard

Specs

Tokens

Token Description
displayName Display name of the component shown in the structure panel.
direction Orientation of the navigation steps, horizontal or vertical.
dashboards List of dashboards to include and their order.
paddingClass CSS spacing classes applied around the component.
events Configures events the component can trigger or respond to.
ON_INIT (Events) Triggered when the component is initialized.
ON_DESTROY (Events) Triggered when the component is removed from the DOM.
visibilityPolicySetId Determines visibility based on policy sets.
displayConditions Defines conditions for displaying the component.
dataTestId Testing hook ID for automated testing.
enableAsHotspot Enables the component as a guided tour hotspot.
guidedTourHotSpotTitle Title for the guided tour hotspot, supports translations.
guidedTourHotSpotDescription Description for the guided tour hotspot, supports translations.

Structure

  • The navigation is composed of an array of dashboard objects.

(Configured in Visibility Properties)

  • displayConditions – Defines conditions for displaying the component. This allows showing or hiding the dashboard navigation based on complex rules involving form values, user roles, or application state. For example, the navigation might only be shown when a specific module is active or when the user has completed certain preliminary steps.

(Configured in Visual Properties)

  • dashboards – Configures the list of dashboards to include in the navigation and their order. This accepts an array of dashboard objects, each containing an ID and name. For example, [{"id": "dashboard-1", "name": "Overview"}, {"id": "dashboard-2", "name": "Details"}] creates a two-step navigation between these dashboards, with the names displayed as the navigation labels.

Dashboard Configuration menu

Styling

(Configured in Visual Properties)

  • direction – Determines the orientation of the dashboard navigation steps. Options include "horizontal" (steps displayed in a row) or "vertical" (steps displayed in a column). For example, choosing "horizontal" creates a navigation bar that spans across the top of a container, while "vertical" creates a navigation panel that runs down the side, providing different layout options based on available space and design preferences.
  • paddingClass – Configures spacing around the dashboard navigation using CSS classes. For example, "p-4" adds medium padding on all sides of the component, improving its visual spacing within its parent container.

Visual Properties Tab

Actions & Variants

(Configured in Event Actions Properties)

  • events – Configures the events that the component can trigger and respond to.
  • ON_INIT – Triggered when the dashboard navigation component is initialized. Can be used to perform setup operations when the navigation first appears, such as loading user preferences or determining the starting dashboard.
  • ON_DESTROY – Triggered when the dashboard navigation component is removed from the DOM. Useful for cleanup operations and releasing resources.

Tests

(Configured in Testing Hooks Properties)

  • dataTestId – Sets the testing hook ID for automated testing. For example, setting it to "production-dashboards-navigation" allows test scripts to reliably locate this component during automated testing.
  • enableAsHotspot – Enables the component as a guided tour hotspot. When enabled, the dashboard navigation can be highlighted during onboarding or tutorial flows to guide users on how to navigate between different dashboard views.
  • guidedTourHotSpotTitle – Sets the title for the guided tour hotspot, supporting translations. For example, {"en-US": "Dashboard Navigation", "de-DE": "Dashboard-Navigation"} provides clear identification during guided tours.
  • guidedTourHotSpotDescription – Sets the description for the guided tour hotspot, supporting translations. For example, {"en-US": "Use this navigation bar to switch between different dashboard views", "de-DE": "Verwenden Sie diese Navigationsleiste, um zwischen verschiedenen Dashboard-Ansichten zu wechseln"} provides detailed context during guided tours.

Authorization

(Configured in Authorization Properties)

  • visibilityPolicySetId – Determines the visibility of the component based on specified policy sets. For example, setting to "analyticsDashboardsAccess" restricts the dashboard navigation to users with specific analytics permissions, allowing for role-based control of navigation access.

Guidelines

  • Local navigation is only needed when dashboards require elements such as nodes, dependencies, favorites, or subdashboards. Simple applications do not require it:contentReference[oaicite:0]{index=0}.
  • The dashboard navigation boardlet must always remain the same in form and appearance within a breakpoint; it may not be changed:contentReference[oaicite:1]{index=1}.
  • Local navigation always controls only the current dashboard and can vary from dashboard to dashboard:contentReference[oaicite:2]{index=2}.
  • Local navigation tasks include navigating between dashboard nodes, filtering dependencies, and accessing subdashboards:contentReference[oaicite:3]{index=3}.

Guidelines visualized

Accessibility

[NO DATA AVAILABLE]

  • No labels