mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 00:11:13 -05:00
Connect to Lovable Cloud
Fix security definer view issue by enabling security_invoker on grouped_alerts_view and implement grouped alerts system with new keys, hooks, components, and monitoring overview integration. Added migration to adjust view, updated query keys, created useGroupedAlerts, useAlertGroupActions, GroupedAlertsPanel, and updated MonitoringOverview to include grouped alerts.
This commit is contained in:
@@ -89,5 +89,8 @@ export const queryKeys = {
|
||||
combinedAlerts: () => ['monitoring', 'combined-alerts'] as const,
|
||||
databaseHealth: () => ['monitoring', 'database-health'] as const,
|
||||
moderationHealth: () => ['monitoring', 'moderation-health'] as const,
|
||||
groupedAlerts: (options?: { includeResolved?: boolean; minCount?: number; severity?: string }) =>
|
||||
['monitoring', 'grouped-alerts', options] as const,
|
||||
alertGroupDetails: (groupKey: string) => ['monitoring', 'alert-group-details', groupKey] as const,
|
||||
},
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user