mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-16 15:23:29 +00:00
Merge v1.25.1: drop the repeated inline disclaimers from medication, insights, and labs
This commit is contained in:
commit
d7fd3ea9b4
10 files changed
+1
-53
No files matched your search
@@ -6,7 +6,6 @@ import { useRouter } from "next/navigation";
|
||||
import { useQueryClient } from "@tanstack/react-query";
|
||||
import { Loader2, Pencil, Plus, ScanLine, Wrench } from "lucide-react";
|
||||
|
||||
import { MedicalDisclaimer } from "@/components/common/medical-disclaimer";
|
||||
import { LabForm } from "@/components/labs/lab-form";
|
||||
import { LabList } from "@/components/labs/lab-list";
|
||||
import { OcrReviewDialog } from "@/components/labs/ocr-review-dialog";
|
||||
@@ -174,11 +173,6 @@ export default function LabsPage() {
|
||||
) : null}
|
||||
|
||||
<LabList onAddFirst={() => setDialogOpen(true)} />
|
||||
|
||||
{/* v1.25 — calm, context-specific framing for lab values: your own
|
||||
records, ranges vary by lab and person, only a clinician interprets
|
||||
them. One footer line, not a per-row banner. */}
|
||||
<MedicalDisclaimer variant="labs" className="px-1 pt-2" />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -7,7 +7,6 @@ import { useRouter, useSearchParams } from "next/navigation";
|
||||
import { useAuth } from "@/hooks/use-auth";
|
||||
import { useTranslations } from "@/lib/i18n/context";
|
||||
import { queryKeys } from "@/lib/query-keys";
|
||||
import { MedicalDisclaimer } from "@/components/common/medical-disclaimer";
|
||||
import { MedicationWizardDialog } from "@/components/medications/wizard/medication-wizard-dialog";
|
||||
import { MedicationCard } from "@/components/medications/medication-card";
|
||||
import { Glp1MedicationCard } from "@/components/medications/glp1-medication-card";
|
||||
@@ -525,12 +524,6 @@ export default function MedicationsPage() {
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* v1.25 — calm framing for the medications surface: this tracks what
|
||||
you log and your own adherence, it doesn't assess dosing or
|
||||
interactions and isn't medical advice. One footer line, neutral —
|
||||
the med cards themselves stay un-tinted. */}
|
||||
<MedicalDisclaimer variant="medications" className="px-1 pt-2" />
|
||||
|
||||
{/* v1.5.5 — the per-card kebab triggers used to open inline
|
||||
IntakeImportDialog / ApiEndpointDialog mounts here, but both
|
||||
state slots were only ever set from inside the dialogs
|
||||
|
||||
Reference in new issue
Block a user