Commit Graph

42 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
b22546e7f2 Add audit trail and filters
Implements audit trail view for item approvals, adds approval date range filtering to moderation queue, and wires up UI and backend components (Approval History page, ItemApprovalHistory component, materialized view-based history, and query/filters integration) to support compliant reporting and time-based moderation filtering.
2025-11-12 14:06:34 +00:00
gpt-engineer-app[bot]
e2ee11b9f5 Add database maintenance tooling
- Implement maintenance hooks (useMaintenanceTables, useVacuumTable, useAnalyzeTable, useReindexTable)
- Add DatabaseMaintenance page and UI for vacuum/analyze/reindex
- Wire new route / admin/database-maintenance and sidebar entry
- Remove DatabaseMaintenance icon usage on page and align with AdminLayout props
2025-11-12 01:39:05 +00:00
gpt-engineer-app[bot]
915a9fe2df Add automated data retention cleanup
Implements edge function, Django tasks, and UI hooks/panels for automatic retention of old metrics, anomalies, alerts, and incidents, plus updates to query keys and monitoring dashboard to reflect data-retention workflows.
2025-11-11 02:21:27 +00:00
gpt-engineer-app[bot]
be94b4252c Implement ML Anomaly Detection
Introduce statistical anomaly detection for metrics via edge function, hooks, and UI components. Adds detection algorithms (z-score, moving average, rate of change), anomaly storage, auto-alerts, and dashboard rendering of detected anomalies with run-once trigger and scheduling guidance.
2025-11-11 02:07:49 +00:00
gpt-engineer-app[bot]
7fba819fc7 Implement alert correlation UI
- Add hooks and components for correlated alerts and incidents
- Integrate panels into MonitoringOverview
- Extend query keys for correlation and incidents
- Implement incident actions (create, acknowledge, resolve) and wiring
2025-11-11 02:03:20 +00:00
gpt-engineer-app[bot]
01aba7df90 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.
2025-11-11 01:51:42 +00:00
gpt-engineer-app[bot]
99c917deaf Implement monitoring overview features
Add comprehensive monitoring dashboard scaffolding:
- Extend queryKeys with monitoring keys
- Create hooks: useCombinedAlerts, useRecentActivity, useDatabaseHealth, useModerationHealth
- Build UI components: SystemHealthStatus, CriticalAlertsPanel, MonitoringQuickStats, RecentActivityTimeline, MonitoringNavCards
- Create MonitoringOverview page and integrate routing (MonitoringOverview route)
- Wire AdminSidebar to include Monitoring navigation
- Introduce supporting routing and admin layout hooks/utilities
- Align with TanStack Query patterns and plan for auto-refresh and optimistic updates
2025-11-11 01:33:53 +00:00
gpt-engineer-app[bot]
e2692471bb Enhance alert resolution UX
Implement loading state, confirmation dialog, and related UI changes for resolving rate limit alerts:
- Add resolvingAlertId state
- Use ConfirmationDialog for safe resolution
- Update Resolve button to ghost variant with CheckCircle icon and loading behavior
- Wire up loading and disable states during mutation
2025-11-11 00:23:21 +00:00
gpt-engineer-app[bot]
28fa2fd0d4 Monitor rate limits progress
Implement monitor-rate-limits edge function to compare metrics against alert configurations, trigger notifications, and record alerts; update config and groundwork for admin UI integration.
2025-11-11 00:19:13 +00:00
gpt-engineer-app[bot]
1628753361 Create Rate Limit Admin Dashboard
Add a React admin dashboard component to visualize rate limit metrics and statistics, including data fetching from the rate-limit-metrics edge function, charts and statistics, and admin routes/integration. Includes setup for routing and UI scaffolding to display total requests, block rate, top blocked IPs/users, and recent activity with interactive charts.
2025-11-11 00:06:49 +00:00
gpt-engineer-app[bot]
fce582e6ba Consolidate Admin Logs Hub
- Implement new unified monitoring hub by adding EdgeFunctionLogs, DatabaseLogs, CorrelatedLogsView, and UnifiedLogSearch components
- Integrate new tabs (edge-functions, database, traces) into ErrorMonitoring and expose TraceViewer route
- Update admin sidebar link to reflect Monitoring hub and extend error modals with log-correlation actions
- Wire up app to include trace viewer route and adjust related components for unified log correlation
2025-11-10 14:49:33 +00:00
gpt-engineer-app[bot]
96adb2b15e Connect to Lovable Cloud
Implement distributed tracing across edge functions:
- Introduce span types and utilities (logger.ts enhancements)
- Replace request tracking with span-based tracing in approval and rejection flows
- Propagate and manage W3C trace context in edge tracking
- Add span visualization scaffolding (spanVisualizer.ts) and admin TraceViewer UI (TraceViewer.tsx)
- Create tracing-related type definitions and support files
- Prepare RPC call logging with span context and retries
2025-11-10 14:40:44 +00:00
gpt-engineer-app[bot]
d903e96e13 Implement pipeline monitoring alerts
Approve and implement the Supabase migration for the pipeline monitoring alert system. This includes expanding alert types, adding new monitoring functions, and updating existing ones with escalating thresholds.
2025-11-07 05:05:32 +00:00
gpt-engineer-app[bot]
eac9902bb0 Implement Phase 3 fixes
The AI has implemented the Phase 3 plan, which includes adding approval failure monitoring to the existing error monitoring page, extending the ErrorAnalytics component with approval metrics, adding performance indexes, and creating the ApprovalFailureModal component.
2025-11-07 00:22:38 +00:00
gpt-engineer-app[bot]
66bdb36b03 Implement client-side error timing 2025-11-05 04:20:55 +00:00
gpt-engineer-app[bot]
a649906b61 feat: Complete app-wide error coverage 2025-11-04 19:58:20 +00:00
gpt-engineer-app[bot]
ded4dfd59c Refactor: Add button feedback 2025-11-04 18:48:39 +00:00
gpt-engineer-app[bot]
f32b8bdfee Fix error monitoring date filter 2025-11-04 16:48:01 +00:00
gpt-engineer-app[bot]
6af981a6e4 Fix imports and test flow 2025-11-03 22:03:08 +00:00
gpt-engineer-app[bot]
63d9d8890c Fix frontend JSONB references 2025-11-03 21:19:51 +00:00
gpt-engineer-app[bot]
19b1451f32 Refactor log_request_metadata function 2025-11-03 20:58:52 +00:00
gpt-engineer-app[bot]
a86da6e833 Approve database migration 2025-11-03 15:18:06 +00:00
gpt-engineer-app[bot]
133141d474 Reverted to commit 0091584677 2025-11-01 15:22:30 +00:00
gpt-engineer-app[bot]
0d16bb511c feat: Implement API and cache improvements 2025-10-31 12:11:14 +00:00
gpt-engineer-app[bot]
beb2a17312 Fix build error in AdminContact 2025-10-29 12:44:12 +00:00
gpt-engineer-app[bot]
2d66a4f778 Implement dynamic page titles 2025-10-29 12:42:18 +00:00
gpt-engineer-app[bot]
944e1ba9ff Fix ticket merging implementation 2025-10-28 22:59:40 +00:00
gpt-engineer-app[bot]
ca4f78922a Fix incorrect label in merge dialog 2025-10-28 22:51:58 +00:00
gpt-engineer-app[bot]
1da0bc04d6 feat: Implement ticket merging 2025-10-28 22:48:03 +00:00
gpt-engineer-app[bot]
994ec886e4 Fix email signature preview 2025-10-28 19:46:33 +00:00
gpt-engineer-app[bot]
55ef3e05ef feat: Add automatic email signature 2025-10-28 19:40:37 +00:00
gpt-engineer-app[bot]
ed55905295 feat: Implement contact submission archiving and deletion 2025-10-28 19:36:11 +00:00
gpt-engineer-app[bot]
2ebb2eafec feat: Add user profile data to contact submissions 2025-10-28 19:14:51 +00:00
gpt-engineer-app[bot]
0257bccc45 feat: Improve email thread display and status updates 2025-10-28 18:45:26 +00:00
gpt-engineer-app[bot]
adbb4e5813 Fix: Open reply modal to correct tab 2025-10-28 18:36:30 +00:00
gpt-engineer-app[bot]
ab21dc9c82 feat: Implement ticket system and reply button 2025-10-28 18:33:32 +00:00
gpt-engineer-app[bot]
cfda7e8d56 feat: Add refresh button to Admin Inbox 2025-10-28 18:19:16 +00:00
gpt-engineer-app[bot]
1c7ca8fe32 Fix AdminContact loading state 2025-10-28 18:17:10 +00:00
gpt-engineer-app[bot]
b3bb55ecd9 Fix: Ensure admin header and sidebar are present 2025-10-28 18:13:22 +00:00
gpt-engineer-app[bot]
c8c210a6e5 Fix: "Rendered more hooks than during previous render" error 2025-10-28 18:11:44 +00:00
gpt-engineer-app[bot]
c42b34b327 Approve database migration 2025-10-28 17:35:40 +00:00
gpt-engineer-app[bot]
e5f8ecefeb feat: Implement contact page and backend 2025-10-28 17:01:57 +00:00