mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-02 09:22:15 +00:00
fix(mobile): reservation-detail widgets mount on the phone's booking cards
A plugin declaring the reservation-detail slot mounted at the foot of every card in the desktop ReservationsPanel and nowhere else: the phone's transport and booking cards never rendered the slot, so on a phone in portrait the reservation was there and the widget was not, and turning the phone sideways made it appear. ReservationPluginSlots mounts one PluginFrame per widget under each card, scoped to that reservation with surface detail-slot, outside the card's body button and gone in compact mode. Closes #2440
This commit is contained in:
@@ -152,7 +152,8 @@ permissions still requires explicit re-consent).
|
||||
the home for per-day content like outfit planning, live flight status or logistics),
|
||||
or a panel at the foot of a booking card in the **reservation-detail** view
|
||||
(`reservation-detail` slot — receives the open `reservationId`, for things like
|
||||
live check-in status or a seat map). Set the slot in `capabilities.widget.slot`.
|
||||
live check-in status or a seat map; shown on the desktop panel and on the phone's
|
||||
transport and booking cards). Set the slot in `capabilities.widget.slot`.
|
||||
- **trip-page** — adds a tab **inside every trip planner**, so your UI lives in the
|
||||
trip alongside Plan / Transports / Files. The frame is the same sandboxed iframe as
|
||||
a `page`, but it receives the current `tripId` in `trek:context` (so you can scope
|
||||
|
||||
Reference in New Issue
Block a user