From f99218cfae54e4feb0544506d86ceef3d10170a9 Mon Sep 17 00:00:00 2001 From: "groombook-ci[bot]" Date: Sat, 28 Mar 2026 11:15:55 +0000 Subject: [PATCH] fix(portal): disable non-functional Reschedule buttons (GRO-166) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit b3a3f80 removed disabled/stub attributes from Reschedule buttons but never implemented the onClick handlers. Buttons were enabled but inert — clicking did nothing, perceived as "blank page." Restore disabled state with "Rescheduling — coming soon" tooltip to both Dashboard and Appointments Reschedule buttons. Full reschedule flow requires a /api/portal/appointments/:id/reschedule endpoint — tracked separately. Co-Authored-By: Paperclip --- apps/web/src/portal/sections/Appointments.tsx | 7 ++++++- apps/web/src/portal/sections/Dashboard.tsx | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/apps/web/src/portal/sections/Appointments.tsx b/apps/web/src/portal/sections/Appointments.tsx index 04c2bc1..78e1881 100644 --- a/apps/web/src/portal/sections/Appointments.tsx +++ b/apps/web/src/portal/sections/Appointments.tsx @@ -176,7 +176,12 @@ function AppointmentCard({ )} {appt.status !== "completed" && appt.status !== "cancelled" && !readOnly && (
- diff --git a/apps/web/src/portal/sections/Dashboard.tsx b/apps/web/src/portal/sections/Dashboard.tsx index 2f82cc7..3ffc682 100644 --- a/apps/web/src/portal/sections/Dashboard.tsx +++ b/apps/web/src/portal/sections/Dashboard.tsx @@ -77,7 +77,12 @@ export function Dashboard({ onNavigate, readOnly }: Props) {
{!readOnly && (
-