crcr_nightly_success_rate — same structure as crcr_success_rate but filters event_type = 'nightly' instead of pr_number > 0useState<'pr' | 'nightly'>('pr') — controls which data to fetch and displayPassRateChart, FailuresChart, TotalRunsChart accept data as props — no changes needed to chart componentsuseSWR; only the active tab's charts render