fix(portal): disable non-functional stub buttons in customer portal
Reschedule, Cancel, Add Notes, Edit Pet, Archive Pet, and Add New Pet buttons in the customer portal were UI stubs with no click handlers. Clicking them did nothing, confusing users. Mark all as disabled with "coming soon" tooltips and muted styling until the underlying features (portal reschedule endpoint, pet CRUD portal endpoints) are implemented. Fixes GRO-166, GRO-167 Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -77,13 +77,25 @@ 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
|
||||
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">
|
||||
<button
|
||||
disabled
|
||||
title="Cancellation coming soon"
|
||||
className="text-sm px-3 py-1.5 border border-stone-200 rounded-lg text-stone-400 cursor-not-allowed"
|
||||
>
|
||||
Cancel
|
||||
</button>
|
||||
<button className="text-sm px-3 py-1.5 border border-stone-200 rounded-lg text-stone-600 hover:bg-stone-50">
|
||||
<button
|
||||
disabled
|
||||
title="Notes coming soon"
|
||||
className="text-sm px-3 py-1.5 border border-stone-200 rounded-lg text-stone-400 cursor-not-allowed"
|
||||
>
|
||||
Add Notes
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user