From 6b115a558e388ff0a5334f3e4a7d53779cdfc60d Mon Sep 17 00:00:00 2001 From: Bastien Chanot Date: Mon, 18 May 2026 21:30:43 +0200 Subject: [PATCH] feat(report): ConclusionPanel + NextAppointmentPicker (date | period | none) --- src/components/report/ConclusionPanel.tsx | 38 ++++++++++++++++++- .../report/NextAppointmentPicker.tsx | 38 ++++++++++++++++++- 2 files changed, 72 insertions(+), 4 deletions(-) diff --git a/src/components/report/ConclusionPanel.tsx b/src/components/report/ConclusionPanel.tsx index b9e97421..ac309096 100644 --- a/src/components/report/ConclusionPanel.tsx +++ b/src/components/report/ConclusionPanel.tsx @@ -1,3 +1,37 @@ -export default function ConclusionPanel() { - return
ConclusionPanel placeholder
+import type { Report } from '@/domain/schema/report' +import Label from '@/components/ui/Label' +import Textarea from '@/components/ui/Textarea' +import NextAppointmentPicker from './NextAppointmentPicker' + +export interface ConclusionPanelProps { + conclusion: string + recommendations: string + nextAppointment: Report['nextAppointment'] + onChangeConclusion: (s: string) => void + onChangeRecommendations: (s: string) => void + onChangeNextAppointment: (n: Report['nextAppointment']) => void +} + +export default function ConclusionPanel({ + conclusion, + recommendations, + nextAppointment, + onChangeConclusion, + onChangeRecommendations, + onChangeNextAppointment, +}: ConclusionPanelProps) { + return ( +
+

Conclusion & recommandations

+
+ +