Redesign display admin show page and public waiting-area screen.
Deploy Ladill Queue / deploy (push) Successful in 33s

Add corporate layout, live preview, URL copy, queue details, and a polished TV display with clock, stats sidebar, and branded now-serving cards.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-29 22:42:02 +00:00
co-authored by Cursor
parent af764f77fb
commit 2243ccf95a
7 changed files with 350 additions and 45 deletions
@@ -19,6 +19,7 @@ class DisplayPublicController extends Controller
public function show(string $token): View
{
$screen = $this->displays->findByToken($token) ?? abort(404);
$screen->loadMissing(['organization', 'branch']);
$this->displays->touch($screen);
return view('qms.display.public', [
@@ -44,9 +44,23 @@ class DisplayScreenController extends Controller
{
$this->authorizeAbility($request, 'displays.view');
$this->authorizeOwner($request, $display);
$display->load('branch');
$display->load(['branch', 'organization']);
return view('qms.displays.show', compact('display'));
$member = app(OrganizationResolver::class)->memberFor($request->user());
$permissions = app(QmsPermissions::class);
$queueIds = array_map('intval', $display->service_queue_ids ?? []);
$queues = ServiceQueue::query()
->whereIn('id', $queueIds)
->orderBy('name')
->get();
return view('qms.displays.show', [
'display' => $display,
'queues' => $queues,
'publicUrl' => route('qms.display.public', $display->access_token),
'canManage' => $permissions->can($member, 'displays.manage'),
]);
}
public function create(Request $request): View