Commit Graph

40 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
e7f5aa9d17 Refactor validation to edge function
Centralize all business logic validation within the edge function for the submission pipeline. Remove validation logic from React hooks, retaining only basic UX validation (e.g., checking for empty fields). This ensures a single source of truth for validation, preventing inconsistencies between the frontend and backend.
2025-11-06 16:18:34 +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]
d00ea2a3ee Fix 406 errors in validation 2025-11-06 04:47:35 +00:00
gpt-engineer-app[bot]
a6c687b367 Fix validation and RPC function 2025-11-06 04:07:11 +00:00
gpt-engineer-app[bot]
34300a89c4 Fix: Add client-side validation 2025-11-05 21:13:04 +00:00
gpt-engineer-app[bot]
6c5b5363c0 Fix park validation schema 2025-11-05 21:02:52 +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]
972505f53b Fix Zod validation for optional fields 2025-11-05 17:46:44 +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]
6af981a6e4 Fix imports and test flow 2025-11-03 22:03:08 +00:00
gpt-engineer-app[bot]
3c6d6a3bdf feat: Implement composite submission system 2025-11-02 19:51:20 +00:00
gpt-engineer-app[bot]
05217b00d4 Add coaster-specific fields 2025-10-30 12:35:48 +00:00
gpt-engineer-app[bot]
8795e756ce feat: Add category-specific ride fields 2025-10-30 12:24:28 +00:00
gpt-engineer-app[bot]
9aaff5a10b feat: Add submitter fields to entity forms 2025-10-29 15:30:15 +00:00
gpt-engineer-app[bot]
ed205e68cd feat: Add operator is owner checkbox 2025-10-29 13:56:59 +00:00
gpt-engineer-app[bot]
d78356e673 Remove debug console logs 2025-10-21 15:51:53 +00:00
gpt-engineer-app[bot]
1138eea024 Implement all phases sequentially 2025-10-21 12:18:38 +00:00
gpt-engineer-app[bot]
a293e48b24 Fix slug uniqueness validation 2025-10-17 23:35:49 +00:00
gpt-engineer-app[bot]
ba67d5414f Fix validation and approval issues 2025-10-17 23:11:51 +00:00
gpt-engineer-app[bot]
026f402057 Refactor: Implement milestone moderation fixes 2025-10-17 17:21:21 +00:00
gpt-engineer-app[bot]
5fe16e51b4 Fix: Update slug validation error message 2025-10-17 16:55:59 +00:00
gpt-engineer-app[bot]
ac151e5445 Fix: Resolve milestone validation errors 2025-10-17 15:47:40 +00:00
gpt-engineer-app[bot]
4ab59e2ec2 Fix: Approve database migration 2025-10-17 14:40:48 +00:00
gpt-engineer-app[bot]
0db54b402b Refactor: Implement type safety plan 2025-10-17 14:35:15 +00:00
gpt-engineer-app[bot]
f176c28df6 feat: Add track material column and filtering 2025-10-16 19:54:22 +00:00
gpt-engineer-app[bot]
3bcd9e03fa feat: Implement strict type enforcement 2025-10-16 13:56:32 +00:00
gpt-engineer-app[bot]
35e988fba2 Fix milestone entity display and validation 2025-10-15 20:13:29 +00:00
gpt-engineer-app[bot]
31177fba1b Fix founded_year empty string validation 2025-10-13 18:18:40 +00:00
gpt-engineer-app[bot]
70ca838cc9 Fix founded_year validation 2025-10-13 18:17:18 +00:00
gpt-engineer-app[bot]
b3ffb60ffb Fix founded year/date handling 2025-10-13 17:48:52 +00:00
gpt-engineer-app[bot]
dd079bd5a5 Fix TypeScript build errors 2025-10-12 16:22:57 +00:00
gpt-engineer-app[bot]
f37b99a5f9 Reverted to commit 06ed528d76 2025-10-11 15:58:56 +00:00
gpt-engineer-app[bot]
1df9ada8ae Reverted to commit 96a961d95c 2025-10-11 15:58:11 +00:00
gpt-engineer-app[bot]
351000c1ef Fix validation for moderation queue 2025-10-10 19:49:06 +00:00
gpt-engineer-app[bot]
5adf855b04 Fix: Implement company submission and validation plan 2025-10-10 19:28:15 +00:00
gpt-engineer-app[bot]
1fc9a1104f Approve database migration 2025-10-10 19:01:15 +00:00
gpt-engineer-app[bot]
2ccbb51fb1 Fix validation errors and display 2025-10-10 00:38:04 +00:00
gpt-engineer-app[bot]
37daceff75 Fix: Resolve form validation and type errors 2025-10-09 19:46:08 +00:00
gpt-engineer-app[bot]
f8232e4555 feat: Implement comprehensive validation system 2025-10-09 18:15:38 +00:00