gpt-engineer-app[bot]
1f7e4bf81c
Fix updateItemDataWithHistory
...
Refactor to store park location data relationally:
- Retrieve park_submission_id from park_submissions
- Remove embedded temp_location_data usage
- Update park_submissions without location, then upsert location into park_submission_locations
- Align behavior with updateSubmissionItems pattern to fix JSON storage in Item history
2025-11-10 19:53:29 +00:00
gpt-engineer-app[bot]
94312c8ef0
Connect to atomic rejection flow
...
Introduce atomic rejection for bulk submissions, remove dead moderation code, and clean exports:
- Replace direct DB updates in rejectSubmissionItems with atomic process-selective-rejection edge function call
- Add edge function invocation helper import
- Remove obsolete moderation actions (approvePhotoSubmission, rejectSubmissionItems, performModerationAction) and prune exports
- Update moderation index exports accordingly
- Ensure cascade handling uses atomic pipeline and avoid updateSubmissionStatusAfterRejection calls
2025-11-10 14:19:49 +00:00
Claude
571bf07b84
Fix critical error handling gaps in submission pipeline
...
Addressed real error handling issues identified during comprehensive
pipeline review:
1. **process-selective-approval edge function**
- Added try-catch blocks around idempotency key updates (lines 216-262)
- Prevents silent failures when updating submission status tracking
- Updates are now non-blocking to ensure proper response delivery
2. **submissionItemsService.ts**
- Added error logging before throwing in fetchSubmissionItems (line 75-81)
- Added error handling for park location fetch failures (lines 99-107)
- Location fetch errors are now logged as non-critical and don't block
submission item retrieval
3. **notify-moderators-submission edge function**
- Added error handling for notification log insert (lines 216-236)
- Log failures are now non-blocking and properly logged
- Ensures notification delivery isn't blocked by logging issues
4. **upload-image edge function**
- Fixed CORS headers scope issue (line 127)
- Moved corsHeaders definition outside try block
- Prevents undefined reference in catch block error responses
All changes maintain backward compatibility and improve pipeline
resilience without altering functionality. Error handling is now
consistent with non-blocking patterns for auxiliary operations.
2025-11-08 03:47:54 +00:00
gpt-engineer-app[bot]
41a396b063
Fix parenthesis error in moderation actions
...
Fix missing closing parenthesis in `src/hooks/moderation/useModerationActions.ts` to resolve the build error.
2025-11-06 15:49:49 +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]
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]
2b56629a75
Add logging for submission data
2025-11-06 00:04:07 +00:00
gpt-engineer-app[bot]
b653ed118c
Fix submission update logic
2025-11-06 00:01:31 +00:00
gpt-engineer-app[bot]
d9f406e539
Fix: Transform location data for park submissions
2025-11-05 23:42:57 +00:00
gpt-engineer-app[bot]
caa6c788df
Fix: Save submission edits to relational tables
2025-11-05 21:08:53 +00:00
gpt-engineer-app[bot]
5513f532ee
Fix submission items queries
2025-11-05 20:01:26 +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]
791205210f
Fix superuser release locks RPC
2025-11-05 01:21:55 +00:00
gpt-engineer-app[bot]
0df047d56b
feat: Implement final error coverage
2025-11-04 19:50:06 +00:00
gpt-engineer-app[bot]
80aa033e70
Fix submission_items foreign keys
2025-11-04 14:57:58 +00:00
gpt-engineer-app[bot]
6af981a6e4
Fix imports and test flow
2025-11-03 22:03:08 +00:00
gpt-engineer-app[bot]
7663205512
Fix remaining compliance violations
2025-11-03 18:47:59 +00:00
gpt-engineer-app[bot]
7eb0b77d76
Fix console statement violations
2025-11-03 18:30:07 +00:00
gpt-engineer-app[bot]
1a3c5ef671
Fix TypeScript errors after JSONB removal
2025-11-03 14:33:34 +00:00
gpt-engineer-app[bot]
8d6cf9ceb5
Refactor submission data handling
2025-11-03 14:09:16 +00:00
gpt-engineer-app[bot]
516f7c4c41
Fix: Resolve remaining TypeScript errors
2025-11-03 02:54:43 +00:00
gpt-engineer-app[bot]
07420a67bf
Fix: Handle internal errors
2025-11-03 02:41:01 +00:00
gpt-engineer-app[bot]
e14c11d994
Fix TypeScript errors in moderation components
2025-11-03 01:00:18 +00:00
gpt-engineer-app[bot]
d126be2908
feat: Enable TypeScript strict mode
2025-11-03 00:58:42 +00:00
gpt-engineer-app[bot]
061c06be29
Implement planned features
2025-11-03 00:38:16 +00:00
gpt-engineer-app[bot]
d44f806afa
Fix notification logs migration
2025-11-03 00:28:33 +00:00
gpt-engineer-app[bot]
c59d8e40d5
Refactor: Remove item_edit_history_view
2025-11-02 23:55:49 +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
gpt-engineer-app[bot]
3c6d6a3bdf
feat: Implement composite submission system
2025-11-02 19:51:20 +00:00
gpt-engineer-app[bot]
c0e59c2758
feat: Complete Ride Model Image Support
2025-10-30 14:19:30 +00:00
gpt-engineer-app[bot]
9f52d423f0
Refactor: Update CDN image delivery URLs
2025-10-30 00:58:22 +00:00
gpt-engineer-app[bot]
2de13c12e4
feat: Implement comprehensive audit logging
2025-10-27 17:14:24 +00:00
gpt-engineer-app[bot]
d78356e673
Remove debug console logs
2025-10-21 15:51:53 +00:00
gpt-engineer-app[bot]
638d49c8d9
Update plan with remaining phases
2025-10-21 12:25:36 +00:00
gpt-engineer-app[bot]
4cc07be189
Refactor: Revert type changes
2025-10-20 15:06:54 +00:00
gpt-engineer-app[bot]
6801268720
feat: Complete production readiness
2025-10-20 14:28:15 +00:00
gpt-engineer-app[bot]
4983960138
Fix remaining production readiness issues
2025-10-20 12:30:09 +00:00
gpt-engineer-app[bot]
77deb62742
feat: Implement final type safety fixes
2025-10-17 15:06:35 +00:00
gpt-engineer-app[bot]
5466c60b84
Fix missing imports in identity and conflict resolution services
2025-10-17 14:42:26 +00:00
gpt-engineer-app[bot]
4ab59e2ec2
Fix: Approve database migration
2025-10-17 14:40:48 +00:00
gpt-engineer-app[bot]
455c1da203
Fix: Remove deprecated versioning helpers
2025-10-15 18:14:42 +00:00
gpt-engineer-app[bot]
4b697fe45a
feat: Implement Novu subscriber update
2025-10-15 16:49:58 +00:00
gpt-engineer-app[bot]
aaf7aceba5
Fix operator precedence in editSubmissionItem
2025-10-13 18:39:54 +00:00
gpt-engineer-app[bot]
fc9ba92e74
Add action_type to submission items
2025-10-13 18:31:29 +00:00
gpt-engineer-app[bot]
badf3507de
Implement Phase 2, Part 2
2025-10-06 15:43:50 +00:00
gpt-engineer-app[bot]
404444d5b4
Fix: Implement location data storage fix
2025-10-03 15:08:31 +00:00
gpt-engineer-app[bot]
90b5b943d3
feat: Implement submission reset functionality
2025-10-02 16:05:26 +00:00
gpt-engineer-app[bot]
36603cdb80
Refactor: Enforce submission queue for all edits
2025-10-02 14:46:49 +00:00
gpt-engineer-app[bot]
7bbf67156b
feat: Implement photo processing logic
2025-09-30 15:40:49 +00:00