Skip to content

SPEC0210 - Samples App (WASM) for SPEC0200-0209 #97

Description

@wendellmva

Issue: SPEC0210 - Samples App (WASM) for SPEC0200-0209

Summary

Build a Razor WebAssembly samples app in samples/app that demos SPEC0200–SPEC0209 with clear navigation, real API integrations where available, and mock fallbacks for incomplete specs. This should be a presentation-style showcase (not production UI) with consistent, lightweight styling.

Goals

  • Visual, interactive demos for key specs and scenarios.
  • Pages grouped by SPEC with small scenario-driven sections.
  • Live API by default; mock toggle when APIs are missing.
  • Lightweight and fast to run locally.
  • Consistent UI using TinyTools tokens as inspiration (not a direct copy).

MVP Scope (Phase A)

  1. App shell + navigation by SPEC (0200–0209).
  2. SPEC0200–0204 CRUD demo pages (Nodes/Edges/Types/Properties).
  3. SPEC0205 Rule evaluation demo page.
  4. SPEC0206 Vector search demo page.
  5. SPEC0208 UserState tree demo page.
  6. Mock/live data toggle per page.

Phase B (Post-MVP)

  • SPEC0207 migration status + auth demo page.
  • SPEC0209 GraphSession demo page.
  • Scenario gallery cards per spec.
  • Seed data helpers or guided demo flow.

Proposed Structure

  • samples/app/
    • Pages/Spec0200/Pages/Spec0209/
    • Components/ (shared UI and layout)
    • Services/ (API client + mock providers)
    • Models/ (view models / DTOs)
    • Theme/ (tokens + base styles)

Acceptance Criteria

  • App builds and runs via dotnet run with no additional setup.
  • All MVP pages render with mock data.
  • Live API toggle works for specs with endpoints implemented.
  • Navigation between specs is stable and quick.
  • Clear readme for running the samples app.

Out of Scope (for now)

  • Full authentication flows and production-grade UI.
  • Deep pagination/filters for CRUD beyond demo needs.
  • Complex data seeding pipelines.

Open Questions

  • How do we want to store the mock/live toggle (query param vs settings)?
  • Default API base URL for local dev?

Checklist

  • Define base layout and navigation shell
  • Implement mock/live data toggle
  • Build SPEC0200–0204 demo pages
  • Build SPEC0205 demo page
  • Build SPEC0206 demo page
  • Build SPEC0208 demo page
  • Add README for samples app

References

  • SPEC0200–0209 docs
  • TinyTools site tokens/layout (reference only)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium prioritySP:1313 story points (epic-sized, consider splitting)coreCore abstractionsfeatureNew featureshellShell/UI component

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions