Plan: CRAIG Mock SPA — All 23 Screens
On this page
Context
CRAIG has 23 SVG mockups covering 6 caseworker modules + 3 portals, documented with a full design system spec (svg-mockup-reference.adoc). The goal is a real HTML/CSS/JS single-page application that implements every screen with actual DOM elements, forms, tables, and interactivity — not just SVG viewers. This serves as a working prototype for stakeholder demos and a scaffold for future development.
Status
Complete. The mock SPA is live in the mock/ directory with 26 screens (23 original + 3 additional), Alpine.js store, hash-based router, and Georgia Orchard design system theming.
Location
All files in mock/ directory:
mock/
├── index.html # SPA shell (only HTML file)
├── css/
│ ├── tokens.css # CSS custom properties (design tokens)
│ ├── chrome.css # Branding bar, nav, breadcrumb layout
│ ├── components.css # Cards, tables, forms, buttons, badges, etc.
│ └── screens.css # Minimal per-screen layout overrides
├── js/
│ ├── router.js # Hash-based router with fragment fetching
│ ├── store.js # Alpine.js global store (app state, mock context)
│ └── data.js # All mock data as plain JS constants
└── screens/
├── intake/
├── cases/
├── placement/
├── eligibility/
├── financial/
├── reporting/
└── portals/
Technical Architecture
-
Routing: Hash-based (
/intake/worklist,/cases/dashboard). Onhashchange, fetches HTML fragment fromscreens/, callsAlpine.initTree()on new content. -
State: Alpine.js global store with
currentRoute,currentModule,isPortal, selected entity IDs, wizard state. -
Mock Data:
window.MOCK_DATAinjs/data.jswith arrays for intakes, cases, placements, eligibility results, payments, providers, data quality metrics. -
CSS: Georgia Orchard design system tokens, reusable component classes (cards, tables, forms, badges, tabs, wizard steps, timeline).
Navigation Routes
| Hash | Screen | Module |
|---|---|---|
|
Investigation Worklist |
intake |
|
New Referral Form |
intake |
|
Safety Assessment |
intake |
|
Caseworker Dashboard |
cases |
|
Case Summary |
cases |
|
Case Plan |
cases |
|
Placement Matching |
placement |
|
Foster Home Record |
placement |
|
Placement History |
placement |
|
Eligibility — Basic Info |
eligibility |
|
Eligibility — Judicial Findings |
eligibility |
|
Eligibility — AFDC Linkage |
eligibility |
|
Eligibility Decision Summary |
eligibility |
|
Payments List |
financial |
|
Payment Detail |
financial |
|
IV-E Claiming Report |
financial |
|
Data Quality Dashboard |
reporting |
|
AFCARS Submission |
reporting |
|
NCANDS Submission |
reporting |
|
Family Portal Dashboard |
portal |
|
Family Portal — Find Provider |
portal |
|
Foster Parent Portal |
portal |
|
Provider Portal |
portal |