From 431120d55e37aedecbabc96b3d84ddce78241d7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Wed, 29 Jul 2026 14:29:19 +0200 Subject: [PATCH] fix(01-16): unify records action grammar - use Save for new and existing lifestyle facts - show first-entry or populated-list add actions without duplication --- src/components/records/allergy-manager.tsx | 10 ++++++---- src/components/records/family-history-manager.tsx | 10 ++++++---- .../records/health-profile-facts-manager.tsx | 4 +--- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/components/records/allergy-manager.tsx b/src/components/records/allergy-manager.tsx index f363bc5ad..bbd25e0c4 100644 --- a/src/components/records/allergy-manager.tsx +++ b/src/components/records/allergy-manager.tsx @@ -123,10 +123,12 @@ export function AllergyManager() {

{t("records.allergies.description")}

- + {rows.length > 0 ? ( + + ) : null} {isLoading ? ( diff --git a/src/components/records/family-history-manager.tsx b/src/components/records/family-history-manager.tsx index 4a6cb7542..ba007a21b 100644 --- a/src/components/records/family-history-manager.tsx +++ b/src/components/records/family-history-manager.tsx @@ -108,10 +108,12 @@ export function FamilyHistoryManager() {

{t("records.family.description")}

- + {rows.length > 0 ? ( + + ) : null} {isLoading ? ( diff --git a/src/components/records/health-profile-facts-manager.tsx b/src/components/records/health-profile-facts-manager.tsx index 4a42e81d7..a5cc6e2b4 100644 --- a/src/components/records/health-profile-facts-manager.tsx +++ b/src/components/records/health-profile-facts-manager.tsx @@ -243,9 +243,7 @@ export function HealthProfileFactsManager() { aria-hidden /> )} - {current - ? t("records.profileFacts.correct") - : t("records.profileFacts.save")} + {t("records.profileFacts.save")} {current ? (