Wire space listener email invites and restyle Meet index pages.
Deploy Ladill Meet / deploy (push) Successful in 42s

Enforce invite-only room access, validate invite emails on create, assign
attendee role for listener invitations, and add invite UI on the room show
page. Redesign meetings, rooms, conferences, and webinars indexes to match
the Events hero, stats cards, and icon list layout.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-04 02:07:27 +00:00
co-authored by Cursor
parent 21092015b8
commit 46d630221a
17 changed files with 463 additions and 92 deletions
+4 -2
View File
@@ -18,7 +18,9 @@ class InvitationService
*/
public function inviteToRoom(Room $room, array $invites, User $host): void
{
$normalized = collect($invites)->map(function ($invite) {
$defaultRole = $room->isSpace() ? 'attendee' : 'participant';
$normalized = collect($invites)->map(function ($invite) use ($defaultRole) {
$email = trim((string) ($invite['email'] ?? ''));
if ($email === '') {
return null;
@@ -29,7 +31,7 @@ class InvitationService
return [
'email' => $email,
'name' => $invite['name'] ?? $invite['display_name'] ?? $user?->name,
'role' => $invite['role'] ?? 'participant',
'role' => $invite['role'] ?? $defaultRole,
'user_ref' => $invite['user_ref'] ?? $user?->ownerRef(),
];
})->filter()->unique('email')->values()->all();