Commit Graph

1858 Commits

Author SHA1 Message Date
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]
1a4e30674f Refactor: Improve timeline event display
Implement changes to enhance the display of timeline event submissions in the moderation queue. This includes updating the `get_submission_items_with_entities` function to include timeline event data, creating a new `RichTimelineEventDisplay` component, and modifying `SubmissionItemsList` and `TimelineEventPreview` components to utilize the new display logic.
2025-11-06 15:25:33 +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]
bd4f75bfb2 Fix entity submission pipelines
Refactor park updates, ride updates, and timeline event submissions to use dedicated relational tables instead of JSON blobs in `submission_items.item_data`. This enforces the "NO JSON IN SQL" rule, improving queryability, data integrity, and consistency across the pipeline.
2025-11-06 15:13:36 +00:00
gpt-engineer-app[bot]
ed9d17bf10 Fix ride model technical specs
Implement plan to fix ride model technical specifications pipeline. This includes creating a new migration for the `ride_model_submission_technical_specifications` table, updating `entitySubmissionHelpers.ts` to handle insertion of technical specifications, and modifying the edge function `process-selective-approval/index.ts` to fetch these specifications. This ensures no data loss for ride model technical specifications.
2025-11-06 15:03:51 +00:00
gpt-engineer-app[bot]
de9a48951f Fix ride submission data loss
Implement the plan to fix critical data loss in ride submissions. This includes:
- Storing ride technical specifications, coaster statistics, and name history in submission tables.
- Adding missing category-specific fields to the `ride_submissions` table via a new migration.
- Updating submission helpers and the edge function to include these new fields.
- Fixing the park location Zod schema to include `street_address`.
2025-11-06 14:51:36 +00:00
gpt-engineer-app[bot]
9f5240ae95 Fix: Add street_address to composite submission approval
Implement the plan to add `street_address` to the location creation logic within the `process-selective-approval` edge function. This ensures that `street_address` is preserved when approving composite submissions, completing the end-to-end pipeline for this field.
2025-11-06 14:24:48 +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]
c1683f9b02 Fix RPC function syntax error
Correct syntax error in RPC function migration due to comments.
2025-11-06 13:14:07 +00:00
gpt-engineer-app[bot]
e631ecc2b1 Fix: Remove unused 'content' column from submissions 2025-11-06 05:09:44 +00:00
gpt-engineer-app[bot]
57ac5c1f1a Fix pathname scope in ssrOG.ts 2025-11-06 05:04:38 +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]
328a77a0a8 Fix: Normalize park_type in approval function 2025-11-06 04:50:48 +00:00
gpt-engineer-app[bot]
d00ea2a3ee Fix 406 errors in validation 2025-11-06 04:47:35 +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]
93e48ac457 Fix park type and moderator ID 2025-11-06 04:31:58 +00:00
gpt-engineer-app[bot]
090f6aca48 Refactor: Redeploy edge function 2025-11-06 04:25:29 +00:00
gpt-engineer-app[bot]
f94dbd70f5 Fix validation and RPC function 2025-11-06 04:07:53 +00:00
gpt-engineer-app[bot]
a6c687b367 Fix validation and RPC function 2025-11-06 04:07:11 +00:00
gpt-engineer-app[bot]
f60b92c600 Fix database migration for park submissions 2025-11-06 03:56:16 +00:00
gpt-engineer-app[bot]
dcdf502e67 Fix 406 error in company lookup 2025-11-06 02:32:19 +00:00
gpt-engineer-app[bot]
36878c05af Implement location data fix 2025-11-06 02:02:57 +00:00
gpt-engineer-app[bot]
20f3844a58 Fix composite submission location 2025-11-06 01:44:28 +00:00
gpt-engineer-app[bot]
ceeb41768f Fix composite submission location data 2025-11-06 01:43:28 +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]
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]
d00c4f2e92 Fix location validation in moderation 2025-11-05 23:53:27 +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]
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]
caa6c788df Fix: Save submission edits to relational tables 2025-11-05 21:08:53 +00:00
gpt-engineer-app[bot]
6c5b5363c0 Fix park validation schema 2025-11-05 21:02:52 +00:00
gpt-engineer-app[bot]
dfd17e8244 Refactor park submission location handling 2025-11-05 20:46:02 +00:00
gpt-engineer-app[bot]
f9c11cb064 Fix: Improve validation error handling 2025-11-05 20:36:02 +00:00
gpt-engineer-app[bot]
c8018b827e feat: Implement retry logic and tracking 2025-11-05 20:19:43 +00:00
gpt-engineer-app[bot]
028ea433bb Fix edge function query ambiguity 2025-11-05 20:09:44 +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]
4ee6419865 Fix ambiguous relationship queries 2025-11-05 19:55:36 +00:00
gpt-engineer-app[bot]
6cc08de96c Fix security vulnerabilities 2025-11-05 19:51:25 +00:00
gpt-engineer-app[bot]
00b2ea2192 Fix duplicate foreign key constraints 2025-11-05 19:47:16 +00:00
gpt-engineer-app[bot]
c0a4a8dc9c Fix duplicate foreign key constraints 2025-11-05 19:46:56 +00:00
gpt-engineer-app[bot]
4d571e4f12 Fix search path security warning 2025-11-05 19:44:01 +00:00