root
55422ec65a
feat: add skeleton loading states across all pages
...
- New Loading.jsx component library (Skeleton, SkeletonPanel, SkeletonPage, SkeletonTable, Spinner, LoadingBlock)
- Dashboard: SkeletonTable/SkeletonPage during isLoading
- OrdersTable, LogisticsReadinessBoard, DriverDeliveryPlanner: show skeleton instead of empty state
- ChatTimeline, DeliverySlotsPicker, GroupDetailPage: skeleton while loading
- AdminDashboard, StopWordsPanel, UserManagementPanel, ErrorLogPanel, ActionLogPanel: skeleton during initial load
- NotificationSettings: skeleton for push toggle and notification preferences
- ClientDeliveryPage: skeleton bars instead of text-only loading
2026-06-12 07:46:58 +00:00
root
e05613ac1d
feat: add pickup (самовывоз) delivery type
...
- New status pickup in delivery workflow
- DB: delivery_type, pickup_date, pickup_time_slot columns
- Client page: tabs Доставка/Самовывоз with PickupSlotsPicker
- PickupSlotsPicker: today/tomorrow/day-after with half-day slots
- Storage notice: free 2 workdays, then 300₽/day
- OrderDetailPanel: delivery type tabs, pickup date/time, status button
- Edge function: delivery_type/pickup fields in confirm-delivery-choice
- RPC: confirm_delivery_choice_by_token updated for pickup
- orderGroupRepository: full pickup field mapping
2026-06-10 12:02:46 +00:00
root
50f504c2ff
fix: city regex requires mandatory dot+space — no more Гор→ор, Годная→одная
2026-05-28 11:05:38 +00:00
root
db555bbf55
remove: drop readiness column from orders table
2026-05-27 14:03:57 +00:00
root
470270118b
fix: driver_assigned status on assign + driver column in table
2026-05-27 12:48:48 +00:00
root
19bed475ee
feat: delivery date in table+card, driver assign preserves agreed status
2026-05-27 12:39:02 +00:00
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
Codex
b79de7afba
feat(delivery): auto-create invitation links
...
Add a Supabase trigger that creates delivery invitations and writes delivery_link on order_groups changes. n8n can now consume link_ready rows without calling the edge function first.
2026-05-13 18:59:30 +03:00
Codex
684424dd25
feat(order-groups): wire driver delivery flow
2026-05-13 18:59:30 +03:00
Codex
5dcfa80940
Polish demo UI and delivery filters
2026-05-13 18:59:30 +03:00
Codex
49e60d48c1
feat: complete delivery workflow updates
2026-04-13 16:32:18 +03:00
Codex
1798e3acfd
refactor: align delivery flow with 1c imports
2026-04-13 16:24:04 +03:00
Codex
b40a4a553e
Initial import
2026-03-14 18:40:54 +03:00