This project is a domain-driven design study. It is not associated with, endorsed by or affiliated with any company, and it uses no company's code, data, logos or trademarks. All names, figures and examples are illustrative or synthetic. · November 2026
Five status lanes give 24 domain states from six contexts one shared visual language.
Ready-made cards, tables and charts let teams build screens without extra libraries.
Freshness badges and empty states make stale or missing data visible, never hidden.
Fund tests for the untested shared components, and choose a real versioned publish path for the kit.
Be the one place that decides how the warehouse console looks and how domain status reads, so the same Order/Task/StockUnit/Slot/shift/ProcessPath status renders identically on every screen across the micro-frontend boundary. A remote hand-rolling its own palette or status colors is treated as a bug, not a style choice…
The console shell and the remotes in bounded-context repos pull colors, layout pieces and status pills from this one kit.
There is no versioning or publish step, most shared components lack tests, and an unmapped status renders as neutral.
One source for color, spacing and type, checked for readable contrast.
Every team's order, task or slot status maps onto one of five tones.
Cards, tables, timelines and a shared app shell, ready to drop in.
Bar, line and funnel charts without every team shipping a chart library.
Shows how stale each report is and never leaves a chart silently blank.
Router-agnostic links, a typed fetch hook and shared number and time formats.
None installed; its contribution to fleet observability is FreshnessBadge — the shared primitive that renders analytics-projection staleness on every dashboard card
Owns shared design tokens and components.
Leader capabilities are vendor-published; gaps reflect repo docs reviewed in November 2026.
file: sibling-checkout coupling: consumers must build dist/ here before their own build/typecheck…
Docker handling is documented; a real versioned publish step is on the roadmap.
Shared-singleton blast radius: a bad change merged into develop reaches the shell and every remote's CI and images at once…
No mitigation on the roadmap yet: this one needs an owner.
DomainStatus carries a (string & {}) fallback — an unmapped backend status renders neutral instead of failing…
Every neutral fallback is a TODO; keep the status list in lockstep with the Go domains.
No publish or versioning: version stays 0.1.0 with no tags, so there is no way to pin or roll back per consumer
Decide the path to a real package version or publish step.
One shared design kit means an order or task status reads the same on every team's console screen
| Style | Shared design-system library package (Module Federation shared singleton): private @warehouse/ui-kit 0.1.0 consumed via file: sibling references and the built dist/… |
| Layout | src/components (AppShell + Breadcrumbs, StatusPill, Card, DataTable, Timeline, KpiStat, LaunchTile, FreshnessBadge, BarChart, LineChart, FunnelChart, chartCommon), src/tokens/tokens.css… |
| Storage | None — builds to dist/ui-kit.es.js + dist/ui-kit.css consumed via package.json exports |
| Testing | vitest + React Testing Library, jsdom: 6 test files (BarChart, FunnelChart, KpiStat, LineChart, Timeline, useFetch)… |
| REST | None published. useFetch is a generic typed-fetch hook; FreshnessBadge expects a sibling /reports/*/freshness endpoint on each consuming context |