mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 05:42:19 +00:00
docs(medications): refresh card-action + section comments for the tab move
The card kebab now navigates to detail-page tabs and the advanced-settings sheet is gone; update the stale prop and section doc comments to match.
This commit is contained in:
1 parent
8201cd2d8c
commit
895c497f5d
3 files changed
+15
-16
No files matched your search
@@ -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 `<AdvancedSettingsSheet>` (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;
|
||||
|
||||
@@ -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 `<AdvancedSettingsSheet>` (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;
|
||||
}
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
/**
|
||||
* v1.5.5 D-3 §9.8 — Verwaltung & Gefahrenzone.
|
||||
*
|
||||
* v1.7.0 — split into two reusable bodies so the redesigned
|
||||
* `<AdvancedSettingsSheet>` can slot them under different groups:
|
||||
* `<LifecycleManageBody>` (Pause + End → Lifecycle group) and
|
||||
* `<DangerZoneBody>` (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: `<LifecycleManageBody>`
|
||||
* (Pause + End → Lifecycle group) and `<DangerZoneBody>` (Purge + Delete
|
||||
* → Danger zone group).
|
||||
*
|
||||
* Mutation contracts per D-3 §3:
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user