Objective
- When an inspector toggles info vs defect in Report Writer, the comment list must show only the matching type—not a mixed list of both.
Background
- May 15 feature sync (Chris): Selecting info or defect still shows both types together—a concrete bug.
- Root cause was open: server payload vs client filter / state—needs investigation before fix.
- Treat as a narrow defect ticket, separate from broader Report Writer feature velocity.
Scope
Report Writer app (primary)
- Decision needed: locate the list component and query that populate comments when the type toggle changes; verify whether the API returns unfiltered rows or the UI drops the filter.
Backend (if involved)
- Confirm the list endpoint (or embedded payload) respects a type discriminator (
info/defect/ equivalent)—Decision needed field names once the schema is in Attik repos (ATT-1672).
Frontend (if involved)
- Memoization, stale query keys, or shared state between tabs are common culprits—trace selection → fetch → render without assuming blame upfront.
References
- ATT-1672 (backend schema / API ownership alignment).
- No
ReportWriter-named paths surfaced inattik-frontend/attik-backendunder this audit—use the actual Report Writer repo/branch as source of truth once linked in the ticket.