Phase 4B dashboard and incidents UI#5
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/dashboardroute with operational health, active incidents, revenue at risk, delayed orders, SLA/availability, support signal, AI agent activity, pending approvals, and historical trend chart./incidentsroute with seeded incident list, status/severity filters, sorting links, and impact summaries./incidents/[id]flagship detail route with Warehouse API narrative, timeline, business/customer impact, affected services/customers/orders, evidence previews, agent/recommendation previews, approval/decision previews, reports, and audit previews.Phase
/root/ralph/plans/commandgrid/phase-04-dashboard-incidents-prd.mddocs/dashboard-incidents-data-contract.mdAcceptance Checklist
?role=query state.Verification
npm install— passed; existing audit output reports 8 moderate vulnerabilities.npm run lint— passed.npm run typecheck— passed.npm test— passed (4 files, 13 passed, 3 DB contract tests skipped by default).npm run build— passed.npm run cf:build— passed.npm run db:check— passed (warehouse-api-latency-spike, 312 delayed orders, $48,200 revenue at risk).Route Smoke / Visual Notes
/dashboard?role=executive→ 200, rendered Warehouse API content./incidents?status=active&severity=sev1&sortBy=revenueAtRisk→ 200, rendered flagship incident./incidents/warehouse-api-latency-spike?role=engineer→ 200, rendered flagship detail./incidents/warehouse-api-latency-spike?role=executive→ 200, rendered flagship detail with executive role path.PortInUseError: Port 18801 is already in use.No screenshots were faked.Risks / Notes
COMMANDGRID_RUN_DB_QUERY_TESTS=1;db:checkverified the seeded DB connection and flagship data.