Bookings 0.1.6: An Edit service link on the public booking page
Bookings 0.1.6 puts an Edit service link on a service’s public booking page (/book/:slug) for the people who may edit it: site-wide booking managers and the service’s owner. Visitors do not see it.
The admin pages get a header trail: Bookings is the landing page, and Services, New service, a service’s Edit page and the settings page hang off it.
The public booking flow is steadier. Moving to another service’s page releases the hold on the old slot and stops listening to the old service. A booking page no longer crashes on a message that is not meant for it, and an unavailable service’s page ignores booking notifications instead of crashing. The Edit link no longer stays on screen after moving to another service.
Upgrading
Bookings 0.1.6 needs phoenix_kit 2.38.0 or later (and below 3.0). Update the dependency; there is no migration.
Full release notes: Bookings 0.1.6
0.1.6 · 13 October 2026
Managers get an “Edit service” shortcut on the public booking page, and the public flow is steadier under navigation and stray messages.
Added
- “Edit service” link on
/book/:slugfor site-wide managers and the service’s owner. It is gated byPolicy.can_manage?/2plus core’sAdminEditHelpercheck (admin area and thebookingskey) and reaches the host layout throughmodule_assigns, so it works on every supported core. (PR #9) - Admin header trail: Bookings is the landing title; Services, New
service,
<service>/ Edit and Settings / Bookings hang off it. (PR #8)
Changed
- Core floor raised to
phoenix_kit >= 2.38.0 and < 3.0.0, which carriesPhoenixKitWeb.ActorandActivity.log/3. - Activity logging reads the actor and logs through core.
Fixed
- The Edit link no longer survives a client patch to another service, or to a missing slug, in the rendered host layout.
- Reloading the booking page for another service releases the old hold and unsubscribes from the old service topic; unavailable pages ignore queued booking notifications and events instead of crashing.
- Booking pages no longer crash on a message that is not for them; dropped messages are logged at debug.
- Three admin tests no longer assume a locale prefix on admin redirects.
Bookings 0.1.6. Install or update: {:phoenix_kit_bookings, "~> 0.1"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.