1.8 KiB
1.8 KiB
id, title, status, assignee, created_date, updated_date, labels, dependencies, priority, ordinal
| id | title | status | assignee | created_date | updated_date | labels | dependencies | priority | ordinal |
|---|---|---|---|---|---|---|---|---|---|
| TASK-29 | Surface audit generations on dashboard audits | Done | 2026-06-05 20:30 | 2026-06-10 19:27 | high | 31000 |
Description
Show audit-generation pipeline data on /dashboard/audits when final audits rows do not exist yet, so local Convex auditGenerations are visible instead of an empty dashboard.
Acceptance Criteria
- #1 Dashboard query returns finalized audit rows and audit-generation pipeline rows
- #2 Generation rows are suppressed when a finalized audit exists for the same run or lead
- #3 AuditsBoard renders German labels for finalized audits and generation states
- #4 Regression tests cover mixed dashboard data source and duplicate suppression
Implementation Plan
- Add red regression tests for dashboard query and UI source contract
- Implement Convex dashboard row query with audit + generation union
- Update AuditsBoard to consume and render dashboard rows
- Run focused tests, then full test suite
- Record verified acceptance criteria in Backlog notes
Implementation Notes
Implemented listDashboardRows with authenticated audit + audit_generation rows. Addressed QA finding by suppressing generation rows via direct auditId lookup and by_leadId lookup, not only the fetched dashboard audit page. Verified with pnpm test and pnpm lint; lint has only existing generated Better Auth warnings.
Final Summary
Closed per explicit user request while switching project tracking to pitchfast.