@include('partials.head') {{-- Active tenant indicator + placeholder switcher. --}}
{{ __('Dashboard') }} {{ __('Inbox') }} {{ __('Stores') }} {{ __('Customers') }} {{-- Macros — first-class primary nav. Was buried in Settings before; operators reach for it often enough that it sits alongside the core inbox surfaces. Read-only for agents, full CRUD for owner / admin (gated in the component layer via SupportMacroPolicy). --}} {{ __('Macros') }} {{-- Automations — Push 1 of the long-term if-this-then-that engine. Today: just one rule type (close pending tickets after X days). List is visible to every member; mutations gated on `manageStores` (owner/admin only) in the component layer. The cron tick runs every 15 min via the scheduler entry in routes/console.php. --}} {{ __('Automations') }} {{-- Self-help flows — admin entry point for the customer-facing /self-help portal. Public portal is unauthenticated and lives at its own routes; this nav row is for operators authoring flows. Read-only for agents, full CRUD for owner / admin (gated via FlowPolicy). --}} {{ __('Flows') }} {{-- Channels — where customers reach you. Six top-level surfaces: Contact Form (flows), Email (inbound + outbound config), plus four coming-soon channels for SMS, WhatsApp, Chat, Help Centre. The overview grid is the primary entry; each sub-page has its own component. Email-address management eventually consolidates HERE — the Stores Show "Email addresses" tab stays as a read-only per-store view. --}} {{ __('Channels') }} {{ __('Integrations') }} {{-- ─── Super Admin / Platform tools ─────────────── Visible only to platform super-admins (`users.is_super_admin = true`). Workspace admins + agents NEVER see this group. The `super-admin` gate is defined in AppServiceProvider::configureSuperAdminGate. These links go straight to /super-admin/* — a top-level route group OUTSIDE the tenant middleware chain. The super-admin's currently- selected workspace is irrelevant: platform tools are workspace-agnostic. --}} @can('super-admin') {{ __('Super Admin') }} {{ __('Couriers') }} {{ __('Workspaces') }} {{ __('Platform settings') }} {{ __('Audit log') }} {{-- Pre-deploy slice (2026-05-20). API Errors is a separate surface from Audit Log: Audit Log is for super-admin actions; API Errors is for upstream third-party API failures the platform caught and absorbed (Landmark today, future providers register via ApiErrorRecorder). --}} {{ __('API errors') }} {{-- Production Ops slice (2026-06-05). System Health belongs with the platform-tools group rather than Platform defaults — it's diagnostic infrastructure, not template management. --}} {{ __('System Health') }} {{-- Platform Default Data slice (2026-06-05). Separate group so the catalogue of platform templates has its own nav home. Visible only to super-admins (same @can guard). --}} {{ __('Overview') }} {{ __('Default flows') }} {{ __('Default macros') }} {{ __('Default automations') }} {{ __('Default widgets') }} {{ __('Provisioning failures') }} @endcan {{-- Repository / Documentation starter links removed — these are scaffolding from the Livewire starter kit and have no place in the operator product UI. --}}
{{ auth()->user()->name }} {{ auth()->user()->email }}
{{ __('Settings') }}
@csrf {{ __('Log out') }}
{{ $slot }} @persist('toast') @endpersist @fluxScripts