Add panel discussions option to webinars and widen audience strip.
Deploy Ladill Meet / deploy (push) Successful in 2m1s

Webinars can enable multi-speaker stage layout at creation or on the details page; plenary view shows 12 attendee avatars before the overflow count.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-01 21:29:22 +00:00
co-authored by Cursor
parent 1037cd6ee6
commit f98d66c9f9
6 changed files with 70 additions and 1 deletions
+1 -1
View File
@@ -697,7 +697,7 @@ function meetRoom() {
return;
}
const maxVisible = 8;
const maxVisible = 12;
const visible = audience.slice(0, maxVisible);
const overflow = audience.length - visible.length;
@@ -72,6 +72,7 @@
<label class="flex items-center gap-2 text-sm"><input type="checkbox" name="auto_record" value="1" @checked(old('auto_record')) class="rounded border-slate-300"> Auto-record</label>
<label class="flex items-center gap-2 text-sm"><input type="checkbox" name="live_captions" value="1" @checked(old('live_captions')) class="rounded border-slate-300"> Live captions</label>
<label class="flex items-center gap-2 text-sm"><input type="checkbox" name="webinar_auto_approve" value="1" @checked(old('webinar_auto_approve')) class="rounded border-slate-300"> Auto-approve registrations</label>
<label class="flex items-center gap-2 text-sm"><input type="checkbox" name="panel_discussions" value="1" @checked(old('panel_discussions')) class="rounded border-slate-300"> Enable panel discussions (multi-speaker stage layout)</label>
</fieldset>
<button type="submit" class="btn-primary btn-primary-lg w-full">Create webinar</button>
@@ -20,6 +20,12 @@
</div>
@endif
@if (session('success'))
<div class="mt-4 rounded-lg border border-emerald-200 bg-emerald-50 px-4 py-3 text-sm text-emerald-800">
{{ session('success') }}
</div>
@endif
<div class="mt-4 rounded-xl border border-indigo-100 bg-indigo-50 px-4 py-3 text-sm text-indigo-900">
Billed at <span class="font-medium">GHS {{ number_format(config('meet.billing.price_per_participant_ghs', 0.30), 2) }} per participant</span> (peak attendance when the session ends).
</div>
@@ -63,6 +69,19 @@
Scheduled: {{ $room->scheduled_at->timezone($room->timezone)->format('M j, Y g:i A T') }}
</p>
@endif
@if ($room->status === 'scheduled')
<form method="POST" action="{{ route('meet.webinars.settings.update', $room) }}" class="mt-6 border-t border-slate-100 pt-6">
@csrf
<h2 class="text-sm font-medium text-slate-700">Stage layout</h2>
<label class="mt-3 flex items-center gap-2 text-sm text-slate-700">
<input type="checkbox" name="panel_discussions" value="1"
@checked(old('panel_discussions', $room->setting('panel_discussions'))) class="rounded border-slate-300">
Enable panel discussions (multi-speaker stage layout)
</label>
<button type="submit" class="btn-primary btn-primary-sm mt-3">Save settings</button>
</form>
@endif
</div>
@php