UI Schematic v1 (Phase 43 Finalized)
Scope
This document captures the finalized UI structure for:
- Header #2 (
/vendorscontext) - Vendor toolbar chip rail (
/vendorspage) - Notification Bar triage logic
Header #2 (Vendor Overview Route)
Exact chip order (left-to-right)
+ ADD VENDORSUMMARYBACK
Chip color mapping
+ ADD VENDOR- Tailwind classes:
bg-slate-900/80 border-slate-800 - Effective color:
rgba(15, 23, 42, 0.80) - Hex equivalent:
#0f172acc
- Tailwind classes:
SUMMARY- Tailwind classes:
bg-slate-900/80 border-slate-800 - Effective color:
rgba(15, 23, 42, 0.80) - Hex equivalent:
#0f172acc
- Tailwind classes:
Vendor Toolbar (Primary Controls on /vendors)
Layout anchor checks
+ ADD VENDORis the far-left anchor.- Search box is positioned immediately after
+ ADD VENDORand beforeAll Risk.
Full control flow (left-to-right)
+ ADD VENDORSearchAll RiskHighMedLowActivity LogSummaryIndustrydropdownCompliance CalendardropdownDownloadMap ViewTable View
Exact 9-chip set (excluding Search, dropdowns, Download)
+ ADD VENDORAll RiskHighMedLowActivity LogSummaryMap ViewTable View
Notification Bar (Permission Required)
Structural logic
- Badge counter renders to the left of
Permission Requiredheading. - Alerts render horizontally in compact pills.
- Alert detail line uses
break-wordsand does not usetruncateorline-clamp, allowing full text expansion.
Vertical Approve/Reject stacking logic
- Each alert pill contains an action column:
flex flex-col items-end. - Button order is deterministic:
Approve(top)Reject(bottom)
- This enforces vertical stacking and preserves compact horizontal card layout.
Integrity Snapshot Notes
- Grade icon scaling remains at 75% (
h-9 w-9icon container with compact text). - Row-level bar graph/sparkline remains active (
risk-sparklineper vendor row). - Badge decrement behavior validated from
3 -> 2on first approval in scripted verification.