Separate webinars from meetings and add conference billing.
Deploy Ladill Meet / deploy (push) Successful in 41s

Add restart meeting actions, a dedicated webinar sidebar flow billed at GHS 0.30 per participant, and reserve speaker-line space with a placeholder to prevent layout shift.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-01 18:23:04 +00:00
co-authored by Cursor
parent 3585904618
commit d0a3361f37
24 changed files with 598 additions and 51 deletions
+8 -9
View File
@@ -44,7 +44,8 @@ class RoomController extends Controller
$organization = $this->organization($request);
$owner = $this->ownerRef($request);
$query = Room::owned($owner)->where('organization_id', $organization->id);
$query = Room::owned($owner)->where('organization_id', $organization->id)
->where('type', '!=', 'webinar');
$this->scopeToBranch($request, $query);
$rooms = $query->orderByDesc('scheduled_at')->paginate(20);
@@ -79,7 +80,7 @@ class RoomController extends Controller
$validated = $request->validate([
'title' => ['required', 'string', 'max:255'],
'description' => ['nullable', 'string', 'max:2000'],
'type' => ['nullable', 'string', 'in:scheduled,webinar,town_hall'],
'type' => ['nullable', 'string', 'in:scheduled,town_hall'],
'scheduled_at' => ['nullable', 'date'],
'duration_minutes' => ['nullable', 'integer', 'min:15', 'max:480'],
'timezone' => ['nullable', 'timezone'],
@@ -104,7 +105,7 @@ class RoomController extends Controller
'auto_record' => $request->boolean('auto_record'),
'live_captions' => $request->boolean('live_captions'),
'webinar_auto_approve' => $request->boolean('webinar_auto_approve'),
'stage_mode' => ($validated['type'] ?? '') === 'webinar',
'stage_mode' => false,
];
$data = array_merge($validated, [
@@ -121,12 +122,6 @@ class RoomController extends Controller
if (! empty($validated['recurrence_rule']) && ! $isInstant) {
$room = $this->recurring->createSeries($request->user(), $organization, $data);
} elseif (($validated['type'] ?? '') === 'webinar') {
abort_if($isInstant, 422, 'Webinars must be scheduled.');
$room = $this->rooms->create($request->user(), $organization, array_merge($data, [
'type' => 'webinar',
'status' => 'scheduled',
]));
} elseif (($validated['type'] ?? '') === 'town_hall') {
abort_if($isInstant, 422, 'Town halls must be scheduled.');
$room = $this->rooms->create($request->user(), $organization, array_merge($data, [
@@ -163,6 +158,10 @@ class RoomController extends Controller
$this->authorizeAbility($request, 'meetings.view');
$this->authorizeOwner($request, $room);
if ($room->isWebinar()) {
return redirect()->route('meet.webinars.show', $room);
}
$room->load(['sessions.participants', 'invitations', 'sessions.recordings', 'sessions.aiSummaries', 'sessionFiles', 'webinarRegistrations']);
return view('meet.rooms.show', compact('room'));