feat: add Dimension Lab seed model

This commit is contained in:
vince 2026-06-18 19:09:42 +02:00
parent 25996c38a9
commit 077edbd550
4 changed files with 622 additions and 87 deletions

View file

@ -17,8 +17,8 @@ export interface PlaceholderDashboard {
export function loadPlaceholderDashboard(): PlaceholderDashboard {
return {
title: "System Overview",
subtitle: "Dashboard runtime scaffold",
title: "Dashboard Runtime",
subtitle: "Runtime scaffold",
status: "building",
message:
"SvelteKit is running. Later issues will replace this placeholder with the validated dashboard model.",
@ -30,8 +30,8 @@ export function loadDashboardRuntime(store?: DashboardStore): PlaceholderDashboa
try {
const seeded = dashboardStore.seedDashboardIfEmpty(dimensionLabDashboardFixture, {
actor: "dimensionlab-seed",
message: "load initial dashboard seed",
actor: "initial-seed",
message: "load initial dashboard document",
});
const active = dashboardStore.getActiveDashboard();
const document = active?.document || seeded.document;