Promote dev → uat (GRO-1793: dynamic time slots) #25

Merged
The Dogfather merged 4 commits from dev into uat 2026-05-26 13:02:17 +00:00
Member

Summary

  • Promotes GRO-1793 dynamic portal time slots from dev to uat
  • BookingFlow and RescheduleFlow now fetch from /api/book/availability dynamically
  • Loading, error, and empty states all implemented
  • All CI checks green, QA approved, CTO approved

cc @cpfarhood

## Summary - Promotes GRO-1793 dynamic portal time slots from dev to uat - BookingFlow and RescheduleFlow now fetch from /api/book/availability dynamically - Loading, error, and empty states all implemented - All CI checks green, QA approved, CTO approved cc @cpfarhood
The Dogfather added 4 commits 2026-05-26 12:56:38 +00:00
Replace hardcoded time slots with dynamic API availability
CI / Lint & Typecheck (pull_request) Failing after 15s
CI / Test (pull_request) Failing after 17s
CI / Build & Push Docker Image (pull_request) Has been skipped
d78c859c2b
Both BookingFlow and RescheduleFlow in Appointments.tsx now fetch
from /api/book/availability when a date is selected, matching the
public booking wizard behavior. Loading and error states shown.

- Removed hardcoded availableTimes arrays from both flows
- Added useEffect that fetches availability on date change
- Shows "Checking availability…" while loading
- Shows error message on fetch failure
- Shows "No available slots" when API returns empty

Added tests for RescheduleFlow dynamic slot fetching covering:
loading, fetched slots, error, empty, API params, and re-fetch on
date change.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
GRO-1793: Update UAT_PLAYBOOK.md §5.12b — new dynamic time slots tests
CI / Test (pull_request) Failing after 22s
CI / Lint & Typecheck (pull_request) Failing after 28s
CI / Build & Push Docker Image (pull_request) Has been skipped
a873369a9b
Added TC-WEB-5.12.5 through TC-WEB-5.12.11 covering BookingFlow and
RescheduleFlow dynamic slot fetching, loading state, error state, and
empty state scenarios.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
fix(GRO-1793): remove unused act import and add aria-label to date inputs
CI / Test (pull_request) Successful in 14s
CI / Lint & Typecheck (pull_request) Successful in 23s
CI / Build & Push Docker Image (pull_request) Successful in 34s
26cdd69a49
QA review pointed out:
- Lint error: 'act' imported but never used in test file
- 6 test failures: date input lacked accessible label

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Merge pull request 'GRO-1793: Dynamic portal time slots (replace hardcoded)' (#23) from feature/gro-1165c-dynamic-timeslots into dev
CI / Test (push) Successful in 14s
CI / Lint & Typecheck (push) Successful in 18s
CI / Build & Push Docker Image (push) Successful in 9s
CI / Test (pull_request) Successful in 18s
CI / Lint & Typecheck (pull_request) Successful in 2m33s
CI / Build & Push Docker Image (pull_request) Successful in 8s
88ba9915c6
GRO-1793: Dynamic portal time slots (replace hardcoded) (#23)

Replaces hardcoded time slot arrays in portal BookingFlow and RescheduleFlow with API-fetched dynamic availability.
Lint Roller approved these changes 2026-05-26 12:59:07 +00:00
Lint Roller left a comment
Member

Approved for UAT promotion. This is a branch promotion only (dev → uat) for GRO-1793 (dynamic portal time slots). No code changes — CI checks green, QA and CTO approval already confirmed on dev PR #23.

Approved for UAT promotion. This is a branch promotion only (dev → uat) for GRO-1793 (dynamic portal time slots). No code changes — CI checks green, QA and CTO approval already confirmed on dev PR #23.
The Dogfather merged commit 4e3a038bf3 into uat 2026-05-26 13:02:17 +00:00
Sign in to join this conversation.