PR: #353: [Story-1382] Matter detail header + right rail (Storybook only) by @ankitmaheshwari-com
View PR →
Story 1382 · EPIC-006 Matter Shell

Matter detail header + right rail — Storybook-first

The matter-detail chrome (the editorial top bar + the matter-admin rail) built and visually verified in Storybook before any live /matters/[id] wiring — per the repo's Storybook-first + "done = system boundary" doctrine. Two presentational components, no route, no data fetch.

Two locked designs disagreed — resolved before building

The source-of-truth files conflicted; rather than silently pick, the conflicts were surfaced and decided (AGENTS.md: flag conflicts, do not redesign).

ConflictDecision
matter-topbar-v5-lock shows 6 tabs (Strategy folded into Brief); matter-tab-screens-v1 + the task show 7. 7 tabs incl. Strategy: Brief · Strategy · Documents · Filings · Chronology · Proof · Hearings.
The task's 320px "Client / Parties / Team / Value" rail is in neither locked file (file 1 has a 280px "Matter administration" panel; file 2 only a 44px icon strip). Build the locked admin panel (280px key:value rows) + the 44px icon strip. No invented design.

Components (src/components/matter-detail/)

Substrate discipline

Verification Storybook

Out of scope (next PRs)

Wiring into the live /matters/[id] route; real data fetch; Atlas drawer / floating bar / CCB; per-tab body content.

Files changed

11 file(s), +733 / -0 lines

Path Role + -
messages/en.jsonConfig+38-0
messages/hi.jsonConfig+38-0
src/components/matter-detail/matter-admin-panel.tsxComponent+96-0
src/components/matter-detail/matter-detail-header.stories.tsxComponent+66-0
src/components/matter-detail/matter-detail-header.tsxComponent+148-0
src/components/matter-detail/matter-right-rail.stories.tsxComponent+79-0
src/components/matter-detail/matter-right-rail.tsxComponent+39-0
src/components/matter-detail/presentation.tsComponent+49-0
src/components/matter-detail/rail-icon-strip.tsxComponent+104-0
src/components/matter-detail/status-pill.tsxComponent+25-0
src/components/matter-detail/types.tsComponent+51-0