refactor: remove performance insights (Web Vitals) feature entirely

Remove Performance tab, PerformanceStats component, settings toggle,
Web Vitals observers from tracking script, and all related API types
and SWR hooks. Duration tracking is preserved.
This commit is contained in:
Usman Baig
2026-03-14 22:47:33 +01:00
parent 7247281ce2
commit b305b5345b
12 changed files with 13 additions and 628 deletions

View File

@@ -17,8 +17,6 @@ export interface Site {
collect_device_info?: boolean
collect_geo_data?: GeoDataLevel
collect_screen_resolution?: boolean
// Performance insights setting
enable_performance_insights?: boolean
// Bot and noise filtering
filter_bots?: boolean
// Hide unknown locations from stats
@@ -48,8 +46,6 @@ export interface UpdateSiteRequest {
collect_device_info?: boolean
collect_geo_data?: GeoDataLevel
collect_screen_resolution?: boolean
// Performance insights setting
enable_performance_insights?: boolean
// Bot and noise filtering
filter_bots?: boolean
// Hide unknown locations from stats