docs(workouts): correct the seam comments now that the card can mount

This commit is contained in:
Marc-André Bombeck committed 2026-07-19 14:59:24 +02:00
1 parent e44cf8b804
commit 6e1945e8a0
1 file changed
+5 -3
+5 -3
View File
@@ -91,9 +91,11 @@ export default function InsightsWorkoutDetailPage({
) : (
<>
<WorkoutDetailHeader workout={data} />
{/* Reserved Activity-Insight seam — `aiInsight` is always null
today, so this renders nothing. When the Phase-2 job
populates it, the card mounts here with zero layout rework. */}
{/* The Activity Insight, above the stats it describes. `null` is the
common case and renders nothing — the paragraph is written by a
background job when the workout lands, so a historical or
re-synced workout has none and opening this page never asks for
one. */}
{data.aiInsight ? (
<WorkoutInsightCard insight={data.aiInsight} />
) : null}