Repository navigation
v1.5.0 — Configurable session lengths + blue shared-calendar events
What's new
Configurable session lengths
Settings → Sessions now offers eight options in 15-minute increments:
15, 30, 45, 60, 75, 90, 105, 120 minutes. Check the ones you want
to offer. The Pricing and Venmo/Square rows in the Business Info and
Venmo tabs auto-follow your enabled set, so you only see fields for
lengths you actually use. Disabling your current default-length
silently falls back to the lowest enabled length. No database
migration; existing 30/60/90 setups keep working unchanged.
Peacock shared-calendar events
Every appointment the plugin writes to the shared Google Calendar now
uses the blue event color (Google Calendar colorId 7) so the
practitioner's bookings stand out from other practitioners' events on
a shared studio calendar. Personal calendar events are unchanged.
Existing events keep whatever color they already have; only events
created from v1.5.0 onward are colored.
Internal
- PHPUnit + Brain Monkey test framework bootstrapped. Pure
session-length helpers live inincludes/session-lengths.php
with unit tests covering the canonical option list,
enabled-list filtering, and default-length resolution. - GitHub Actions runs the PHPUnit suite on every push to
main
and every PR (PHP 8.1 / 8.2 / 8.3).
Upgrade notes
No action required. Settings, bookings, and calendar events are all
preserved.