Add hero sections to Queue index pages and soften analytics cards.
Deploy Ladill Queue / deploy (push) Successful in 36s

Introduce shared x-qms.page-hero with summary stats across queues,
tickets, counters, admin pages, and insights; remove bordered cards on
Analytics, Reports, Feedback, and Branches list views.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-06 07:32:10 +00:00
co-authored by Cursor
parent 29bf896f21
commit bf879d6abe
26 changed files with 850 additions and 526 deletions
@@ -30,7 +30,18 @@ class ServiceQueueController extends Controller
->orderBy('name')
->paginate(20);
return view('qms.queues.index', compact('queues', 'organization'));
$queueStats = ServiceQueue::owned($owner)
->where('organization_id', $organization->id)
->when(true, fn ($q) => $this->scopeToBranch($request, $q))
->get();
$heroStats = [
'total' => $queueStats->count(),
'active' => $queueStats->where('is_active', true)->where('is_paused', false)->count(),
'paused' => $queueStats->where('is_paused', true)->count(),
];
return view('qms.queues.index', compact('queues', 'organization', 'heroStats'));
}
public function show(Request $request, ServiceQueue $serviceQueue): View