Commit Graph

1033 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
8b54a2303b Fix: Synchronize loading state for initial session 2025-10-13 17:02:40 +00:00
gpt-engineer-app[bot]
daf4f6bf19 Fix: Synchronize user and profile state updates 2025-10-13 17:01:15 +00:00
gpt-engineer-app[bot]
8b1758e5e9 feat: Add production-safe logging for avatar debugging 2025-10-13 16:57:29 +00:00
gpt-engineer-app[bot]
f5d059b5a5 feat: Add millisecond precision to moderation queue timestamps 2025-10-13 16:51:06 +00:00
pac7
70528ff0b1 Fix sorting bug in the moderation queue to display correct order
Resolves an issue where the moderation queue items did not visually reorder upon clicking the sort direction button.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/OwE1IU0
2025-10-13 15:53:04 +00:00
pac7
1e3fda2b30 Update moderation queue to reflect sorting and filtering changes
Replace smartMergeArray with a direct setItems call in useModerationQueueManager to ensure UI reflects user-initiated sorting and filtering.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/OwE1IU0
2025-10-13 15:52:43 +00:00
pac7
b0eaf1dc11 Fix network error when fetching client data
Address `net::ERR_BLOCKED_BY_CLIENT` and `TypeError: Failed to fetch` errors occurring during POST requests to the prodregistryv2.org API endpoint in the javascript client.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/OwE1IU0
2025-10-13 15:48:33 +00:00
pac7
3d18d95b1c Add basic support for viewing user profiles
Introduce the UserProfile component to display user data.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/OwE1IU0
2025-10-13 15:47:25 +00:00
pac7
a9e723c055 Improve moderation queue filtering and sorting for faster feedback
Refactor count query logic in useModerationQueueManager to apply all filters and reduce sort debounce time in useModerationSort to 0ms.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/kq6AhNt
2025-10-13 15:46:41 +00:00
pac7
057911ca3e Transitioned from Plan to Build mode
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/kq6AhNt
2025-10-13 15:45:21 +00:00
pac7
bd30c7ae7c Add new route for fetching all user accounts
Add a GET endpoint `/api/users` to retrieve all user data from the database.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/kq6AhNt
2025-10-13 15:16:41 +00:00
pac7
b56617efcc Enhance moderation queue sorting with visual indicators and logging
Add loading spinners, detailed sort query logging, result preview logging, disable sort controls during loading, and mobile-specific loading text changes. Also, fix type mismatch in QueueSortControls and correct refresh strategy logic.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/kq6AhNt
2025-10-13 15:16:16 +00:00
pac7
1fe07cc70d Transitioned from Plan to Build mode
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/kcnWjk6
2025-10-13 15:09:43 +00:00
pac7
993f1d5ba2 Improve moderation queue sorting and user authentication stability
Fixes type mismatch and refresh strategy in QueueSortControls for proper moderation queue sorting, and simplifies auth hook loading state management to prevent perpetual loading.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/kcnWjk6
2025-10-13 15:04:02 +00:00
pac7
7e1e959c6e Improve moderation queue manager by updating item fetching logic
Update the moderation queue manager to fetch items with `isInitialFetch` set to `false` in the `fetchItemsRef` callback.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/kcnWjk6
2025-10-13 15:02:40 +00:00
pac7
abf25dd7e0 Transitioned from Plan to Build mode
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/kcnWjk6
2025-10-13 15:01:21 +00:00
pac7
b93a243e54 Improve stability and reliability of the application core
No changes were detected in the provided Git diff.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/kcnWjk6
2025-10-13 14:53:00 +00:00
pac7
a019392971 Improve queue manager to correctly refetch moderation items
Update `useModerationQueueManager` hook to use `fetchItemsRef.current?.(true)` for more reliable refetching of moderation queue items after dependency changes, preventing potential stale data issues.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/kcnWjk6
2025-10-13 14:52:18 +00:00
pac7
d4f4a27b1a Transitioned from Plan to Build mode
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/kcnWjk6
2025-10-13 14:50:41 +00:00
pac7
d7520579d6 Add basic documentation for project setup and usage
Provide initial README.md with setup instructions and basic usage examples.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/kcnWjk6
2025-10-13 14:44:26 +00:00
pac7
c9423d43c1 Improve sorting controls for moderation queues
Update the `QueueSortControls` component to validate sort fields and improve type safety for sort direction toggling.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/ef7037e7-a631-48a2-94d1-9a4b52d7c35a/kcnWjk6
2025-10-13 14:43:51 +00:00
pac7
a6cc9be6ea Transitioned from Plan to Build mode
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ef7037e7-a631-48a2-94d1-9a4b52d7c35a
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-13 14:40:52 +00:00
gpt-engineer-app[bot]
233e8efd62 Fix: Correct avatar display in header 2025-10-13 13:53:15 +00:00
gpt-engineer-app[bot]
0c7b898917 Reverted to commit caa8f0e529 2025-10-13 13:47:39 +00:00
gpt-engineer-app[bot]
331d2d36b2 Fix: Apply filters and sorting to count query 2025-10-13 13:33:58 +00:00
gpt-engineer-app[bot]
caa8f0e529 feat: Add debouncing to sort changes 2025-10-13 13:30:50 +00:00
gpt-engineer-app[bot]
73c5815c63 Fix: Correct moderation queue sorting logic 2025-10-13 13:27:43 +00:00
gpt-engineer-app[bot]
0af5443c81 feat: Implement database-level sorting for moderation queue 2025-10-13 13:23:54 +00:00
gpt-engineer-app[bot]
90ae7d9a41 feat: Remove all sorting functionality 2025-10-13 13:15:14 +00:00
gpt-engineer-app[bot]
83e10817c5 Reverted to commit be92deec43 2025-10-13 13:06:29 +00:00
gpt-engineer-app[bot]
93f149f68c Reverted to commit 2661d65ab8 2025-10-13 13:06:02 +00:00
gpt-engineer-app[bot]
4fed307335 Reverted to commit de2d4a495f 2025-10-13 13:05:48 +00:00
gpt-engineer-app[bot]
c129be2e87 Fix: Correct moderation queue filtering 2025-10-13 13:04:29 +00:00
gpt-engineer-app[bot]
cfa11b45e7 Fix: Restore escalated sort order 2025-10-13 13:01:33 +00:00
gpt-engineer-app[bot]
76cbf94ffc Fix: Implement comprehensive sorting fix 2025-10-13 12:58:29 +00:00
gpt-engineer-app[bot]
f6891296d6 Fix: Implement comprehensive sorting fixes 2025-10-13 12:51:21 +00:00
gpt-engineer-app[bot]
3cd5904c31 Fix sorting mechanism 2025-10-13 12:39:38 +00:00
gpt-engineer-app[bot]
9a2e7ac43e Fix sorting logic in moderation queue 2025-10-13 12:33:59 +00:00
gpt-engineer-app[bot]
284f778fc6 Fix: Implement sorting functionality 2025-10-13 12:29:01 +00:00
gpt-engineer-app[bot]
5e83d8a75f Reverted to commit be92deec43 2025-10-13 12:18:00 +00:00
gpt-engineer-app[bot]
a5c48812e7 Reverted to commit 039061ee52 2025-10-13 12:17:37 +00:00
gpt-engineer-app[bot]
3ec26e23a3 Reverted to commit be92deec43 2025-10-13 12:17:13 +00:00
gpt-engineer-app[bot]
085375e595 Fix: Implement moderation queue sorting fix 2025-10-13 12:15:14 +00:00
gpt-engineer-app[bot]
de2d4a495f Fix: Remove hardcoded sort from query builder 2025-10-13 01:46:14 +00:00
gpt-engineer-app[bot]
2661d65ab8 Refactor: Debounce effect fetches 2025-10-13 01:45:05 +00:00
gpt-engineer-app[bot]
a5bf6d873e Fix sorting and tab switching bugs 2025-10-13 01:43:04 +00:00
gpt-engineer-app[bot]
9e25beedd5 Refactor: Separate escalated items queue 2025-10-13 01:40:24 +00:00
gpt-engineer-app[bot]
ef913fcc8d Fix count query for sorting 2025-10-13 01:37:19 +00:00
gpt-engineer-app[bot]
9cf969bb9d Fix: Remove all traces of username sorting 2025-10-13 01:32:43 +00:00
gpt-engineer-app[bot]
ad096b05c6 Fix: Remove invalid sort options and validate sort fields 2025-10-13 01:28:49 +00:00