Commit Graph

224 Commits

Author SHA1 Message Date
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]
5fb9440eb2 Fix React Hooks Order Violation 2025-10-10 23:13:14 +00:00
gpt-engineer-app[bot]
4386951bfa Fix redirect in AdminBlog 2025-10-10 23:11:17 +00:00
gpt-engineer-app[bot]
1e67ff87fd Fix versioning component errors 2025-10-10 23:08:53 +00:00
gpt-engineer-app[bot]
14d7801b6f Refactor admin blog access 2025-10-10 23:03:05 +00:00
gpt-engineer-app[bot]
bc08d44f4c Fix blog post foreign key 2025-10-10 23:00:04 +00:00
gpt-engineer-app[bot]
6127f902e9 Add blog page components 2025-10-10 22:57:58 +00:00
gpt-engineer-app[bot]
4d2d39fb5a feat: Implement custom view tracking 2025-10-10 15:53:56 +00:00
gpt-engineer-app[bot]
c39aba6994 feat: Add review counts to tab headers 2025-10-10 15:43:17 +00:00
gpt-engineer-app[bot]
a16154c3de feat: Implement skeleton loading 2025-10-10 15:18:02 +00:00
gpt-engineer-app[bot]
d7a20b7979 Fix tab reload issue 2025-10-10 14:33:19 +00:00
gpt-engineer-app[bot]
f57ae0d3ce Refactor: Implement Cloudflare Image Variants 2025-10-10 14:09:51 +00:00
gpt-engineer-app[bot]
44dc677363 Fix: Prevent CAPTCHA token reuse 2025-10-10 13:34:24 +00:00
gpt-engineer-app[bot]
2b395e93d6 Fix: Implement auth page auto-redirect 2025-10-10 13:30:28 +00:00
gpt-engineer-app[bot]
c0cc91a0dd Remove real-time updates 2025-10-10 13:05:22 +00:00
gpt-engineer-app[bot]
61c7a551c2 Approve database migration 2025-10-10 13:04:36 +00:00
gpt-engineer-app[bot]
26e6200bc1 feat: Add park and operating ride counts 2025-10-10 12:28:48 +00:00
gpt-engineer-app[bot]
26e098c960 Fix inversions stat card logic 2025-10-10 12:25:03 +00:00
gpt-engineer-app[bot]
0772a14e93 Fix: Center stat cards on ride detail page 2025-10-10 12:06:56 +00:00
gpt-engineer-app[bot]
7f2a3b8d44 Handle null values in stat cards 2025-10-10 00:58:03 +00:00
gpt-engineer-app[bot]
356cf2b54b Fix admin page flashing 2025-10-09 17:14:45 +00:00
gpt-engineer-app[bot]
10098e3bcc Fix: Implement field-level privacy for profiles 2025-10-08 23:23:03 +00:00
pac7
0f2219f849 Improve image handling, optimize hooks, and add rate limiting
This commit introduces several improvements:
- Enhances `RideModelCard` by safely accessing and displaying ride count and image data, preventing potential errors.
- Refactors `useEntityVersions` and `useSearch` hooks to use `useCallback` and improve performance and prevent race conditions.
- Introduces a `MAX_MAP_SIZE` and cleanup mechanism for the rate limiting map in `detect-location` Supabase function to prevent memory leaks.
- Adds robust error handling and cleanup for image uploads in `uploadPendingImages`.
- Modifies `ManufacturerModels` to correctly map and display ride counts.
- Includes error handling for topological sort in `process-selective-approval` Supabase function.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 39bb006b-d046-477f-a1f9-b7821836f3a1
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-08 17:55:37 +00:00
pac7
3606e2ab54 Improve data fetching performance and fix fast refresh issues
Refactor `fetchData` in `ManufacturerModels.tsx` using `useCallback` to prevent unnecessary re-renders and memoize the function. Add `fetchData` to the `useEffect` dependency array in `ManufacturerModels.tsx` to ensure it's correctly called. Address Fast Refresh compatibility in `useAuth.tsx` and correct `setInterval` dependency in `useModerationQueue.ts`.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: fe5b902e-beda-40fc-bf87-a3c4ab300e3a
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-08 12:52:32 +00:00
pac7
9a1c41c874 Improve performance and fix potential issues in manufacturer ride pages
Refactor `fetchData` in `ManufacturerRides.tsx` to use `useCallback` for memoization, resolving `useEffect` dependency issues and preventing unnecessary re-renders.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: fe5b902e-beda-40fc-bf87-a3c4ab300e3a
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-08 12:52:00 +00:00
pac7
bf7dd93d9e Update image sources to use environment variables for dynamic image hosting
Updates image URLs across various components and pages to dynamically fetch images using Cloudflare's image hosting service, configured via environment variables. Also updates the theme provider import for Sonner toasts and modifies the Supabase upload function to use a configurable Supabase URL.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: f1469493-0a69-4efc-91bd-478d1879573a
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7cdf4e95-3f41-4180-b8e3-8ef56d032c0e/f1469493-0a69-4efc-91bd-478d1879573a/HYhVkSk
2025-10-07 14:10:00 +00:00
gpt-engineer-app[bot]
2f71312f7c Implement Test Data Generator 2025-10-06 18:48:24 +00:00
gpt-engineer-app[bot]
25f79a4667 Refactor system log to own page 2025-10-06 17:55:33 +00:00
gpt-engineer-app[bot]
d6bddd6459 feat: Implement system activity log (Phases 1-3) 2025-10-06 17:52:08 +00:00
gpt-engineer-app[bot]
3210147654 Fix: Add dashboard widget for flow violations 2025-10-06 17:01:41 +00:00
gpt-engineer-app[bot]
f86b772eca Refactor History component 2025-10-06 16:37:56 +00:00
gpt-engineer-app[bot]
3cda4b1fde Refactor: Adjust width of ride detail tabs 2025-10-06 16:31:16 +00:00
gpt-engineer-app[bot]
522802f005 Fix: Optimize detail pages for desktop 2025-10-06 16:29:23 +00:00
gpt-engineer-app[bot]
aeaf4bdd24 feat: Optimize desktop layout for 1024px+ 2025-10-06 16:25:12 +00:00
gpt-engineer-app[bot]
d68bbe27a7 feat: Implement desktop-first maximization plan 2025-10-06 16:22:24 +00:00
gpt-engineer-app[bot]
bc8cb18172 Refactor: Optimize desktop max-widths 2025-10-06 16:15:36 +00:00
gpt-engineer-app[bot]
590d4ede52 Reverted to commit cb1ef6c177 2025-10-06 16:12:02 +00:00
gpt-engineer-app[bot]
88901a7f20 Fix desktop layout 2025-10-06 16:10:37 +00:00
gpt-engineer-app[bot]
b22d74c381 Refactor: Improve desktop layout 2025-10-06 16:03:35 +00:00
gpt-engineer-app[bot]
28f83b9c0f Refactor: Optimize desktop layout for entity pages 2025-10-06 15:59:22 +00:00
gpt-engineer-app[bot]
cb1ef6c177 Refactor: Add History Tab 2025-10-06 15:55:04 +00:00
gpt-engineer-app[bot]
9380c8fd68 Implement Phase 3 tasks 2025-10-06 15:46:56 +00:00
gpt-engineer-app[bot]
baf889224c feat: Implement tabbed dashboard layout 2025-10-06 12:18:14 +00:00
gpt-engineer-app[bot]
8e5fbba674 feat: Implement admin panel redesign plan 2025-10-06 12:10:08 +00:00
gpt-engineer-app[bot]
065b1b4be5 Reverted to commit 095907b3a5 2025-10-04 19:16:36 +00:00
gpt-engineer-app[bot]
58c28a37eb feat: Implement collapsible sidebar navigation 2025-10-04 19:07:52 +00:00
gpt-engineer-app[bot]
35f380bfb4 Refactor: Redesign admin panel 2025-10-04 18:58:39 +00:00
gpt-engineer-app[bot]
756d6a5300 Fix security vulnerabilities 2025-10-04 01:11:43 +00:00
gpt-engineer-app[bot]
a2d3ed5ea4 Refactor moderation queues 2025-10-03 18:40:34 +00:00