fix(portal): disable non-functional Reschedule buttons (GRO-166) #146

Closed
groombook-engineer[bot] wants to merge 3 commits from fix/disable-stub-reschedule-button-gro-166 into main
2 changed files with 12 additions and 2 deletions
Showing only changes of commit f99218cfae - Show all commits
@@ -176,7 +176,12 @@ function AppointmentCard({
)}
{appt.status !== "completed" && appt.status !== "cancelled" && !readOnly && (
<div className="flex gap-2 mt-3">
<button className="text-xs px-3 py-1.5 border border-stone-200 rounded-lg text-stone-600 hover:bg-stone-50">
<button
type="button"
disabled
title="Rescheduling — coming soon"
className="text-xs px-3 py-1.5 border border-stone-200 rounded-lg text-stone-400 cursor-not-allowed"
>
Reschedule
</button>
<CancelAppointmentButton appointment={appt} sessionId={sessionId} />
+6 -1
View File
@@ -77,7 +77,12 @@ export function Dashboard({ onNavigate, readOnly }: Props) {
</div>
{!readOnly && (
<div className="flex gap-2 mt-4">
<button className="text-sm px-3 py-1.5 border border-stone-200 rounded-lg text-stone-600 hover:bg-stone-50">
<button
type="button"
disabled
title="Rescheduling — coming soon"
className="text-sm px-3 py-1.5 border border-stone-200 rounded-lg text-stone-400 cursor-not-allowed"
>
Reschedule
</button>
<button className="text-sm px-3 py-1.5 border border-stone-200 rounded-lg text-stone-600 hover:bg-stone-50">