supersam/src/services
Codex b9c6bb2810 fix: RLS recursion, driver UI, auth errors, status counts
- Fix infinite RLS recursion in users policies via current_role_name()
- Add is_admin() helper and simplify users select policies
- Fix order_groups insert for service_role (n8n integration)
- Fix status option counts in dropdown (LogisticsReadinessBoard)
- Add driver delivery status buttons (loaded, on_route, delivered, problem, cancelled)
- Replace driver date range filters with single date picker + date pills
- Hide SMS/internal data from driver view in OrderDetailPanel
- Fix Edge Function error messages in OTP flow (read error.context body)
- Add update_delivery_status RPC for driver workflow
- Remove customer column from order_groups fetch (DB schema mismatch)
- UI: swap filter/search positions, limit modal width, status label cleanup
2026-05-20 16:25:05 +03:00
..
supabase fix: RLS recursion, driver UI, auth errors, status counts 2026-05-20 16:25:05 +03:00
deliveryInvitationApi.js fix(delivery): switch public flow to rpc 2026-05-13 18:59:30 +03:00
deliveryInvitationApi.test.js fix(delivery): switch public flow to rpc 2026-05-13 18:59:30 +03:00
deliverySetViews.js feat: complete delivery workflow updates 2026-04-13 16:32:18 +03:00
deliverySetViews.test.js feat: complete delivery workflow updates 2026-04-13 16:32:18 +03:00
driverDeliveries.js Initial import 2026-03-14 18:40:54 +03:00
driverDeliveries.test.js Initial import 2026-03-14 18:40:54 +03:00
orderGroupViews.js fix: RLS recursion, driver UI, auth errors, status counts 2026-05-20 16:25:05 +03:00
orderGroupViews.test.js feat(delivery): auto-create invitation links 2026-05-13 18:59:30 +03:00
orderService.js refactor: align delivery flow with 1c imports 2026-04-13 16:24:04 +03:00
orderService.test.js Polish demo UI and delivery filters 2026-05-13 18:59:30 +03:00
orderViews.js refactor: align delivery flow with 1c imports 2026-04-13 16:24:04 +03:00
orderViews.test.js feat: complete delivery workflow updates 2026-04-13 16:32:18 +03:00
safeSupabaseCall.js Initial import 2026-03-14 18:40:54 +03:00