Commit Graph

266 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
093b21e3df Fix: Use onChange callback for sorting 2025-10-13 01:16:47 +00:00
gpt-engineer-app[bot]
879b890b64 Fix: Implement comprehensive sort debugging and fixes 2025-10-13 01:00:45 +00:00
gpt-engineer-app[bot]
85bdd8a28a Fix: Watch sort.config object in effect 2025-10-13 00:57:01 +00:00
gpt-engineer-app[bot]
0733db07ba Fix: Use fetchItemsRef in sort effect 2025-10-13 00:53:39 +00:00
gpt-engineer-app[bot]
b35135ecad Fix: Remove initialFetchCompleteRef guard from sort effect 2025-10-13 00:37:12 +00:00
gpt-engineer-app[bot]
98ee84c05e Fix: Remove function dependencies from sort effect 2025-10-13 00:25:58 +00:00
gpt-engineer-app[bot]
3820a8c0a4 Fix: Implement moderation queue sorting fixes 2025-10-13 00:23:23 +00:00
gpt-engineer-app[bot]
81bb91e7de Fix moderation queue sorting 2025-10-13 00:20:04 +00:00
gpt-engineer-app[bot]
be92deec43 Fix: Remove fetchItems from mount effect dependency 2025-10-13 00:15:43 +00:00
gpt-engineer-app[bot]
039061ee52 Fix: Change user dependency to user.id 2025-10-13 00:13:57 +00:00
gpt-engineer-app[bot]
281b30bd65 Code edited in Lovable Code Editor 2025-10-13 00:07:47 +00:00
gpt-engineer-app[bot]
43d36a97e0 Fix: Remove redundant fetchStats useEffect 2025-10-13 00:05:41 +00:00
gpt-engineer-app[bot]
113f880775 Fix: Stabilize useAdminSettings dependencies 2025-10-13 00:00:06 +00:00
gpt-engineer-app[bot]
e7aa74287a feat: Add diagnostic logging for tab focus issue 2025-10-12 23:57:23 +00:00
gpt-engineer-app[bot]
f45a100648 Fix useMemo and useCallback dependencies 2025-10-12 23:50:58 +00:00
gpt-engineer-app[bot]
21c16870ee Fix: Memoize settings and add defensive checks 2025-10-12 23:47:29 +00:00
gpt-engineer-app[bot]
045419db9a Fix fetchItems stabilization 2025-10-12 23:41:18 +00:00
gpt-engineer-app[bot]
2acc3a8d8a Fix moderation queue auto-refresh on tab switch 2025-10-12 23:38:14 +00:00
gpt-engineer-app[bot]
1f71fb4a3e feat: Complete integration and refactor 2025-10-12 23:27:51 +00:00
gpt-engineer-app[bot]
75b6c1b314 feat: Implement moderation queue manager hook 2025-10-12 23:18:50 +00:00
gpt-engineer-app[bot]
0d0e352a1e Implement Phase 6: Lock Management 2025-10-12 22:57:37 +00:00
gpt-engineer-app[bot]
7e6b99a68b feat: Implement useRealtimeSubscriptions hook 2025-10-12 22:43:54 +00:00
gpt-engineer-app[bot]
99a4d002ba feat: Extract moderation filter and sort logic 2025-10-12 22:38:30 +00:00
gpt-engineer-app[bot]
05c453d15b feat: Extract caching hooks 2025-10-12 20:35:14 +00:00
gpt-engineer-app[bot]
ffb0297854 feat: Implement auth logging and session verification optimizations 2025-10-12 19:02:59 +00:00
pac7
0b8fe60823 Improve authentication state management and user session handling
Refactors the `AuthProviderComponent` in `useAuth.tsx` to enhance the handling of Supabase authentication state changes. Updates console logs for better debugging, prioritizes setting pending email state before early returns, and refines the logic for `SIGNED_IN`, `INITIAL_SESSION`, and `SIGNED_OUT` events. Also defers Novu updates and profile fetches to prevent blocking the authentication process.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e7030bef-c72b-4948-9378-ee5e345d91ce
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/e7030bef-c72b-4948-9378-ee5e345d91ce/zQglahT
2025-10-12 17:05:15 +00:00
gpt-engineer-app[bot]
dd079bd5a5 Fix TypeScript build errors 2025-10-12 16:22:57 +00:00
pacnpal
0a9b163e81 fix: update vite version and improve session handling in useAuth hook
- Updated vite from version 5.4.19 to 7.1.9 in package.json for better performance and features.
- Enhanced session verification logic in useAuth hook to check for session.user before setting user state.
2025-10-12 11:45:13 -04:00
pacnpal
e3331dae96 Fix: Ensure loading state is set correctly for session events in AuthProvider 2025-10-12 11:31:01 -04:00
pacnpal
472813d1ea [dyad] Fixed auth loading state and moderation queue refresh issues - wrote 3 file(s) + extra files edited outside of Dyad 2025-10-12 11:17:24 -04:00
gpt-engineer-app[bot]
10950a4034 Fix moderation queue tab switch reload 2025-10-11 17:20:35 +00:00
gpt-engineer-app[bot]
f9e12596c7 Fix auth loading state after logout 2025-10-11 16:48:27 +00:00
gpt-engineer-app[bot]
4d40bb7569 Fix: Resolve perpetual loading state 2025-10-11 16:28:30 +00:00
gpt-engineer-app[bot]
c0a5c3479d Fix: Resolve authentication loading state issues 2025-10-11 16:26:10 +00:00
gpt-engineer-app[bot]
0330fbd1f3 Fix: Implement complete fix 2025-10-11 16:12:45 +00:00
gpt-engineer-app[bot]
f37b99a5f9 Reverted to commit 06ed528d76 2025-10-11 15:58:56 +00:00
gpt-engineer-app[bot]
1df9ada8ae Reverted to commit 96a961d95c 2025-10-11 15:58:11 +00:00
gpt-engineer-app[bot]
092337ee9e Fix: Improve preview loading and error handling 2025-10-11 14:45:22 +00:00
gpt-engineer-app[bot]
1e30dedca2 Reverted to commit db532afcef 2025-10-11 14:37:17 +00:00
gpt-engineer-app[bot]
be265632ad Reverted to commit 06ed528d76 2025-10-11 14:35:02 +00:00
gpt-engineer-app[bot]
5a00767914 Fix AuthProvider loading state bug 2025-10-11 14:29:30 +00:00
gpt-engineer-app[bot]
06ed528d76 Fix: Resolve authentication state recognition issues 2025-10-11 00:54:27 +00:00
gpt-engineer-app[bot]
3f08dcb203 Refactor: Simplify CAPTCHA bypass logic 2025-10-11 00:47:34 +00:00
gpt-engineer-app[bot]
21acbb948c Implement two-layer CAPTCHA bypass 2025-10-11 00:41:13 +00:00
gpt-engineer-app[bot]
9969fe2692 Fix: Implement iframe-compatible authentication 2025-10-10 23:52:43 +00:00
gpt-engineer-app[bot]
e005ef59c4 Fix: Add fetchVersions to useEffect dependency array 2025-10-10 23:15:20 +00:00
gpt-engineer-app[bot]
0d625f3dc7 Fix version history errors 2025-10-10 23:05:53 +00:00
gpt-engineer-app[bot]
356cf2b54b Fix admin page flashing 2025-10-09 17:14:45 +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]
1d45294703 Implement realtime queue fix 2025-10-09 13:54:39 +00:00