Commit Graph

279 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
cf31f94c44 Fix fetchItems calls and edge function error 2025-10-09 15:53:01 +00:00
gpt-engineer-app[bot]
039fe46e55 Refactor: Implement debouncing and anti-flashing fixes 2025-10-09 15:47:09 +00:00
gpt-engineer-app[bot]
f01c58a056 Fix moderation queue flashing 2025-10-09 15:35:30 +00:00
gpt-engineer-app[bot]
1d45294703 Implement realtime queue fix 2025-10-09 13:54:39 +00:00
gpt-engineer-app[bot]
57368eb309 Fix: Correctly drop and recreate claim_next_submission function 2025-10-09 13:43:23 +00:00
gpt-engineer-app[bot]
5f22281961 Fix moderation queue refresh logic 2025-10-09 13:33:11 +00:00
gpt-engineer-app[bot]
cec8b0e0b5 Fix moderation queue infinite refresh 2025-10-09 13:18:08 +00:00
gpt-engineer-app[bot]
d4b41b6d75 Fix silent polling filter 2025-10-09 13:06:20 +00:00
gpt-engineer-app[bot]
a02442a3cc Fix silent polling logic 2025-10-09 13:00:53 +00:00
gpt-engineer-app[bot]
b1c62093aa Fix: Stop infinite fetchItems loop 2025-10-09 12:55:25 +00:00
gpt-engineer-app[bot]
c79b12da76 Refactor: Use admin settings for queue refresh 2025-10-09 12:45:28 +00:00
gpt-engineer-app[bot]
732efa9992 Fix: App not loading 2025-10-09 12:28:04 +00:00
gpt-engineer-app[bot]
fb4396e217 Fix moderation queue refreshing 2025-10-09 12:18:50 +00:00
pac7
13a4d8f64c Improve error handling and display for searches and uploads
Enhance user feedback by displaying search errors, refine photo submission fetching, add rate limiting cleanup logic, improve image upload cleanup, and strengthen moderator permission checks.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 2741d09b-80fb-4f0a-bfd6-ababb2ac4bfc
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-08 19:55:55 +00:00
pac7
bfba3baf7e Improve component stability and user experience with safety checks
Implement robust error handling, safety checks for data structures, and state management improvements across various components to prevent runtime errors and enhance user experience.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a71e826a-1d38-4b6e-a34f-fbf5ba1f1b25
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-08 19:27:31 +00:00
pac7
3e2ce53fa7 Add tabs to organize moderation items and their statuses
Introduces a `QueueTab` type and state for 'mainQueue' and 'archive', updating `fetchItems` to accept the tab parameter. Modifies query logic to apply status filters based on the selected tab in `ModerationQueue.tsx`.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e14c2292-b0e5-43fe-b301-a4ad668949e9
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-08 14:50:34 +00:00
pac7
0050032681 Implement claim and freeze system for moderation queue
Refactors the moderation queue to implement a "claim and freeze" model, preventing automatic updates during background polling and enforcing claim/lock isolation. Adds a `claimSubmission` function to `useModerationQueue` and modifies `ModerationQueue.tsx` to filter submissions based on claim status and update handling.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e14c2292-b0e5-43fe-b301-a4ad668949e9
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-08 14:48:15 +00:00
pac7
fb10642fed Transitioned from Plan to Build mode
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e14c2292-b0e5-43fe-b301-a4ad668949e9
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-08 14:40:20 +00:00
pac7
b8787ee6de Improve security by verifying user authentication and authorization
Update the 'process-selective-approval' Supabase function to enforce authentication and authorization checks before processing requests. Also, modify the 'upload-image' function to prevent banned users from uploading images. Additionally, enable future React Router v7 features for enhanced navigation.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 6d6e48da-5b1b-47f9-a65c-9fa4a352936a
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/6d6e48da-5b1b-47f9-a65c-9fa4a352936a/u05utRo
2025-10-07 20:12:39 +00:00
gpt-engineer-app[bot]
ca7e5296ed Fix infinite loop in moderation queue 2025-10-06 21:07:21 +00:00
gpt-engineer-app[bot]
38db325135 Fix race condition in moderation queue 2025-10-06 20:49:14 +00:00
gpt-engineer-app[bot]
1c356ed69e Reconstruct fetchItems function 2025-10-06 20:24:46 +00:00
gpt-engineer-app[bot]
5eba459d0e Fix: Apply smart merge to all refreshes 2025-10-06 19:47:43 +00:00
gpt-engineer-app[bot]
c3b0ae3d76 Refactor: Apply smart merging to all refreshes 2025-10-06 19:43:36 +00:00
gpt-engineer-app[bot]
fd20c02e5e Implement comprehensive fix 2025-10-06 19:38:39 +00:00
gpt-engineer-app[bot]
d965d2c299 Refactor: Stabilize admin panel auto-refresh 2025-10-06 19:31:15 +00:00
gpt-engineer-app[bot]
71f497a001 Fix N+1 query and UI flashing 2025-10-06 19:19:02 +00:00
gpt-engineer-app[bot]
cc3ec7a6e4 Fix auto-refresh and queue claiming 2025-10-06 19:01:49 +00:00
gpt-engineer-app[bot]
e1e8fa2ddc Fix auto-refresh and queue claiming 2025-10-06 18:58:21 +00:00
gpt-engineer-app[bot]
f5c59aa072 Fix admin dashboard auto-refresh 2025-10-06 18:36:43 +00:00
gpt-engineer-app[bot]
63a7877314 Refactor: Approve tool use 2025-10-06 18:24:20 +00:00
gpt-engineer-app[bot]
3f1e4abb62 Fix submission display issues 2025-10-06 18:07:19 +00:00
gpt-engineer-app[bot]
3dec0b2a97 feat: Implement complete queue system 2025-10-06 14:43:31 +00:00
gpt-engineer-app[bot]
d955037990 feat: Implement frontend queue integration 2025-10-06 14:39:21 +00:00
gpt-engineer-app[bot]
6919f396e6 Fix: Detect location changes and new entity creation 2025-10-06 14:20:07 +00:00
gpt-engineer-app[bot]
26c4b2c39c Revert compact mode and show full diff 2025-10-06 13:48:22 +00:00
gpt-engineer-app[bot]
48835efe1d feat: Show actual change values in compact mode 2025-10-06 13:46:06 +00:00
gpt-engineer-app[bot]
6f5c804314 Revert to SubmissionItemsList 2025-10-06 13:37:29 +00:00
gpt-engineer-app[bot]
0b033cdd47 Fix submission display and change detection 2025-10-06 13:32:56 +00:00
gpt-engineer-app[bot]
baf889224c feat: Implement tabbed dashboard layout 2025-10-06 12:18:14 +00:00
gpt-engineer-app[bot]
065b1b4be5 Reverted to commit 095907b3a5 2025-10-04 19:16:36 +00:00
gpt-engineer-app[bot]
35f380bfb4 Refactor: Redesign admin panel 2025-10-04 18:58:39 +00:00
pacnpal
095907b3a5 Merge branch 'main' of https://github.com/pacnpal/thrilltrack-explorer 2025-10-04 14:34:37 +00:00
pac7
34a16a7804 Add functionality to approve or reject submitted items
Introduces a new `handleItemStatusChange` function to `SubmissionReviewManager` to handle item approvals and rejections, invoking Supabase functions for processing and updating item statuses.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f44f1d1b-1dd8-407b-8603-db12902e1a15
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-04 14:27:02 +00:00
gpt-engineer-app[bot]
756d6a5300 Fix security vulnerabilities 2025-10-04 01:11:43 +00:00
gpt-engineer-app[bot]
b221c75d4a Refactor polling to prevent interruptions 2025-10-03 19:12:50 +00:00
gpt-engineer-app[bot]
a2d3ed5ea4 Refactor moderation queues 2025-10-03 18:40:34 +00:00
gpt-engineer-app[bot]
8e6c8728a3 Refactor: Simplify Realtime channel creation 2025-10-03 17:25:10 +00:00
gpt-engineer-app[bot]
08b842052a Fix 406 errors and realtime auth 2025-10-03 17:17:40 +00:00
gpt-engineer-app[bot]
2d0a45b5b0 Fix real-time stats and submission refresh 2025-10-03 17:06:44 +00:00