OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
View a single dashboard with widgets
Goal
Render a dashboard with its visualizations and data.
Context
The interactive viewing interface.
Source Definition
import {
definePresentation,
StabilityEnum,
} from '@lssm-tech/lib.contracts-spec';
import { DashboardModel } from './dashboard.schema';
export const DashboardViewPresentation = definePresentation({
meta: {
key: 'analytics.dashboard.view',
version: '1.0.0',
title: 'Dashboard View',
description: 'View a single dashboard with widgets',
domain: 'analytics',
owners: ['@analytics-dashboard'],
tags: ['analytics', 'dashboard', 'view'],
stability: StabilityEnum.Experimental,
goal: 'Render a dashboard with its visualizations and data.',
context: 'The interactive viewing interface.',
},
source: {
type: 'component',
framework: 'react',
componentKey: 'DashboardView',
props: DashboardModel,
},
targets: ['react', 'markdown'],
policy: {
flags: ['analytics.dashboards.enabled'],
},
});