@forelse ($summaries as $summary)
@php
$title = $summary->session?->room?->title ?? 'Meeting';
$status = $summary->status ?? 'ready';
$statusLabel = match ($status) {
'ready' => 'Ready',
'processing' => 'Processing',
'failed' => 'Failed',
default => ucfirst((string) $status),
};
$statusClass = match ($status) {
'ready' => 'bg-emerald-50 text-emerald-700',
'processing' => 'bg-amber-50 text-amber-800',
'failed' => 'bg-rose-50 text-rose-700',
default => 'bg-slate-100 text-slate-600',
};
$preview = \Illuminate\Support\Str::limit(trim((string) $summary->summary), 140);
@endphp
{{ $title }}
{{ $statusLabel }}
{{ $summary->created_at?->format('M j, Y g:i A') }}
@if ($summary->actionItems->isNotEmpty())
ยท {{ $summary->actionItems->count() }} action item{{ $summary->actionItems->count() === 1 ? '' : 's' }}
@endif
@if ($preview !== '')
{{ $preview }}
@endif
View
@empty
No AI summaries yet. Summaries appear after meetings end when auto-summary is enabled.
@endforelse