You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Split from #932 (read-only practices view). This issue adds the interactive layer: users can view finding details and submit feedback (APPLIED / DISPUTED / NOT_APPLICABLE).
Context
Split from #932 (read-only practices view). This issue adds the interactive layer: users can view finding details and submit feedback (APPLIED / DISPUTED / NOT_APPLICABLE).
Scope
Components to Create
FindingDetailSheet.tsxuseGetFindingQueryDefault,Loading,LongEvidence,WithPreviousFeedbackFindingFeedbackActions.tsxuseSubmitFeedback,useGetLatestFeedbackQueryNoFeedback,Applied,Disputed,NotApplicable,SubmittingInteraction Flow
FindingsListItem(from feat(webapp): integrate practice findings into profile view + practices-first home redirect #932)FindingDetailSheetopens as a side sheetFindingFeedbackActionswith 3 buttonsStates
<Skeleton>in sheet body while finding detail loadstoast.error("Failed to submit feedback"), buttons re-enabledUI Conventions
export interface ComponentNamePropsSheet/SheetContent/SheetHeaderfromcomponents/ui/sheet.tsx(orDialogif sheet doesn't exist — check codebase)Buttonwithvariantprop, not custom styled divscn()for class mergingReact.FCStorybook Requirements
satisfies Meta,tags: ["autodocs"]fn()for all callbacks (onSubmitFeedback,onDismiss)Verification