warehouse-systems fleet · executive briefing

warehouse-ui-kit

Makes every warehouse screen show the same status the same way, in the same colors
six capabilitys

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

the short version · read this if nothing else

One shared design kit means an order or task status reads the same on every team's console screen

1

Five status lanes give 24 domain states from six contexts one shared visual language.

2

Ready-made cards, tables and charts let teams build screens without extra libraries.

3

Freshness badges and empty states make stale or missing data visible, never hidden.

The ask

Fund tests for the untested shared components, and choose a real versioned publish path for the kit.

why it exists

A status should mean the same thing on every screen, for every team

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…

Today

The console shell and the remotes in bounded-context repos pull colors, layout pieces and status pills from this one kit.

The catch

There is no versioning or publish step, most shared components lack tests, and an unmapped status renders as neutral.

what it does

Six building blocks give every team the same look for free

Design tokens

One source for color, spacing and type, checked for readable contrast.

Shared status language

Every team's order, task or slot status maps onto one of five tones.

Layout building blocks

Cards, tables, timelines and a shared app shell, ready to drop in.

Lightweight charts

Bar, line and funnel charts without every team shipping a chart library.

Honest data freshness

Shows how stale each report is and never leaves a chart silently blank.

Navigation, fetch and formatters

Router-agnostic links, a typed fetch hook and shared number and time formats.

the shared language

It owns no data, only the visual words for every team's statuses

THE LANGUAGEOF THE DOMAINFive semantic status lanesPublic API surface is…Token vocabularyConsumer
RESTNone published. useFetch is a generic typed-fetch hook…
MCPNone
how it is built

One shared library, loaded once, sits under the whole console

BUILDING BLOCKS · TOP-LEVEL COMPOSITIONsrc/componentsBreadcrumbs, StatusPill,Card, DataTable,Timeline, KpiStat,sole public API, imports thestylesheets in cascade order);tests beside components(*.test.tsx); docs/ (plainTECHNOLOGY STACKReact 19 (peer dependency, kept…TypeScript 7 (tsc -b)Vite 8 library build +…plain CSS custom properties…hand-rolled SVG charts (zero…Vitest 5 + React Testing…oxlint (jsx-a11y, react rules)…GitHub Actions: ci.yml…
how we know it is healthy

Lint, type checks, tests and audits gate every change to the kit

None installed; its contribution to fleet observability is FreshnessBadge — the shared primitive that renders analytics-projection staleness on every dashboard card

What we watch

  • FreshnessBadge consumed by shell and remotes so staleness is shown, never hidden
  • WCAG AA enforced on tokens (text-faint raised after a measured 3.36:1 failure, documented in tokens.css)
  • Every chart takes an emptyState (default 'No data.') so degradation is visible

What stops a bad change

  • make check-fast (lint + typecheck) — agent Stop-hook gate
  • make check = lint typecheck test build; make check-all adds npm audit --audit-level=high
  • CI ci.yml jobs: lint (oxlint), file-length (300-line cap on TypeScript files a PR touches, with a self-test), typecheck, guide-lint (guide_lint…
competitive position

Against the market leaders, we cover part of the ground

PartialOperator Console & UX vs Manhattan, Blue Yonder, Körber (HTML5), SAP (Fiori), SSI Schäfer (3D)

Owns shared design tokens and components.

Where we match or lead

  • Module Federation shell with ten context remotes and Fiori-style launchpad
  • Floor monitor with signal-on-silence rendering and backend-computed alarms
  • Cross-context Order Lifecycle trace and freshness-badged WMS/WES dashboards
  • Shared design tokens and component library across all remotes

Gaps to close

  • High No mobile / handheld component set for shop-floor tasks
  • Medium Pre-1.0, file:-referenced; sibling-checkout build coupling
  • Low Zero chart dependencies: analytics visuals are built per remote

Leader capabilities are vendor-published; gaps reflect repo docs reviewed in November 2026.

what comes next

Next we test core pieces, map more statuses and give teams versions

NOW1Add tests for theuntested sharedcomponentsAdd tests for the exported butuntested components and helpers(Card, DataTable, StatusPill,FreshnessBadge, AppShell,LaunchTile, NavigationProvider,format.ts): only 6 test filesexist, all for charts, KpiStat,Timeline and useFetchNEXT2Map statuses from theremotes' other contextsExtend DomainStatus andSTATUS_TONE to the remotes'other contexts(network-fulfillment,warehouse-planning,product-master,network-inventory-planning,inbound-receiving,labor-performance): …LATER3Refresh the release docto the current imagebuildRefreshdocs/operations/release.md: itstill shows the kind load pathand terraform/frontends.tf,while warehouse-infra nowbuilds images in thepublish-images workflow (ADR0011)LATER4Choose a real versionedpublish pathDecide the path to a realpackage version or publish step(release.md: no tags, noreleases, no npm publish;consumers pin a path, not aversion)
what could go wrong · and what we do about it

One bad change reaches every screen at once, with no rollback

Teams must build the kit next door before their own build

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.

A bad change hits the shell and every remote at once

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.

Unmapped statuses fall back to neutral and can hide drift

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 versioning, so no per-team pin or rollback

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.

the decision we need

Fund tests for the untested shared components, and choose a real versioned publish path for the kit.

WHAT ISThe console shell and the remotes inbounded-context repos pull colors,layout pieces and status pills fromthis one kit.THE CATCHThere is no versioning or publishstep, most shared components lacktests, and an unmapped statusrenders as neutral.WHAT COULD BETeams pin and roll back kit versionson their own, and every remote'sstatuses land with a tested, mappedcolor.
Why it matters

One shared design kit means an order or task status reads the same on every team's console screen

appendix · for the engineers in the room

The fine print: how it is put together

StyleShared design-system library package (Module Federation shared singleton): private @warehouse/ui-kit 0.1.0 consumed via file: sibling references and the built dist/…
Layoutsrc/components (AppShell + Breadcrumbs, StatusPill, Card, DataTable, Timeline, KpiStat, LaunchTile, FreshnessBadge, BarChart, LineChart, FunnelChart, chartCommon), src/tokens/tokens.css…
StorageNone — builds to dist/ui-kit.es.js + dist/ui-kit.css consumed via package.json exports
Testingvitest + React Testing Library, jsdom: 6 test files (BarChart, FunnelChart, KpiStat, LineChart, Timeline, useFetch)…
RESTNone published. useFetch is a generic typed-fetch hook; FreshnessBadge expects a sibling /reports/*/freshness endpoint on each consuming context
React 19TypeScript 7Vite 8 library build +…plain CSS custom propertieshand-rolled SVG chartsVitest 5 + React Testing LibraryoxlintGitHub Actions