Commit Graph

125 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
b917232220 Refactor useModerationActions for resilience
Integrate transaction resilience features into the `useModerationActions` hook by refactoring the `invokeWithIdempotency` function. This change ensures that all moderation paths, including approvals, rejections, and retries, benefit from timeout detection, automatic lock release, and robust idempotency key management. The `invokeWithIdempotency` function has been replaced with a new `invokeWithResilience` function that incorporates these enhancements.
2025-11-07 15:53:54 +00:00
gpt-engineer-app[bot]
b92a62ebc8 feat: Add idempotency to useModerationActions
Implement idempotency integration in the useModerationActions hook as per the detailed plan.
2025-11-06 17:43:16 +00:00
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]
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]
dcdf502e67 Fix 406 error in company lookup 2025-11-06 02:32:19 +00:00
gpt-engineer-app[bot]
2b56629a75 Add logging for submission data 2025-11-06 00:04:07 +00:00
gpt-engineer-app[bot]
d00c4f2e92 Fix location validation in moderation 2025-11-05 23:53:27 +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]
4ee6419865 Fix ambiguous relationship queries 2025-11-05 19:55:36 +00:00
gpt-engineer-app[bot]
ba974d2243 Fix validation for non-park/ride entities 2025-11-05 19:09:18 +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]
0d6d3fb2cc feat: Implement timeline manager 2025-11-05 18:44:57 +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]
eb726d3f83 Fix infinite query loop 2025-11-05 01:55:53 +00:00
gpt-engineer-app[bot]
6438d186d7 Fix infinite query loop 2025-11-05 01:35:59 +00:00
gpt-engineer-app[bot]
162d288cb0 feat: Complete error logging coverage 2025-11-04 19:30:56 +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]
63d9d8890c Fix frontend JSONB references 2025-11-03 21:19:51 +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]
9e8e8719b4 Fix: Resolve TypeScript errors 2025-11-03 02:28:57 +00:00
gpt-engineer-app[bot]
8ce7775324 Fix remaining any types and enable strict mode 2025-11-03 01:20:50 +00:00
gpt-engineer-app[bot]
d126be2908 feat: Enable TypeScript strict mode 2025-11-03 00:58:42 +00:00
gpt-engineer-app[bot]
35c7c3e957 Refactor: Complete error handling overhaul 2025-11-02 23:19:46 +00:00
gpt-engineer-app[bot]
d057ddc8cc feat: Implement Sprint 3 Performance Optimizations 2025-11-02 21:52:59 +00:00
gpt-engineer-app[bot]
41560d9c42 Implement complete roadmap 2025-11-02 21:22:03 +00:00
gpt-engineer-app[bot]
133141d474 Reverted to commit 0091584677 2025-11-01 15:22:30 +00:00
gpt-engineer-app[bot]
fe3db865cc Fix: Resolve type errors in RecentActivity hook 2025-10-31 00:03:58 +00:00
gpt-engineer-app[bot]
44f38be77d feat: Implement admin component optimizations 2025-10-31 00:02:35 +00:00
gpt-engineer-app[bot]
d40f0f13aa Apply all API enhancements 2025-10-30 23:55:18 +00:00
gpt-engineer-app[bot]
1ebb491ffa Fix: Address build errors in moderation logging 2025-10-27 17:17:13 +00:00
gpt-engineer-app[bot]
2de13c12e4 feat: Implement comprehensive audit logging 2025-10-27 17:14:24 +00:00
gpt-engineer-app[bot]
3b82887974 Move to Phase 4-5 2025-10-21 18:15:22 +00:00
gpt-engineer-app[bot]
e580f1f4b4 Refactor: Update type safety status 2025-10-21 17:19:19 +00:00
gpt-engineer-app[bot]
29fb04d03d Fix feature path catch blocks 2025-10-21 16:01:45 +00:00
gpt-engineer-app[bot]
827f0f8ea5 Fix: Address HMR failures and Fast Refresh incompatibility 2025-10-21 13:13:10 +00:00
gpt-engineer-app[bot]
d9a912f443 Fix: Enable TypeScript strict mode 2025-10-20 00:26: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]
c74a41c2e3 Fix: Add validation blocking to main queue approval 2025-10-17 23:04:08 +00:00
gpt-engineer-app[bot]
152a90ae9d feat: Improve MFA check reliability 2025-10-17 19:06:35 +00:00
gpt-engineer-app[bot]
47c1a39442 Fix MFA check in moderation queue 2025-10-17 19:01:42 +00:00
gpt-engineer-app[bot]
0e2ecd766d feat: Implement optimistic stats updates 2025-10-17 18:54:57 +00:00
gpt-engineer-app[bot]
6623074679 Refactor: Add MFA check and improve error handling 2025-10-17 18:50:32 +00:00
gpt-engineer-app[bot]
804a221995 Fix: Resolve stale cache issues in moderation flow 2025-10-17 18:42:23 +00:00
gpt-engineer-app[bot]
b4ddea424b Fix: Use refetch for moderation actions 2025-10-17 18:38:45 +00:00
gpt-engineer-app[bot]
3209974fd0 Fix: Invalidate query cache for moderation actions 2025-10-17 18:28:18 +00:00
gpt-engineer-app[bot]
debb5325bd feat: Complete type safety for Phase 1 & 2 2025-10-17 15:23:15 +00:00
gpt-engineer-app[bot]
77deb62742 feat: Implement final type safety fixes 2025-10-17 15:06:35 +00:00