Skip to content

v1.4.6 — Recurring conflict preview + 12-appointment cap

Choose a tag to compare

@tom4cam tom4cam released this 02 May 10:10
· 68 commits to main since this release

Recurring bookings now show conflicts before submission

When a client enables "Make this a recurring appointment" on the booking page, the form now displays a live availability preview of every projected appointment.

  • Green box — every occurrence is available, ready to book.
  • Amber box — at least one conflict; lists each date with ✓ / ✗.

The preview re-runs whenever the user changes the slot, frequency, count, or end date. Debounced 250ms with sequence tracking so stale responses don't overwrite fresh ones.

Hard cap of 12 appointments per series

  • Form defaults to 12 occurrences (was 52). Field is min=1 max=12.
  • Server enforces the cap regardless of what's posted.
  • If an end date alone would yield more than 12, generation stops at 12 and the conflict box shows: "Your end date allows more, but recurring bookings are capped at 12 at a time."
  • To go further, clients book another series after the last appointment.

Why

Without the preview, recurring bookings could fail server-side after pre-fill — frustrating UX. With the preview, the client knows up front exactly which dates have conflicts and can adjust before submitting.

Install

WP Admin → Plugins → Add New → Upload Plugin → choose caswell-booking-1.4.6.zip → Replace current with uploaded → Activate.

No DB migration required.