From eebe4019af1f637e6da3fd22afe176ef7ae725fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Tue, 20 Oct 2026 13:36:59 +0200 Subject: [PATCH] fix(insights): ring tiles use TileHeader The wellness score tiles and the cycle ring tile drew their own icon and title row instead of TileHeader; the skeleton of the score tile was a hand-rolled card shell and now composes Card. --- src/components/cycle/cycle-ring-tile.tsx | 12 ++++++------ .../insights/derived/wellness-scores.tsx | 15 ++++++--------- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/src/components/cycle/cycle-ring-tile.tsx b/src/components/cycle/cycle-ring-tile.tsx index f68773888..b09155700 100644 --- a/src/components/cycle/cycle-ring-tile.tsx +++ b/src/components/cycle/cycle-ring-tile.tsx @@ -10,6 +10,7 @@ import { useTranslations } from "@/lib/i18n/context"; import { CycleRing } from "./cycle-ring"; import { PHASE_HUE } from "./phase-tokens"; import { useCycleRingCalendar } from "./use-cycle"; +import { TileHeader } from "@/components/insights/tile-header"; /** * v1.15.3 — the compact cycle ring as a WELLNESS-STRIP element. @@ -107,12 +108,11 @@ export function CycleRingTile({ className }: { className?: string }) { className, )} > -
-
+
-
-
+
{/* The ring keeps just the number centred; the metric name lives in the header above. The per-metric `hue` gradient leans the arc @@ -242,10 +239,10 @@ function historyOf( */ function WellnessScoreTileSkeleton() { return ( - + ); }