Commit Graph

344 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
d0c613031e Migrate date precision to exact
Batch update all date precision handling to use expanded DatePrecision, replace hardcoded day defaults, and adjust related validation, UI, and helpers. Includes wrapper migration across Phase 1-3 functions, updates to logs, displays, and formatting utilities to align frontend with new precision values ('exact', 'month', 'year', 'decade', 'century', 'approximate').
2025-11-11 22:05:29 +00:00
gpt-engineer-app[bot]
8581950a6e Implement Phase 1 audit logging
Add centralized admin action logger and integrate logging for:
- Alert resolutions (system, rate limit, grouped)
- Role grants/revokes in UserRoleManager
- Incident creation/acknowledgement/resolution
- Moderation lock overrides

Includes file updates and usage across relevant components to ensure consistent audit trails.
2025-11-11 14:22: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]
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]
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]
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]
524f6a65e8 Wrap forms with error boundaries 2025-11-05 21:33:14 +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]
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]
80d823a1b9 Fix moderation queue claim logic 2025-11-05 16:37:54 +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]
acfbf872d2 Fix Recent Activity errors 2025-11-05 03:53:58 +00:00
gpt-engineer-app[bot]
791205210f Fix superuser release locks RPC 2025-11-05 01:21:55 +00:00
gpt-engineer-app[bot]
c4f975ff12 Implement persistent lock state 2025-11-04 23:12:44 +00:00
gpt-engineer-app[bot]
16386f9894 Implement superuser lock management 2025-11-04 23:08:00 +00:00
gpt-engineer-app[bot]
ae22a48ce2 Fix null safety issues 2025-11-04 22:57:49 +00:00
gpt-engineer-app[bot]
c15efd7907 Fix composite submission RPC 2025-11-04 22:49:39 +00:00
gpt-engineer-app[bot]
2a287b0d48 Fix composite submission data linkage 2025-11-04 22:49:01 +00:00
gpt-engineer-app[bot]
162d288cb0 feat: Complete error logging coverage 2025-11-04 19:30:56 +00:00
gpt-engineer-app[bot]
9bf5ea322e Refactor: Implement full error logging 2025-11-04 19:23:28 +00:00
gpt-engineer-app[bot]
e74c2acbd4 Refactor: Implement full error logging 2025-11-04 19:11:24 +00:00
gpt-engineer-app[bot]
b07004ed03 feat: Implement reusable button components 2025-11-04 18:29:13 +00:00
gpt-engineer-app[bot]
cb01707c5e feat: Implement button loading states 2025-11-04 18:19:52 +00:00
gpt-engineer-app[bot]
feee859a50 Refactor moderation data fetching 2025-11-04 16:56:49 +00:00
gpt-engineer-app[bot]
80aa033e70 Fix submission_items foreign keys 2025-11-04 14:57:58 +00:00
gpt-engineer-app[bot]
91da509f04 Refactor: Implement Phase 2 2025-11-04 01:50:11 +00:00
gpt-engineer-app[bot]
9b1964d634 Implement Phase 2 display enhancements 2025-11-04 01:48:11 +00:00
gpt-engineer-app[bot]
c0587f2f18 feat: Start implementing Phase 1 2025-11-04 01:44:24 +00:00
gpt-engineer-app[bot]
2aa4199b7e Clarify preview usage scope 2025-11-04 01:35:16 +00:00
gpt-engineer-app[bot]
1a2b9f69cf Fix remaining component imports 2025-11-03 22:08:59 +00:00
gpt-engineer-app[bot]
22f4a68bd8 Refactor: Database and UI updates 2025-11-03 21:32:04 +00:00
gpt-engineer-app[bot]
19b1451f32 Refactor log_request_metadata function 2025-11-03 20:58:52 +00:00
gpt-engineer-app[bot]
3d07198454 Fix critical 'any' types in components 2025-11-03 20:30:01 +00:00
gpt-engineer-app[bot]
6fbaf0c606 Fix edge function logging and types 2025-11-03 19:57:27 +00:00
gpt-engineer-app[bot]
6efb6dda66 Fix all compliance violations 2025-11-03 18:38:46 +00:00
gpt-engineer-app[bot]
e9b9faa3e1 Refactor: Implement logging and JSONB cleanup 2025-11-03 18:05:58 +00:00
gpt-engineer-app[bot]
b6179372e6 Refactor: Implement logging phases 2025-11-03 17:08:36 +00:00
gpt-engineer-app[bot]
eee4b1c626 Fix moderation queue issues 2025-11-03 16:43:21 +00:00
gpt-engineer-app[bot]
ab618fb65a Fix: Resolve type errors in SubmissionItemsList 2025-11-03 16:21:41 +00:00
gpt-engineer-app[bot]
c68b88de86 feat: Implement dynamic join solution 2025-11-03 16:20:28 +00:00
gpt-engineer-app[bot]
1a3c5ef671 Fix TypeScript errors after JSONB removal 2025-11-03 14:33:34 +00:00