Commit Graph

32 Commits

Author SHA1 Message Date
pac7
bfba3baf7e Improve component stability and user experience with safety checks
Implement robust error handling, safety checks for data structures, and state management improvements across various components to prevent runtime errors and enhance user experience.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: a71e826a-1d38-4b6e-a34f-fbf5ba1f1b25
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-08 19:27:31 +00:00
pac7
57082de69a Update company search navigation to handle missing identifiers gracefully
Modify AutocompleteSearch.tsx to remove direct use of companyId for navigation, instead handling unknown company types and missing identifiers by showing a toast and returning to search results.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 567218be-0199-4aaa-af7e-8307f67d4453
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-08 18:31:59 +00:00
pac7
3832439d67 Improve image upload and test data generation functionalities
Refactors `uploadPendingImages` to use `Promise.allSettled` for parallel uploads and implements JSON path queries in `clearTestData` and `getTestDataStats` for more robust test data management. Enhances `seed-test-data` function to support creating data conflicts and version chains, and adds validation for `imageId` format in `upload-image` function. Updates `AutocompleteSearch` to use a default search types constant.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: dc31cf9d-7a06-4420-8ade-e7b7f5200e71
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
2025-10-08 18:14:34 +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
gpt-engineer-app[bot]
24aa631b62 Refactor: Implement site-wide unit conversion 2025-10-03 13:12:57 +00:00
gpt-engineer-app[bot]
14ab8a72d6 Fix search to use slugs 2025-10-02 20:12:12 +00:00
gpt-engineer-app[bot]
3c7de96bcf Fix date display issues 2025-10-02 16:34:38 +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]
cb78a2f591 Refactor badge alignment on small screens 2025-09-30 21:24:21 +00:00
gpt-engineer-app[bot]
d0fc334de0 Reverted to commit 496b06fe9e 2025-09-30 21:22:38 +00:00
gpt-engineer-app[bot]
815b83a7c0 Refactor search autocomplete layout 2025-09-30 21:22:21 +00:00
gpt-engineer-app[bot]
496b06fe9e Refactor search result display 2025-09-30 21:21:05 +00:00
gpt-engineer-app[bot]
444bc12a5b Refactor AutocompleteSearch for mobile 2025-09-30 21:19:08 +00:00
gpt-engineer-app[bot]
50aa55ecbe Fix: Improve search text wrapping and spacing 2025-09-30 12:03:15 +00:00
gpt-engineer-app[bot]
28ab241bb7 Refactor: Improve mobile header and navigation 2025-09-30 11:59:31 +00:00
gpt-engineer-app[bot]
f6a06ad2fa Refactor: Implement app-wide DatePicker enhancements 2025-09-29 16:42:10 +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]
29f687b29e Fix Select.Item value prop error 2025-09-29 15:49:33 +00:00
gpt-engineer-app[bot]
f065dd8032 Fix CollapsibleTrigger context error 2025-09-29 15:48:36 +00:00
gpt-engineer-app[bot]
f799cdd563 feat: Implement comprehensive search page 2025-09-29 15:45:56 +00:00
gpt-engineer-app[bot]
194af3308f Fix: Prevent rendering 0 for rating 2025-09-29 15:30:45 +00:00
gpt-engineer-app[bot]
dd3ab248d2 Fix: Remove text truncation from subtitle badge 2025-09-29 15:26:59 +00:00
gpt-engineer-app[bot]
d47b8237d4 feat: Display subtitle as badge 2025-09-29 15:26:29 +00:00
gpt-engineer-app[bot]
d6729920c6 Code edited in Lovable Code Editor 2025-09-29 15:17:03 +00:00
gpt-engineer-app[bot]
7581ba053b Refactor search result layout 2025-09-29 14:50:19 +00:00
gpt-engineer-app[bot]
2907319e45 Remove icons from search results 2025-09-29 14:48:27 +00:00
gpt-engineer-app[bot]
637d8b84e6 Fix AutocompleteSearch text display 2025-09-29 14:43:55 +00:00
gpt-engineer-app[bot]
efa026d6f5 Refactor search placeholder text 2025-09-29 14:43:01 +00:00
gpt-engineer-app[bot]
d1f32dbf25 Refactor: Replace emojis with Lucide React icons 2025-09-29 12:36:38 +00:00
gpt-engineer-app[bot]
33a6b19b38 Fix: Add name attribute to search input 2025-09-28 15:50:38 +00:00
gpt-engineer-app[bot]
3263291608 feat: Implement modern search with autocomplete 2025-09-21 00:24:41 +00:00
gpt-engineer-app[bot]
90bb0216b7 Add park and ride pages 2025-09-20 00:55:36 +00:00