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:
@@ -54,8 +54,8 @@ export function PetProfiles({ readOnly }: Props) {
|
||||
<p className="text-stone-400 text-xs mt-0.5">Born {new Date(pet.dob).toLocaleDateString("en-US", { month: "long", day: "numeric", year: "numeric" })}</p>
|
||||
</div>
|
||||
{!readOnly && (
|
||||
<button className="p-2 hover:bg-stone-50 rounded-lg">
|
||||
<Edit3 size={16} className="text-stone-400" />
|
||||
<button disabled title="Pet editing coming soon" className="p-2 rounded-lg cursor-not-allowed">
|
||||
<Edit3 size={16} className="text-stone-300" />
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user