mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
Add useWebVitalsReporting, which reports LCP, CLS, INP, TTFB and FCP as web_vital_reported events via sendTelemetryEvent once the user has accepted telemetry consent. Studio's Telemetry component calls it, so it covers both the Next and TanStack builds. Uses the web-vitals package directly rather than PostHog's capture_performance, which has no TTFB support. Resolves FE-3825