WFDASHDRIVER-APP/components
SJCoetz 85662380a2 feat: add order item photo uploads and fix PB bugs
- fix driver_locations schema mismatch: use `relation` instead of `driver` per live PB schema
- remove invalid `ready_for_collection` filter that caused silent 400 errors
- add order_item_attachments support for driver pickup photos with proper error handling:
  * replace legacy collection_photo field with new collection for multiple per-item files
  * upload photos after updating item status to avoid stranding assigned items
  * show warning toast if upload fails instead of success confirmation
  * update toast messages to reflect photo upload status
- add pre-build schema check script to catch invalid PB field references pre-deploy
- add corresponding npm scripts and prebuild hook for the schema check
- add e2e test scripts for collection and upload flows
- update type definitions and pocketbase SDK helpers for new schema and functionality
2026-07-08 01:35:26 +02:00
..
AreaGroup.tsx feat: add geographic grouping, refactor collection workflow 2026-07-07 17:15:42 +02:00
AuthProvider.tsx feat: initialize project with Next.js, TypeScript, and Tailwind CSS 2026-05-24 21:51:29 +02:00
BottomNav.tsx feat: add complete dark mode support with settings toggle 2026-07-07 18:28:19 +02:00
CollectionItemCard.tsx feat: add geographic grouping, refactor collection workflow 2026-07-07 17:15:42 +02:00
CollectionMap.tsx feat: add pickup proof photos, improve performance and UX 2026-07-07 20:43:17 +02:00
CollectModal.tsx feat: add pickup proof photos, improve performance and UX 2026-07-07 20:43:17 +02:00
InstallPrompt.tsx feat: add pickup proof photos, improve performance and UX 2026-07-07 20:43:17 +02:00
LocationTracker.tsx feat: add order item photo uploads and fix PB bugs 2026-07-08 01:35:26 +02:00
OfflineIndicator.tsx refactor(ui): rebrand app, fix supplier naming 2026-07-05 22:32:20 +02:00
ProblemModal.tsx refactor(ui): rebrand app, fix supplier naming 2026-07-05 22:32:20 +02:00
PWABridge.tsx Add PWA support and UI redesign 2026-05-27 00:34:50 +02:00
SupplierGroup.tsx refactor(ui): rebrand app, fix supplier naming 2026-07-05 22:32:20 +02:00