feat: add Dimension Lab seed model
This commit is contained in:
parent
25996c38a9
commit
077edbd550
4 changed files with 622 additions and 87 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue