feat: add Dimension Lab seed model #19

Merged
vince merged 2 commits from codex/issue-11-dimension-lab-seed into main 2026-06-18 19:17:50 +02:00
Owner

Summary

Creates the initial Dimension Lab dashboard seed as validated model data.

Closes #11.

Why

The MVP needs real dashboard content available as data before model-driven rendering lands. This keeps Dimension Lab-specific names, URLs, icons, fallback values, and datasource references outside reusable UI components.

Changes

  • Expanded src/lib/model/fixtures/dimensionlab.ts into a full first-screen seed model.
  • Added telemetry cards with Iconify ids, thresholds, sparklines, Prometheus datasource references, and fallback labels.
  • Added service groups for essentials, monitoring, AI/automation, systems, and runtime health with links and health datasource references.
  • Added footer/status strip data plus weather and runtime-health modules.
  • Added seed-specific tests for layout sections, icon/link/datasource data, and explicit fallback labeling.
  • Documented the seed-data boundary in the README and removed the old branded placeholder title from server fallback code.

Testing

  • bun run vitest run src/lib/model/fixtures/dimensionlab.test.ts src/lib/model/schema.test.ts -> 20 tests passed.
  • bun run test -> 9 files, 42 tests passed.
  • bun run check -> 0 Svelte diagnostics.
  • bun run build -> production app build passed.
  • bun run build-storybook -> static Storybook build passed.
  • git diff --check -> clean.
  • Source search for Dimension Lab strings/URLs shows matches confined to model fixture/tests, schema ID, and README docs, not UI components/stories/routes.

Notes

  • Datasource adapters are still out of scope; external references and fallback values are model data for issue #8/#7 to consume later.
## Summary Creates the initial Dimension Lab dashboard seed as validated model data. Closes #11. ## Why The MVP needs real dashboard content available as data before model-driven rendering lands. This keeps Dimension Lab-specific names, URLs, icons, fallback values, and datasource references outside reusable UI components. ## Changes - Expanded `src/lib/model/fixtures/dimensionlab.ts` into a full first-screen seed model. - Added telemetry cards with Iconify ids, thresholds, sparklines, Prometheus datasource references, and fallback labels. - Added service groups for essentials, monitoring, AI/automation, systems, and runtime health with links and health datasource references. - Added footer/status strip data plus weather and runtime-health modules. - Added seed-specific tests for layout sections, icon/link/datasource data, and explicit fallback labeling. - Documented the seed-data boundary in the README and removed the old branded placeholder title from server fallback code. ## Testing - `bun run vitest run src/lib/model/fixtures/dimensionlab.test.ts src/lib/model/schema.test.ts` -> 20 tests passed. - `bun run test` -> 9 files, 42 tests passed. - `bun run check` -> 0 Svelte diagnostics. - `bun run build` -> production app build passed. - `bun run build-storybook` -> static Storybook build passed. - `git diff --check` -> clean. - Source search for Dimension Lab strings/URLs shows matches confined to model fixture/tests, schema ID, and README docs, not UI components/stories/routes. ## Notes - Datasource adapters are still out of scope; external references and fallback values are model data for issue #8/#7 to consume later.
vince added 1 commit 2026-06-18 19:10:06 +02:00
vince added 1 commit 2026-06-18 19:16:46 +02:00
vince merged commit 13e3ff867b into main 2026-06-18 19:17:50 +02:00
Sign in to join this conversation.
No description provided.