feat(greenfield): add reports overview - #407
Conversation
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe overview route now loads the newest 50 report summaries, displays report status and counts, refreshes after realtime events, and handles loading and errors. Shared presentation helpers, route tests, Storybook stories, progress documentation, and timing data were added or updated. ChangesReports overview
Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)sequenceDiagram
participant OverviewRoute
participant OverviewReportsSection
participant reports.list
participant ReportsRealtime
participant OverviewReportsCard
OverviewRoute->>OverviewReportsSection: Render reports overview
OverviewReportsSection->>reports.list: Fetch newest 50 summaries
reports.list-->>OverviewReportsSection: Return summaries and pagination state
OverviewReportsSection->>OverviewReportsCard: Render report data
ReportsRealtime-->>OverviewReportsSection: Emit report event
OverviewReportsSection->>reports.list: Refresh overview query
reports.list-->>OverviewReportsSection: Return updated data or error
OverviewReportsSection->>OverviewReportsCard: Render refreshed or retained data
Possibly related PRs
Suggested labels: 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Summary
Behavior and regression coverage
/reportscatalog, so older cached pages cannot widen root refresh work.{ limit: 50 }request, bounded count wording, latest status/time, and the accessible/reportslink./remains intentionallyplanned; this slice does not claim job/cron or later privileged-card parity.Verification
bun run test:timings:update— 1594 passedbun run test:timings:update:browser— 293 passedbun run storybook:test— 172 passed across 51 filesbun run test:coverage— 91.69% (required 85%)bun run typecheckbun run lintbun run format:checkbun run check:boundariesbun run docs:checkbun run db:checkbun audit --productionbun run storybook:builda8f362397cc3d0fe16984586b169c481ad4bd628:bun run build:releaseRisk checklist
.envfiles, database dumps, or runtime state committedreports:readprocedureOverviewReportsCardStorybook states and interaction/a11y testsDeployment / operations
feat(greenfield): add reports overviewcommitNotes for reviewers
mira/greenfield-rewrite-phase-three-system-metrics.