diff --git a/src/components/medications/glp1-medication-card.tsx b/src/components/medications/glp1-medication-card.tsx index bfcd6306c..4fe02593f 100644 --- a/src/components/medications/glp1-medication-card.tsx +++ b/src/components/medications/glp1-medication-card.tsx @@ -124,15 +124,15 @@ interface Glp1MedicationCardProps { medication: Glp1Medication; onEdit: (med: Glp1Medication) => void; /** - * v1.7.1 — routes to the medication's full intake-history view - * (`/medications/{id}/history`), mirroring the generic medication card - * and the detail-header History button. The parent owns the navigation. + * v1.15.18 — navigates to the medication detail page's Verlauf tab + * (`/medications/{id}?tab=verlauf`), mirroring the generic medication + * card. The parent owns the navigation. */ onOpenHistory: (med: Glp1Medication) => void; /** - * v1.7.1 — opens the shared `` (mounted by the - * list page) for this medication, mirroring the generic medication card - * and the detail-header sliders button. + * v1.15.18 — navigates to the medication detail page's Erweitert tab + * (`/medications/{id}?tab=erweitert`), the home of the dissolved + * advanced settings. */ onOpenAdvanced: (med: Glp1Medication) => void; onLogSideEffect?: (med: Glp1Medication) => void; diff --git a/src/components/medications/medication-card.tsx b/src/components/medications/medication-card.tsx index 737620689..7342cb11d 100644 --- a/src/components/medications/medication-card.tsx +++ b/src/components/medications/medication-card.tsx @@ -94,15 +94,14 @@ interface MedicationCardProps { medication: Medication; onEdit: (med: Medication) => void; /** - * v1.7.1 — routes to the medication's full intake-history view - * (`/medications/{id}/history`), mirroring the detail-header History - * button. The parent owns the navigation. + * v1.15.18 — navigates to the medication detail page's Verlauf tab + * (`/medications/{id}?tab=verlauf`). The parent owns the navigation. */ onOpenHistory: (med: Medication) => void; /** - * v1.7.1 — opens the shared `` (mounted by the - * list page) for this medication, mirroring the detail-header sliders - * button. + * v1.15.18 — navigates to the medication detail page's Erweitert tab + * (`/medications/{id}?tab=erweitert`), the home of the dissolved + * advanced settings. */ onOpenAdvanced: (med: Medication) => void; } diff --git a/src/components/medications/sections/destructive-zone-section.tsx b/src/components/medications/sections/destructive-zone-section.tsx index 75b5cd4f8..6f3215aac 100644 --- a/src/components/medications/sections/destructive-zone-section.tsx +++ b/src/components/medications/sections/destructive-zone-section.tsx @@ -3,10 +3,10 @@ /** * v1.5.5 D-3 §9.8 — Verwaltung & Gefahrenzone. * - * v1.7.0 — split into two reusable bodies so the redesigned - * `` can slot them under different groups: - * `` (Pause + End → Lifecycle group) and - * `` (Purge + Delete → Danger zone group). + * v1.7.0 — split into two reusable bodies so the detail page's Erweitert + * tab can slot them under different groups: `` + * (Pause + End → Lifecycle group) and `` (Purge + Delete + * → Danger zone group). * * Mutation contracts per D-3 §3: *