Commit Graph

176 Commits

Author SHA1 Message Date
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]
8259096c3f Add cleanup verification UI
Implements a CleanupReport UI component to display detailed cleanup results after test runs, including tables cleaned, records deleted per table, duration, and errors. Integrates with IntegrationTestRunner to show cleanup summary post-run and exports a compact inline view.
2025-11-10 19:30:30 +00:00
gpt-engineer-app[bot]
4a18462c37 Add delay countdown UI progress
Introduce visible countdown indicators for rate-limit delays between tests:
- Extend test runner to emit and expose delay progress updates.
- Update IntegrationTestRunner UI to display countdown while pausing.
- Ensure users see why tests are paused during delays.
2025-11-10 17:34:53 +00:00
gpt-engineer-app[bot]
3cb0f66064 Make test results copyable
Add Markdown formatting utilities for test results, wire up clipboard copy in IntegrationTestRunner, and export new formatters. Introduce formatters.ts, extend index.ts exports, and implement copy all / copy failed / per-test copy functionality with updated UI.
2025-11-10 16:48:51 +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]
64e2b893b9 Implement pipeline monitoring alerts
Extend existing alert system to include real-time monitoring for rate limit violations and ban evasion attempts. This involves adding new reporting functions to `pipelineAlerts.ts`, integrating these functions into submission and company helper files, updating the admin dashboard component to display new alert types, and creating a database migration for the new alert type.
2025-11-08 00:39:37 +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]
bd2f9a5a9e Remove old approval flow
Implement the destructive migration plan to remove the old approval flow entirely. This includes deleting the legacy edge function, removing the toggle component, simplifying frontend code, and updating documentation.
2025-11-06 21:14:59 +00:00
gpt-engineer-app[bot]
406edc96df Implement 100% atomic transaction rollout
Update actions.ts and ApprovalTransactionToggle.tsx to default to the new atomic transaction RPC flow. The feature flag can now be used to disable the new flow for emergency rollback.
2025-11-06 20:48:18 +00:00
gpt-engineer-app[bot]
67525173cb Approve tool use
The user has approved the tool use.
2025-11-06 20:15:14 +00:00
gpt-engineer-app[bot]
9159b2ce89 Fix submission flow for street address
Update submission and moderation pipeline to correctly handle `street_address`. This includes:
- Adding `street_address` to the Zod schema in `ParkForm.tsx`.
- Ensuring `street_address` is included in `tempLocationData` for park and composite park creations in `entitySubmissionHelpers.ts`.
- Preserving `street_address` when editing submissions in `submissionItemsService.ts`.
- Saving `street_address` when new locations are created during submission approval in `submissionItemsService.ts`.
2025-11-06 14:15:45 +00:00
gpt-engineer-app[bot]
98fbc94476 feat: Add street address to locations
Adds a street_address column to the locations table and updates the LocationSearch component to capture, store, and display full street addresses. This includes database migration, interface updates, and formatter logic.
2025-11-06 13:51:40 +00:00
gpt-engineer-app[bot]
c8a015a15b Fix park type and moderator ID 2025-11-06 04:33:26 +00:00
gpt-engineer-app[bot]
0f8e98a85a Fix: Re-evaluate initial submission validation 2025-11-06 00:11:31 +00:00
gpt-engineer-app[bot]
7476fbd5da feat: Add park selection to RideForm 2025-11-05 21:18:26 +00:00
gpt-engineer-app[bot]
34300a89c4 Fix: Add client-side validation 2025-11-05 21:13:04 +00:00
gpt-engineer-app[bot]
14f413daab Fix validation for optional fields 2025-11-05 17:03:59 +00:00
gpt-engineer-app[bot]
11a1ae5f65 Fix entity validation and data loading 2025-11-05 16:48:14 +00:00
gpt-engineer-app[bot]
c966b6c5ee Fix date input normalization 2025-11-05 16:21:22 +00:00
gpt-engineer-app[bot]
66bdb36b03 Implement client-side error timing 2025-11-05 04:20:55 +00:00
gpt-engineer-app[bot]
df9f997c64 feat: Implement automatic MFA verification modal 2025-11-05 00:48:39 +00:00
gpt-engineer-app[bot]
c21301cd37 Fix form button inconsistencies 2025-11-04 22:30:21 +00:00
gpt-engineer-app[bot]
9bf5ea322e Refactor: Implement full error logging 2025-11-04 19:23:28 +00:00
gpt-engineer-app[bot]
cb01707c5e feat: Implement button loading states 2025-11-04 18:19:52 +00:00
gpt-engineer-app[bot]
6b5be8a70b feat: Add button loading states 2025-11-04 18:11:31 +00:00
gpt-engineer-app[bot]
c904fe10a1 feat: Implement MFA step-up system 2025-11-04 16:35:40 +00:00
gpt-engineer-app[bot]
6af981a6e4 Fix imports and test flow 2025-11-03 22:03:08 +00:00
gpt-engineer-app[bot]
b1d9f9c72b Fix error logging and metadata 2025-11-03 21:49:21 +00:00
gpt-engineer-app[bot]
b5cbc42cdf Fix remaining JSONB references 2025-11-03 21:36:08 +00:00
gpt-engineer-app[bot]
22f4a68bd8 Refactor: Database and UI updates 2025-11-03 21:32:04 +00:00
gpt-engineer-app[bot]
63d9d8890c Fix frontend JSONB references 2025-11-03 21:19:51 +00:00
gpt-engineer-app[bot]
2cd6b2c6c3 Fix remaining console logs and types 2025-11-03 20:04:11 +00:00
gpt-engineer-app[bot]
99ceacfe0c Fix remaining console statements 2025-11-03 19:24:38 +00:00
gpt-engineer-app[bot]
ba6bb8a317 Fix edge function console statements 2025-11-03 19:16:06 +00:00
gpt-engineer-app[bot]
b6179372e6 Refactor: Implement logging phases 2025-11-03 17:08:36 +00:00
gpt-engineer-app[bot]
12de4e2ec1 Fix error propagation in forms 2025-11-03 16:51:49 +00:00
gpt-engineer-app[bot]
700c29c910 Fix form submission toasts 2025-11-03 16:48:03 +00:00
gpt-engineer-app[bot]
a86da6e833 Approve database migration 2025-11-03 15:18:06 +00:00
gpt-engineer-app[bot]
c4b1339f0d Fix null/undefined type mismatches 2025-11-03 01:35:07 +00:00
gpt-engineer-app[bot]
2ce837f376 Fix type errors in admin components 2025-11-03 01:24:54 +00:00
gpt-engineer-app[bot]
d126be2908 feat: Enable TypeScript strict mode 2025-11-03 00:58:42 +00:00
gpt-engineer-app[bot]
ecca11a475 Refactor: Fix notification view security 2025-11-03 00:30:56 +00:00
gpt-engineer-app[bot]
bccaebc6d6 Fix: Block photo uploads on entity edits 2025-11-02 20:39:22 +00:00
gpt-engineer-app[bot]
bb951e637f Refactor composite submission logic 2025-11-02 20:29:08 +00:00
gpt-engineer-app[bot]
6a9df807fa Fix submission flow issues 2025-11-02 20:21:10 +00:00