From e2d61483f112b32e703a8a5fa22f3c2c021bbbd6 Mon Sep 17 00:00:00 2001 From: juancarmore Date: Wed, 3 Sep 2025 16:45:25 +0200 Subject: [PATCH] frontend: update meeting component to improve closed room state --- .../lib/pages/meeting/meeting.component.html | 73 +++++++++++-------- .../lib/pages/meeting/meeting.component.scss | 30 ++++++-- .../lib/pages/meeting/meeting.component.ts | 5 -- 3 files changed, 64 insertions(+), 44 deletions(-) diff --git a/frontend/projects/shared-meet-components/src/lib/pages/meeting/meeting.component.html b/frontend/projects/shared-meet-components/src/lib/pages/meeting/meeting.component.html index d288e55..f862892 100644 --- a/frontend/projects/shared-meet-components/src/lib/pages/meeting/meeting.component.html +++ b/frontend/projects/shared-meet-components/src/lib/pages/meeting/meeting.component.html @@ -208,7 +208,6 @@ video_chat

{{ roomName }}

-

Choose how you want to proceed

@@ -222,43 +221,53 @@ {{ roomClosed ? 'Room Closed' : 'Join Meeting' }} {{ roomClosed - ? 'This room is currently closed and not accepting new participants' + ? 'This room is not available for meetings' : 'Enter the room and start connecting' }} -
- - Your display name - - person - @if (participantForm.get('name')?.hasError('minlength')) { - The name must be at least 4 characters - } - @if (participantForm.get('name')?.hasError('required')) { - The name is required - } - + @if (!roomClosed) { + + + Your display name + + person + @if (participantForm.get('name')?.hasError('minlength')) { + The name must be at least 4 characters + } + @if (participantForm.get('name')?.hasError('required')) { + The name is required + } + - -
+ + + } @else { +
+ warning +

+ Sorry, this room is closed. You cannot join at this time. Please contact the meeting + organizer for more information. +

+
+ }
@@ -296,7 +305,7 @@ - @if (features().canModerateRoom) { + @if (!roomClosed && features().canModerateRoom) {