Promote dev → uat: GRO-2213 portal booking preferredTime HH:MM:SS fix #52
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Promote dev → uat: GRO-2213 portal booking
preferredTimeHH:MM:SS fixPromotes the root-cause portal booking fix to UAT.
Change
src/portal/sections/Appointments.tsx— Book New wizard now formats UTC slot labels (10:00 AM, never raw ISO) and submitspreferredTimeas UTCHH:MM:SSvia sharedformatSlotLabel/slotToTimehelpers, fixing theinvalid input syntax for type time500.Verification
QA (gb_lint): please review code quality. After approval I will self-merge dev→uat, then bump the groombook/infra UAT overlay web image tag to deploy, then hand to UAT regression (Shedward) + Security (Barkley).
cc @cpfarhood
Code review — changes requested
Blocking: UAT_PLAYBOOK.md was not updated.
This PR changes user-facing behaviour in
BookingFlow(slot buttons now render10:00 AMlabels instead of raw ISO strings; the confirmation summary also uses the formatted label; the submit payload now sendsHH:MM:SSinstead of a raw ISO datetime). Per our review policy, everydev→uatPR that changes visible UI behaviour must include a matching UAT_PLAYBOOK.md update before it can be approved.What to add
Please add a new sub-section to §5.12 (Customer Portal UI) — e.g. 5.12e BookingFlow slot label formatting (GRO-2213) — covering:
10:00 AM) — never a raw ISO string like2026-06-09T10:00:00.000Z<date> at 10:00 AM, not a raw ISO valueinvalid input syntax for type time500; appointment appears in Upcoming listOnce those test cases are committed to
dev, re-open for review.Code quality itself looks good — shared
formatSlotLabel/slotToTimehelpers are correct, UTC-explicit, test-covered, and wired at all three call sites. CI is all green (Test ✅ Lint & Typecheck ✅ Build & Push ✅). The only blocking item is the missing playbook entry.LGTM — UAT_PLAYBOOK.md updated (§5.12e, TC-WEB-5.12.22/23/24), helpers correct (UTC-pinned formatSlotLabel + slotToTime), all three render sites and submit payload fixed, helper unit tests + BookingFlow integration test present, CI (pull_request) all green.