From 117ce09dc7c743cf2169a00b46535d443ec9fcd6 Mon Sep 17 00:00:00 2001 From: iamkiddy Date: Thu, 4 Dec 2025 18:19:38 +0000 Subject: [PATCH 1/2] Remove Jitsi room ID display from user appointment detail page to streamline meeting information presentation. This change enhances clarity by focusing on essential meeting details while eliminating unnecessary elements related to room ID visibility. --- app/(user)/user/appointments/[id]/page.tsx | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/app/(user)/user/appointments/[id]/page.tsx b/app/(user)/user/appointments/[id]/page.tsx index 2b57326..d93b1d4 100644 --- a/app/(user)/user/appointments/[id]/page.tsx +++ b/app/(user)/user/appointments/[id]/page.tsx @@ -465,26 +465,6 @@ export default function UserAppointmentDetailPage() {
- {appointment.jitsi_room_id && ( -
-

- Meeting Room ID -

-
-

- {appointment.jitsi_room_id} -

- -
-
- )}

Meeting Link -- 2.39.5 From 3da7d9993497aed2f6a2e44e0315519a5467b714 Mon Sep 17 00:00:00 2001 From: iamkiddy Date: Thu, 4 Dec 2025 18:26:21 +0000 Subject: [PATCH 2/2] Update Navbar component to adjust link behavior based on user authentication and role. Change the home link to redirect authenticated non-admin users to the dashboard, and modify conditional rendering to hide the "book now" link for admin users, enhancing navigation clarity. --- components/Navbar.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/components/Navbar.tsx b/components/Navbar.tsx index ef2ccf0..1e56789 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -80,7 +80,10 @@ export function Navbar() { whileHover={{ scale: 1.05 }} whileTap={{ scale: 0.95 }} > - +

@@ -127,7 +130,7 @@ export function Navbar() { )} - {!isUserDashboard && ( + {!isAdmin && ( )} - {!isUserDashboard && ( + {!isAdmin && ( setMobileMenuOpen(false)} -- 2.39.5