From 65a8b5a8b676418bacd63d0aea47cd2a67ffa894 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sun, 10 May 2026 22:15:27 +0200 Subject: [PATCH] fix(coach): pin medical disclaimer at bottom of message thread MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v1.4.22 B4 moved the disclaimer ("Coach replies are generated. Clinical decisions belong with your doctor.") into the sources-rail footer. The rail only paints at `xl+` viewports; on ` --- .../insights/coach-panel/message-thread.tsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/components/insights/coach-panel/message-thread.tsx b/src/components/insights/coach-panel/message-thread.tsx index e9486d86d..014a383be 100644 --- a/src/components/insights/coach-panel/message-thread.tsx +++ b/src/components/insights/coach-panel/message-thread.tsx @@ -145,6 +145,21 @@ export function MessageThread({ /> )} + {/* v1.4.22 W5 reconcile (Design-H3) — medical-disclaimer + reach regression. v1.4.22 B4 moved the disclaimer to the + sources-rail footer, but the rail is xl-only; on mobile + and laptop viewports the disclaimer was only reachable + via the chevron tray. Pin a small persistent line at the + bottom of the message thread so every Coach session + carries the disclaimer regardless of viewport. The rail + footer stays for desktop users — the redundancy is + intentional for clinical-adjacent UI. */} +

+ {t("insights.coach.composerDisclaimer")} +

); }