Commit Graph

155 Commits

Author SHA1 Message Date
pac7
994a07f4af Update user authentication to correctly track previous email addresses
Replaces `previousEmail` state with a ref (`previousEmailRef`) to accurately track the user's old email address during authentication flow, specifically for handling email change notifications.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a16cce43-1d93-4e5c-a1e6-6ca90e68cc4f
Replit-Commit-Checkpoint-Type: full_checkpoint
2025-10-08 12:44:37 +00:00
pac7
2fc78cbde5 Improve error handling and dependency checks for data processing
Address issues in FieldHistoryDialog by clearing changes on error, enhance useEntityVersions to provide default profiles for missing users, add localStorage availability check in useLocationAutoDetect, and improve dependency resolution logic in supabase/functions/process-selective-approval.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 334e80ad-8f74-4e3a-acec-6dd811858e98
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-08 12:23:22 +00:00
pac7
8afa0bbad2 Improve reliability when updating data subscriptions
Add try-catch block to handle potential errors during Supabase channel removal in `useEntityVersions.ts`.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 8e00d8b1-e8de-4f48-99ca-dbba7279e1a6
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-07 15:46:16 +00:00
pac7
f97bb91b11 Improve handling of recent searches to prevent errors
Add error handling and validation for parsing recent searches from localStorage in src/hooks/useSearch.tsx.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 8e00d8b1-e8de-4f48-99ca-dbba7279e1a6
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-07 15:44:45 +00:00
pac7
6737431379 Improve error handling and navigation safety across the application
Add robust error handling for image uploads, improve navigation logic in AutocompleteSearch with toast notifications for missing identifiers, refine useIsMobile hook return type, and update Supabase function error reporting to handle non-Error types.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a759d451-40bf-440d-96f5-a19ad6af18a8
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-07 15:25:37 +00:00
pac7
1addcbc0dd Improve error handling and environment configuration across the application
Enhance input validation, update environment variable usage for Supabase and Turnstile, and refine image upload and auth logic for better robustness and developer experience.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cb061c75-702e-4b89-a8d1-77a96cdcdfbb
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/cb061c75-702e-4b89-a8d1-77a96cdcdfbb/ANdRXVZ
2025-10-07 14:42:22 +00:00
gpt-engineer-app[bot]
f5c59aa072 Fix admin dashboard auto-refresh 2025-10-06 18:36:43 +00:00
gpt-engineer-app[bot]
a3928c7f23 Add versioning system tables 2025-10-06 15:37:10 +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
pacnpal
095907b3a5 Merge branch 'main' of https://github.com/pacnpal/thrilltrack-explorer 2025-10-04 14:34:37 +00:00
pac7
3389c3d12c Improve mobile detection logic to handle server-side rendering
Add a check for `window` existence in `useIsMobile` hook to prevent errors during SSR.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f44f1d1b-1dd8-407b-8603-db12902e1a15
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-04 14:24:37 +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]
e6238c45b3 Add admin panel refresh settings 2025-10-03 18:37:16 +00:00
gpt-engineer-app[bot]
91826f0b48 Fix broadcast function search path 2025-10-03 18:08:02 +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
gpt-engineer-app[bot]
b778fc95f6 Refactor: Implement Phase 3C cleanup 2025-10-03 14:24:43 +00:00
gpt-engineer-app[bot]
15caad0c8e feat: Implement enhanced realtime subscriptions 2025-10-02 20:38:30 +00:00
gpt-engineer-app[bot]
14ab8a72d6 Fix search to use slugs 2025-10-02 20:12:12 +00:00
gpt-engineer-app[bot]
ee1ea52f2e Refactor: Update user list item interfaces 2025-10-02 12:02:36 +00:00
gpt-engineer-app[bot]
ef4663b09f Fix realtime subscription loop 2025-10-01 20:34:56 +00:00
gpt-engineer-app[bot]
c00f991b1e Fix: Prevent logout on email change cancellation 2025-10-01 16:39:52 +00:00
gpt-engineer-app[bot]
8453940656 Fix auth hook deadlock 2025-10-01 15:52:35 +00:00
gpt-engineer-app[bot]
5634dc4920 Refactor: Secure email confirmation flow 2025-10-01 15:50:27 +00:00
gpt-engineer-app[bot]
d556243ff6 Refactor: Enhance email change status handling 2025-10-01 15:45:05 +00:00
gpt-engineer-app[bot]
ac543e82e9 feat: Make Novu settings public 2025-10-01 14:52:03 +00:00
gpt-engineer-app[bot]
d541afd745 Refactor: Improve Novu Inbox theming 2025-10-01 12:54:13 +00:00
gpt-engineer-app[bot]
24a02aa695 Fix: Provide Novu Application Identifier 2025-10-01 12:34:56 +00:00
gpt-engineer-app[bot]
3436e317b5 feat: Implement Novu Inbox component 2025-10-01 12:34:02 +00:00
gpt-engineer-app[bot]
e2f0df22cc feat: Implement Novu notification system 2025-10-01 12:26:12 +00:00
gpt-engineer-app[bot]
7920bdb911 Implement real-time features 2025-09-30 16:46:12 +00:00
gpt-engineer-app[bot]
28feea6264 feat: Add park operators and owners to form 2025-09-30 00:14:24 +00:00
gpt-engineer-app[bot]
f586b31954 feat: Implement comprehensive plan 2025-09-29 20:31:28 +00:00
gpt-engineer-app[bot]
b327cefd1c Fix AuthProvider useState error 2025-09-29 16:36:09 +00:00
gpt-engineer-app[bot]
8b33a0d925 feat: Implement Combobox component and Autocomplete for Country 2025-09-29 15:58:09 +00:00
gpt-engineer-app[bot]
61d3f7e1ea Fix AuthProvider useState error 2025-09-29 15:46:30 +00:00
gpt-engineer-app[bot]
9ca1455ab6 Fix: Show state/province in search results 2025-09-29 15:32:27 +00:00
gpt-engineer-app[bot]
93075ba6ca Refine profile privacy controls 2025-09-29 02:46:03 +00:00
gpt-engineer-app[bot]
8f33b36750 Fix unit preferences logic 2025-09-28 23:10:18 +00:00
gpt-engineer-app[bot]
82566fa657 Fix infinite loop in auto-detection 2025-09-28 23:06:01 +00:00
gpt-engineer-app[bot]
376c17492d Fix: Imperial units not displaying 2025-09-28 23:04:16 +00:00
gpt-engineer-app[bot]
a6e9d77bda Fix unit display errors 2025-09-28 22:51:44 +00:00
gpt-engineer-app[bot]
8f13796567 Add unit preferences to user settings 2025-09-28 21:26:09 +00:00
gpt-engineer-app[bot]
01b6d0b955 Refactor admin settings access 2025-09-28 19:27:19 +00:00
gpt-engineer-app[bot]
29d56c6279 Implement admin settings system 2025-09-28 18:41:52 +00:00
gpt-engineer-app[bot]
d97c41f393 Add security functions and policies 2025-09-28 18:26:02 +00:00
gpt-engineer-app[bot]
ff5d7ebea6 Add moderation queue tables 2025-09-28 18:06:00 +00:00