root
805ceca152
fix: 8 bugfixes — current undefined, auth email, sequential statuses, problem dialog, action log details, KPI layout, date sort, driver lock
2026-05-28 10:03:19 +00:00
root
58a96355f1
fix: replace createClient with shared supabase singleton in useAdminStats and errorLogger
2026-05-27 10:59:37 +00:00
root
40b28be0ee
fix: automation funnel — correct data logic, remove emojis, rename to Воронка согласования
2026-05-25 12:31:58 +00:00
root
f099cf20d8
fix: update VAPID public key to match server-side keys
2026-05-22 10:59:39 +00:00
root
dc9d7de60f
feat: push notifications + PWA notifications UI
...
- VAPID keys generated for web push
- push_subscriptions, notifications, notification_preferences tables
- DB triggers: auto-notify on order status change, driver assignment
- Edge functions: send-push-notification, subscribe-push, unsubscribe-push
- Frontend: NotificationBell, NotificationSettings components
- usePushNotifications hook (subscribe/unsubscribe push)
- useNotifications hook (fetch + realtime + mark read)
- Service worker: push event handler + notification click
- AppShell: notification bell in header
- DashboardPage: wired notifications
- manifest.webmanifest: name updated to SuperSam
- Caddyfile: CSP allows wss:// + fcm push
2026-05-22 10:48:33 +00:00
Codex
838c4cb7ae
feat(paid-storage): bypass stale RPC for paid_storage transitions
...
- OrderDetailPanel: paid_storage bypasses update_delivery_status RPC
- Repository: direct table update for paid_storage entry/exit
- LogisticsBoard: collapsible sections ordered by funnel
- SQL: updated paid_storage schema patch
- LoginPage: hide dev quick-login in production
2026-05-20 16:25:06 +03: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
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