feat: move performance to dedicated tab, fix 0/99999 metrics bug

Performance metrics moved from dashboard into a new Performance tab.
Fixed null handling so "No data" shows instead of misleading zeros.
Script no longer sends INP=0 when no interaction occurred.
This commit is contained in:
Usman Baig
2026-03-14 22:01:44 +01:00
parent f278aada7a
commit 7247281ce2
7 changed files with 346 additions and 211 deletions

View File

@@ -22,9 +22,10 @@ export interface ScreenResolutionStat {
}
export interface PerformanceStats {
lcp: number
cls: number
inp: number
lcp: number | null
cls: number | null
inp: number | null
samples: number
}
export interface PerformanceByPageStat {