Commit Graph

83 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
466c549e4a Add blog and content approvals logging
Implement Phase 3 audit logging:
- Blog management: create, update, delete, publish
- Manual content deletions (force deletions)
- Direct entity approvals bypassing moderation queue (loggable events where applicable)

Includes integration with central logAdminAction helper and updates to relevant components/hooks:
AdminBlog.tsx (create/update/delete/publish paths)
Moderation queue deletion path (force delete)
Moderation actions paths with direct approvals where possible
New logs for blog_post_created, blog_post_updated, blog_post_deleted, blog_post_published, submission_force_deleted, etc.
2025-11-11 14:47:00 +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]
6af981a6e4 Fix imports and test flow 2025-11-03 22:03:08 +00:00
gpt-engineer-app[bot]
41560d9c42 Implement complete roadmap 2025-11-02 21:22:03 +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]
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]
77deb62742 feat: Implement final type safety fixes 2025-10-17 15:06:35 +00:00
gpt-engineer-app[bot]
96a5d235e9 Refactor versioning utility functions 2025-10-15 17:47:14 +00:00
gpt-engineer-app[bot]
847711b61e Fix "Already Unlocked" Toast 2025-10-15 17:00:41 +00:00
gpt-engineer-app[bot]
fd99eecfb4 feat: Implement optimistic UI updates 2025-10-15 14:04:49 +00:00
gpt-engineer-app[bot]
c0d175fc67 Fix queue refresh on lock state change 2025-10-15 13:50:49 +00:00
gpt-engineer-app[bot]
3e520e1520 feat: Implement Phase 5 optimization and best practices 2025-10-13 22:56:47 +00:00
gpt-engineer-app[bot]
68a2572c23 feat: Implement Phase 4 Streamlined Enhancements 2025-10-13 22:46:42 +00:00
gpt-engineer-app[bot]
787e16753e feat: Implement Modern React Patterns 2025-10-13 22:40:35 +00:00
gpt-engineer-app[bot]
2bd0b414e1 Refactor: Simplify architecture 2025-10-13 22:27:58 +00:00
gpt-engineer-app[bot]
27c7f36ca4 feat: Implement emergency hotfixes 2025-10-13 20:39:39 +00:00
gpt-engineer-app[bot]
c4612df6a5 Fix: Stabilize filters object passed to realtime subscriptions 2025-10-13 20:12:06 +00:00
gpt-engineer-app[bot]
44ab477abc Fix: Stabilize realtime subscription callbacks 2025-10-13 20:02:35 +00:00
gpt-engineer-app[bot]
b0a55d1c56 Fix: Remove moderation queue tab focus reload logic 2025-10-13 19:55:09 +00:00
gpt-engineer-app[bot]
538846d7e3 Fix: Simplify moderation queue tab focus reload 2025-10-13 19:49:07 +00:00
gpt-engineer-app[bot]
5588f89606 Fix: Prevent moderation queue reload on tab focus 2025-10-13 19:46:06 +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
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
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
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
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
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]
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