{{ __('Admin') }} {{ __('Overview') }}
⌘K
{{ __('Workspace · Admin') }}

{{ __('Admin') }} {{ __('dashboard') }}.

{{ __('Platform health, revenue, usage, and workspace activity in one place.') }}

{{-- "Customize" + "Filter" buttons removed — they had no backing action. The window picker below already drives the dashboard date range, which was their only useful purpose. --}} {{-- Window picker — re-renders the page with ?window=. --}}
Add workspace
{{-- KPI row — values + deltas come from OverviewController::kpis(). --}} @php $kpiCards = [ ['key' => 'income', 'label' => 'Total income'], ['key' => 'profit', 'label' => 'Profit'], ['key' => 'views', 'label' => 'Total views'], ['key' => 'conversion', 'label' => 'Conversion rate'], ]; @endphp
@foreach ($kpiCards as $card) @php $k = $kpis[$card['key']]; @endphp
{{ $card['label'] }}
{{ $k['display'] }}
{{ ($k['positive'] ? '+' : '') . number_format($k['delta'], 2) }}%
{{ __('vs previous period') }}
@endforeach

{{ __('Revenue over time') }}

Total revenue {{ $revenue['total'] }} Total target {{ $revenue['totalTarget'] }}

{{ __('Session by country') }}

{{ __('Top sessions by region') }}

@php $countryTones = ['#D9E5F2', '#FBE9E7', '#E7FFDB', '#FFF4E0', '#F3E9FF']; $maxPct = collect($countries)->max('percent') ?: 1; @endphp
@forelse ($countries as $i => $c)
{{ $c['code'] }} {{ $c['name'] }} {{ number_format($c['count']) }} · {{ $c['percent'] }}%
@empty
{{ __("No country data yet — users haven't shared their region.") }}
@endforelse

{{ __('Sales by region') }}

{{ __('Platform revenue share') }}

{{ __('Sales by platform') }}

{{ __('E-commerce integrations') }}

{{ __('Registered users') }}

{{ __('Overview of user seats') }}

{{ number_format($plans['premium']) }}
{{ __('Premium plan') }}
{{ number_format($plans['basic']) }}
{{ __('Basic plan') }}

{{ __('Workspace activity') }}

{{ __('Recent high-value admin events') }}

{{ __('View all') }}
@forelse ($workspaces as $ws) @empty @endforelse
{{ __('Workspace') }} {{ __('Owner') }} {{ __('Plan') }} {{ __('Messages') }} {{ __('Health') }} {{ __('MRR') }}
{{ $ws['name'] }}
{{ $ws['industry'] }}
{{ $ws['owner'] }} {{ $ws['plan'] }} {{ $ws['messages'] }} {{ $ws['health']['label'] }} {{ $ws['mrr'] }}
{{ __('No workspaces yet.') }}

{{ __('Admin alerts') }}

{{ __('Priority queue') }}

{{ $alerts['open'] }} {{ __('open') }}
@forelse ($alerts['items'] as $a) @php $sev = $a['severity'] ?? 'low'; @endphp
{{ $a['title'] }}
{{ $a['detail'] }}
@empty
{{ __('All systems healthy — no alerts.') }}
@endforelse
{{-- Chart hydration data — admin-overview.js reads window.adminOverview. --}}