Commit Graph

968 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
714a1707ce Fix photo upload ban evasion reporting
Implement ban evasion reporting for the photo upload component to ensure consistency with other submission types. This change adds a call to `reportBanEvasionAttempt` when a banned user attempts to upload photos, logging the incident to system alerts.
2025-11-08 00:47:55 +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]
c79538707c Refactor photo upload pipeline
Implement comprehensive error recovery mechanisms for the photo upload pipeline in `UppyPhotoSubmissionUpload.tsx`. This includes adding exponential backoff to retries, graceful degradation for partial uploads, and cleanup for orphaned Cloudflare images. The changes also enhance error tracking and user feedback for failed uploads.
2025-11-08 00:11:55 +00:00
gpt-engineer-app[bot]
6731e074a7 Fix photo and timeline submission bulletproofing
Implement rate limiting, validation, retry logic, and ban checking for photo and timeline submissions. This includes updates to `UppyPhotoSubmissionUpload.tsx` and `entitySubmissionHelpers.ts`.
2025-11-07 19:27:30 +00:00
gpt-engineer-app[bot]
c7e18206b1 Persist transaction statuses to localStorage
Add persistence for transaction statuses to localStorage in ModerationQueue and SubmissionReviewManager components. This ensures that transaction statuses (processing, timeout, cached, completed, failed) are preserved across page refreshes, providing a more robust user experience during active transactions.
2025-11-07 16:17:34 +00:00
gpt-engineer-app[bot]
e4bcad9680 Add transaction status indicators to moderation UI
Implement visual indicators in the moderation queue and review manager to display the status of ongoing transactions. This includes states for processing, timeout, and cached results, providing users with clearer feedback on the system's activity.
2025-11-07 16:07:48 +00:00
gpt-engineer-app[bot]
fc8631ff0b Integrate transaction resilience hook
Integrate the `useTransactionResilience` hook into `SubmissionReviewManager.tsx` to add timeout detection, auto-release functionality, and idempotency key management to moderation actions. The `handleApprove` and `handleReject` functions have been updated to use the `executeTransaction` wrapper for these operations.
2025-11-07 15:36:53 +00:00
gpt-engineer-app[bot]
095278dafd Implement client-side resilience UI
Create NetworkErrorBanner, SubmissionQueueIndicator, and enhanced retry progress UI components. Integrate them into the application using a ResilienceProvider to manage network status and submission queue states. Update App.tsx to include the ResilienceProvider.
2025-11-07 14:54:06 +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]
5b0ac813e2 Fix park submission locations
Implement Phase 1 of the JSONB violation fix by creating the `park_submission_locations` table. This includes migrating existing data from `park_submissions.temp_location_data` and updating relevant code to read and write to the new relational table. The `temp_location_data` column will be dropped after data migration.
2025-11-06 15:45:12 +00:00
gpt-engineer-app[bot]
4d7b00e4e7 feat: Implement rich timeline event display
Implement the plan to enhance the display of timeline event submissions in the moderation queue. This includes fixing the database function to fetch timeline event data, creating a new `RichTimelineEventDisplay` component, and updating the `SubmissionItemsList` and `TimelineEventPreview` components to leverage this new display. The goal is to provide moderators with complete and contextually rich information for timeline events.
2025-11-06 15:24:46 +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]
fc7c2d5adc Refactor park detail address display
Implement the plan to refactor the address display in the park detail page. This includes updating the sidebar address to show the street address on its own line, followed by city, state, and postal code on the next line, and the country on a separate line. This change aims to create a more compact and natural address format.
2025-11-06 14:03:58 +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]
b189f40c1f Fix date display and edit form issues 2025-11-06 05:01:51 +00:00
gpt-engineer-app[bot]
5c24038470 Refactor moderation queue display 2025-11-06 04:42:00 +00:00
gpt-engineer-app[bot]
93e8e98957 Fix: Display temp location data 2025-11-06 04:37:48 +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]
524f6a65e8 Wrap forms with error boundaries 2025-11-05 21:33:14 +00:00
gpt-engineer-app[bot]
fa3dfcfdee Fix: Improve chunk load error handling 2025-11-05 21:23:09 +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]
5e4ed810c0 feat: Add error boundaries to submission queries 2025-11-05 20:05:01 +00:00
gpt-engineer-app[bot]
5513f532ee Fix submission items queries 2025-11-05 20:01:26 +00:00
gpt-engineer-app[bot]
d998225315 Fix: Reorder mobile menu items 2025-11-05 19:35:56 +00:00
gpt-engineer-app[bot]
45a5dadd29 Add smooth transitions and reorder menu items 2025-11-05 19:33:59 +00:00
gpt-engineer-app[bot]
3f95e447bb Fix Explore menu width 2025-11-05 19:31:20 +00:00
gpt-engineer-app[bot]
d29e873e14 feat: Implement comprehensive validation error handling 2025-11-05 19:00:28 +00:00
gpt-engineer-app[bot]
882959bce6 Refactor: Use consolidated escalateSubmission action 2025-11-05 18:49:21 +00:00
gpt-engineer-app[bot]
0d6d3fb2cc feat: Implement timeline manager 2025-11-05 18:44:57 +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]
80d823a1b9 Fix moderation queue claim logic 2025-11-05 16:37:54 +00:00
gpt-engineer-app[bot]
7c35f2932b feat: Implement timezone-independent date picker 2025-11-05 16:31:51 +00:00
gpt-engineer-app[bot]
c966b6c5ee Fix date input normalization 2025-11-05 16:21:22 +00:00
gpt-engineer-app[bot]
1f93e7433b feat: Implement automatic API connectivity banner 2025-11-05 15:55:02 +00:00
gpt-engineer-app[bot]
35fdd16c6c feat: Implement Cronitor health monitor 2025-11-05 15:38:11 +00:00
gpt-engineer-app[bot]
e08aacaff3 Refactor: Remove circuit breaker system 2025-11-05 15:02:17 +00:00
gpt-engineer-app[bot]
e773ca58d1 feat: Implement network status banner 2025-11-05 14:12:23 +00:00
gpt-engineer-app[bot]
783284a47a Implement success/failure states 2025-11-05 14:02:34 +00:00
gpt-engineer-app[bot]
80826a83a8 Fix migration for admin settings 2025-11-05 13:40:25 +00:00
gpt-engineer-app[bot]
ec5181b9e6 feat: Implement circuit breaker and retry logic 2025-11-05 13:27:22 +00:00
gpt-engineer-app[bot]
540bd1cd7a Fix unstable callbacks in moderation queue 2025-11-05 05:00:23 +00:00
gpt-engineer-app[bot]
4b06d73509 Fix: Remove infinite loop in ModerationQueue 2025-11-05 04:26:23 +00:00
gpt-engineer-app[bot]
66bdb36b03 Implement client-side error timing 2025-11-05 04:20:55 +00:00