From 479b8943ae5ea563b24d1841d1dc5cc7504afbba Mon Sep 17 00:00:00 2001 From: iamkiddy Date: Thu, 4 Dec 2025 19:30:08 +0000 Subject: [PATCH] Refactor appointment detail page for admin and user interfaces. Update meeting link display logic and styling for improved clarity, ensuring users can easily identify and access meeting information while maintaining a streamlined interface. --- app/(admin)/admin/booking/[id]/page.tsx | 35 ++++------------------ app/(user)/user/appointments/[id]/page.tsx | 5 ++-- 2 files changed, 9 insertions(+), 31 deletions(-) diff --git a/app/(admin)/admin/booking/[id]/page.tsx b/app/(admin)/admin/booking/[id]/page.tsx index 428cdc4..ee74de5 100644 --- a/app/(admin)/admin/booking/[id]/page.tsx +++ b/app/(admin)/admin/booking/[id]/page.tsx @@ -583,38 +583,15 @@ export default function AppointmentDetailPage() { Moderator Meeting Link

- {appointment.can_join_as_moderator ? ( - <> - +
{appointment.moderator_join_url} - - + - - )} +
{appointment.can_join_as_moderator !== undefined && ( diff --git a/app/(user)/user/appointments/[id]/page.tsx b/app/(user)/user/appointments/[id]/page.tsx index cb04f7a..56a64b2 100644 --- a/app/(user)/user/appointments/[id]/page.tsx +++ b/app/(user)/user/appointments/[id]/page.tsx @@ -455,7 +455,8 @@ export default function UserAppointmentDetailPage() { )} {/* Meeting Information */} - {appointment.participant_join_url && ( + {/* Video Meeting card hidden - users can join via the Join Now button in sidebar */} + {/* {appointment.participant_join_url && (

@@ -474,7 +475,7 @@ export default function UserAppointmentDetailPage() { )}

- )} + )} */} {/* Sidebar - Right Column (1/3) */}