diff --git a/apps/ui/src/components/MeasurementDashboard.tsx b/apps/ui/src/components/MeasurementDashboard.tsx index 416bc78f..b5e31587 100644 --- a/apps/ui/src/components/MeasurementDashboard.tsx +++ b/apps/ui/src/components/MeasurementDashboard.tsx @@ -290,7 +290,20 @@ const MetricRow = ({ ); -const SectionHeader = ({ +/** + * Numbered, collapsible section toggle used by every Measurement Dashboard + * sub-section. Structurally distinct from the ui/SectionHeader primitive — + * this whole component IS the click target (the entire row toggles the + * section open/closed) whereas the primitive renders a static h2 with an + * optional action slot. Wrapping the primitive in a ); @@ -339,7 +353,7 @@ const Section = ({ data-testid={testId} className="bg-bg-card border border-border rounded-sm p-4 space-y-4 scroll-mt-24" > -