5 min readUpdated Mar 2, 2026

DashboardSettings Documentation

Overview

DashboardSettings is a component within the Vantage analytics and data platform that allows users to configure the settings for their dashboards. This component includes functionalities to set a default dashboard, manage the sidebar configurations, and customize icons for each item within that sidebar. The DashboardSettings component serves as the UI for users to interactively manage their dashboard configuration, providing a drag-and-drop interface for rearranging sidebar items.

Settings

1. Default Dashboard

2. Sidebar Items

Sidebar Item Configuration

Each sidebar item is an object containing:

3. Sidebar Item Icon

4. Sidebar Item Dashboard ID

How It Works

The DashboardSettings component utilizes several hooks and libraries to manage state and enable interactivity:

Use Cases & Examples

Use Case 1: Customizing Dashboard Access

A team in an organization using Vantage needs quick access to several frequently used dashboards. By configuring the DashboardSettings, they can set a default dashboard to one that is most commonly used while also arranging sidebar entries for quick access.

Use Case 2: Visual Organization of Dashboards

A data analyst wants to visually distinguish between different dashboards by assigning unique icons to each sidebar item. This customization enhances their workflow as they can identify dashboards quickly.

Detailed Example Configuration

Scenario: An analytics team wants to set their primary dashboard as the default and configure their sidebar for easy access to their most utilized dashboards.

Sample Configuration Data:

javascript
// Configuration Example
const groups = [
    {
        label: 'Sales Dashboards',
        options: [
            { id: 'sales_overview', title: 'Sales Overview' },
            { id: 'sales_trends', title: 'Sales Trends' },
        ]
    },
    {
        label: 'Marketing Dashboards',
        options: [
            { id: 'campaign_performance', title: 'Campaign Performance' },
            { id: 'website_analytics', title: 'Website Analytics' },
        ]
    }
];

const sidebarItems = [
    { key: '1', dashboardId: 'sales_overview', icon: 'BarChart' },
    { key: '2', dashboardId: 'campaign_performance', icon: 'PieChart' },
];

// Using the DashboardSettings component
<DashboardSettings
    groups={groups}
    defaultDashboard="sales_overview"
    sidebarItems={sidebarItems}
    onDefaultChange={(value) => { /* logic to handle default change */ }}
    onSidebarChange={(items) => { /* logic to handle sidebar change */ }}
/>

In this configuration, the user sets "Sales Overview" as the default dashboard, allowing quick access upon login. The sidebar is configured to display both the "Sales Overview" and "Campaign Performance" dashboards, each associated with relevant icons for easy recognition.

Conclusion

The DashboardSettings component provides users with a powerful tool for customizing their dashboard experience in Vantage. With the ability to manage default dashboards and organize sidebar items, users can create a tailored environment that enhances productivity and accessibility. Custom icons further improve visual identification, making it easier to navigate dashboards effectively.