PR: #685: feat(matter): add team rail drawer [Story-2666]
by @ayush-pramaan
View PR →
Story-2666
Team now has an entry in the Matter Action Rail
The existing Matter Action Rail now includes a Team icon above Counsel's notes. Clicking it opens the shell-owned right drawer and lights the Team icon while the drawer is open.
Placement
Matter body
Brief, Record, Filings, and the other matter modes keep their existing body surface.
Mira
Intake
Team
Notes
Audit
Settings
Keys
Matter team access.
Behavior
RailIconIdnow includesteam.-
RailIconStripreusesRailIconButtonand LucideUsers. -
MatterShellChromeownsteamOpen, passesactiveId="team"while open, and reusesBaseSheet. - The drawer has only placeholder chrome; roster body and controls remain for A3.
Proof
-
MatterDetail/RailIconStrip / Teamshows the active icon state. -
MatterDetail/MatterRail / Team activeshows the composed rail state. - Unit coverage asserts Team is above Counsel's notes and shell close clears the active icon.
- Playwright-BDD scenario covers the authenticated matter-page open/close path when auth e2e variables are present.
Files changed
11 file(s), +309 / -70 lines
| Path | Role | + | - |
|---|---|---|---|
| messages/en.json | Config | +2 | -0 |
| messages/hi.json | Config | +2 | -0 |
| src/components/matter-detail/matter-rail.stories.tsx | Component | +15 | -2 |
| src/components/matter-detail/matter-rail.test.tsx | Component | +50 | -4 |
| src/components/matter-detail/rail-icon-strip.stories.tsx | Component | +7 | -4 |
| src/components/matter-detail/rail-icon-strip.tsx | Component | +15 | -8 |
| src/components/matter-detail/types.ts | Component | +2 | -1 |
| src/components/matters/matter-shell-chrome.tsx | Component | +63 | -48 |
| tests/features/matter-action-rail-team.feature | Test | +14 | -0 |
| tests/steps/matter-action-rail-team.steps.ts | Test | +63 | -0 |
| tests/unit/matter-shell-chrome.test.tsx | Test | +76 | -3 |