- {t("cycle.insights.empty")} -
-{card.body}
-- {card.caveat} -
- ) : null} -- {t("cycle.disclaimer")} -
- ); -} diff --git a/src/components/cycle/cycle-view.tsx b/src/components/cycle/cycle-view.tsx index b9d4c57b6..aee7a43d2 100644 --- a/src/components/cycle/cycle-view.tsx +++ b/src/components/cycle/cycle-view.tsx @@ -14,15 +14,18 @@ import { CycleRing } from "./cycle-ring"; import { CycleCalendar } from "./cycle-calendar"; import { LogDaySheet } from "./log-day-sheet"; import { PredictionsPanel } from "./predictions-panel"; -import { CycleInsights } from "./cycle-insights"; +import { + CyclePhaseHeadline, + CyclePhaseCrosstab, +} from "./cycle-phase-crosstab"; import { CycleSettings } from "./cycle-settings"; import { deriveWheelState } from "./wheel-state"; import { useCycleCalendar, useCycleHistory, + useCycleInsights, useCycleProfile, } from "./use-cycle"; -import type { CycleInsightCard } from "./types"; /** * v1.15.0 — the cycle vertical's client orchestrator. @@ -53,14 +56,11 @@ export function CycleView() { const calendar = useCycleCalendar(from, to); const history = useCycleHistory(); const profileQuery = useCycleProfile(); + const insights = useCycleInsights(); const [sheetOpen, setSheetOpen] = useState(false); const [selectedDate, setSelectedDate] = useState(today); - // Phase-correlation cards arrive from another wave; render the graceful - // empty-state until the feed lands. - const insightCards: CycleInsightCard[] = []; - const wheel = useMemo( () => deriveWheelState(calendar.data?.days ?? [], today), [calendar.data, today], @@ -153,8 +153,9 @@ export function CycleView() { /> -