Commit Graph

14 Commits

Author SHA1 Message Date
gpt-engineer-app[bot]
a649906b61 feat: Complete app-wide error coverage 2025-11-04 19:58:20 +00:00
gpt-engineer-app[bot]
6af981a6e4 Fix imports and test flow 2025-11-03 22:03:08 +00:00
gpt-engineer-app[bot]
b6179372e6 Refactor: Implement logging phases 2025-11-03 17:08:36 +00:00
gpt-engineer-app[bot]
3c13b7a9f4 Fix: Resolve TypeScript errors in pages 2025-11-03 02:59:07 +00:00
gpt-engineer-app[bot]
59d028067a Refactor code to address issues 2025-10-29 17:00:37 +00:00
gpt-engineer-app[bot]
2d66a4f778 Implement dynamic page titles 2025-10-29 12:42:18 +00:00
gpt-engineer-app[bot]
95679c1067 Fix: Resolve type incompatibility in company person_type 2025-10-16 13:50:25 +00:00
gpt-engineer-app[bot]
4efdeaa104 Refactor: Implement entity type safety plan 2025-10-16 13:48:41 +00:00
gpt-engineer-app[bot]
6819682ace feat: Centralize Auth Modal and require auth for actions 2025-10-16 12:59:20 +00:00
gpt-engineer-app[bot]
e340f1c489 Refactor: Fix type safety and auth 2025-10-16 12:54:47 +00:00
gpt-engineer-app[bot]
e79eaf76ba feat: Implement type-safe company rides lists 2025-10-16 12:47:21 +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
gpt-engineer-app[bot]
0f087b2921 feat: Implement missing URL pattern routes 2025-10-02 19:39:35 +00:00