Commit Graph

251 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
74fbd116cb feat: Add pagination to moderation queues 2025-10-10 16:59:30 +00:00
gpt-engineer-app[bot]
01a5f38e4f Fix: Stabilize ModerationQueue data fetching 2025-10-10 15:30:03 +00:00
gpt-engineer-app[bot]
a16154c3de feat: Implement skeleton loading 2025-10-10 15:18:02 +00:00
gpt-engineer-app[bot]
c4b3886ffc Fix: Resolve UI jittering on initial load 2025-10-10 15:04:04 +00:00
gpt-engineer-app[bot]
88983dae3c Refactor: Suppress initial render transitions 2025-10-10 15:00:29 +00:00
gpt-engineer-app[bot]
4960caa41a Fix: Update stale ref in realtime handler 2025-10-10 14:52:49 +00:00
gpt-engineer-app[bot]
0be9ef8b18 Fix stale ref in moderation queue 2025-10-10 14:49:53 +00:00
gpt-engineer-app[bot]
42f1794154 Fix manual refresh to use smart comparison 2025-10-10 14:46:00 +00:00
gpt-engineer-app[bot]
2626afc59d feat: Implement comprehensive re-render optimizations 2025-10-10 14:42:57 +00:00
gpt-engineer-app[bot]
2fec66a778 Refactor: Optimize validation in moderation 2025-10-10 14:30:41 +00:00
gpt-engineer-app[bot]
2ccbb51fb1 Fix validation errors and display 2025-10-10 00:38:04 +00:00
gpt-engineer-app[bot]
d09e62410f feat: Improve validation visibility in moderation queue 2025-10-09 20:31:47 +00:00
gpt-engineer-app[bot]
f8232e4555 feat: Implement comprehensive validation system 2025-10-09 18:15:38 +00:00
gpt-engineer-app[bot]
73eb8a60e5 Fix retry flashing and reloading 2025-10-09 18:04:02 +00:00
gpt-engineer-app[bot]
88bcb00157 Fix Retry flashing and dependency validation 2025-10-09 17:55:58 +00:00
gpt-engineer-app[bot]
a1953b8557 Fix TypeScript errors in moderation queue 2025-10-09 17:34:18 +00:00
gpt-engineer-app[bot]
3f2e6504aa Fix flashing and bouncing on admin page 2025-10-09 17:33:19 +00:00
gpt-engineer-app[bot]
9d3bdcf2e0 Fix flashing and bouncing 2025-10-09 17:17:20 +00:00
gpt-engineer-app[bot]
356cf2b54b Fix admin page flashing 2025-10-09 17:14:45 +00:00
gpt-engineer-app[bot]
9866b87f7f feat: Add detailed logging to PhotoSubmissionDisplay 2025-10-09 16:46:39 +00:00
gpt-engineer-app[bot]
3e698a3da8 Fix photo submission query 2025-10-09 16:41:40 +00:00
gpt-engineer-app[bot]
6782da1992 Fix: Display all fields for submissions 2025-10-09 16:00:16 +00:00
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