#Booking Elements
Each ## [X.Y.Z] maps to a pushed booking-vX.Y.Z tag. Pre-1.0 a MINOR may break and carries a
"Downstream migration" note with each consumer's steps and the rollback (the previous exact pin).
#[0.5.0] - 2026-10-29
Fixed
- 3-1028-1157-8783 (MINOR) The card form survives a turn of the phone.
PayCheckoutdrew Stripe's form in a different place on the computer (side) and the phone (stack), so any flip across 768px (a phone turned to landscape at 844px, a window resized) destroyed and remade it: the guest saw "Opening the secure card form" again, lost what they typed, and each flip spent 1 to 2 of the 6 GBF-30 calls a booking page may make, so a few flips ended in a 429 and "The card form did not open".PayCheckoutis now one tree: the form's div (keyform) stays put and only the parts around it change; same markup as before. New/corekeepSessions()(withSESSION_SPARE_MS, a minute): the page's in-memory sessions by key, so a form drawn again mounts Stripe on the open session (one GBF-30 call while it lasts; a refused call, a session within a minute of its end, ordrop(key)opens anew).GuestBookingFlow's Pay keeps its sessions by way and booking and drops one when its form did not open, so Try again still asks for a new one;guest_payment_startedis told once per session. Downstream migration: nothing to change forGuestBookingFlow; a site drawing its ownStripeCheckoutmay wrap itsopenSessioninkeepSessions().open(key, start, Date.now()). Rollback: the previous exact pin. Tests intests/booking-elements-react-pay.test.mjs(a react-dom/client run ontests/helpers/fake-dom.mjs). - QA 2026-10-28 G6:
SizeChartdraws a band to the end of its last cm (heights are whole cm, both ends in), so two sizes next to each other meet on the track: Any that fits on Evolve (S 163 to 172, M 173 to 179, L from 180) showed a gap at each step. The bands' numbers and the fit are unchanged. Downstream migration: nothing to change. Test intests/booking-elements-bikes.test.mjs. - QA 2026-10-27 G7:
WhenSteptakestourOnly(the flow passes it for a trip with a tour and no rental): the sub asks for the tour's day (when_sub_tour,when_sub_tour_more), and the halves with the shop's rental hours, the days line, the Your days panel and sheet are not drawn.TourSteptakesincluded(drawn under the title,.og-tour-included, both widths); the flow passestour_included_ownortour_included_rent. New words in en, it, de, fr. - QA 2026-10-27 G4: a price per bike and per tour before Plan.
/hookspricesQueryanduseDayPrices(firstDay)(W7-21, one day from the trip's first day, 5 minutes stale time);BikesStepandbikesFromGrouptakedayPrices(a site'slooksprice still wins, Any that fits is "from" the lowest); the flow wires it on Bikes only./nextROUTE_OPERATIONSservesprices(no credential, on by default). The tour card's price line is no longer hidden on a phone. - QA 2026-10-27 guest minor:
StepperBandnumbers only the steps the guest goes through. A skipped step keeps its computer column without a number and has no phone bar; the phone's "n of m" counts seen steps only. - QA 27 Oct G8 and the sold out minor. A bike's card moves only the riders it fits. While the group rides one bike, a tap on another bike moved everyone, a 140 cm kid onto an adult e-bike, who then blocked Next.
bikesPickEvents(assign, id, models, riders)moves only the riders the bike has a size for (no height, or a bike with no fit ranges: they move); nobody it fits, nobody moves. When a size is gone, Next names only the riders on the bike it brings into view (outOnBike), not a rider on another bike. Downstream migration: callers ofbikesPickEventspass the step's models and riders to get the new rule; with two arguments it behaves as before. Tests intests/booking-elements-bikes.test.mjs. - QA 27 Oct G6 One size chart with no gaps. Any that fits showed the bands its models share (Evolve: S 163 to 170, M 175 to 178), so a 172 cm rider sat on no size on the chart and the fit put them on one by another rule. New
/corewithoutGaps: a gap between two sizes is split at its middle (S to 172, M from 173), overlaps stay.anyBikeRanges,chartRangesOfand a model's catalog fit (fitOfProduct) close their gaps, andplaceAnyBikeSizesbooks the size the Any chart shows for the height (on the model whose band holds it first). Downstream migration: nothing to change; a height in a former gap now gets the chart's size. Tests intests/booking-elements-bikes.test.mjs. - QA 27 Oct: below 1024px the flow frame is at least a screen tall and the step foot (
.og-flow-frame > .og-foot) sticks to the bottom, with the safe area; Plan's bar ends the page with no gap under it. - QA 27 Oct G10:
GuestBookingFlowbrings back what the guest typed after a reload or a remount:kept.tsdraftOf,withDraft,useKeptDraft(page memory, thenhistory.statekeyogFlowDraftwritten onpagehide; never browser storage; never the password, promo, terms tick or anything paid),keptState(raw, draft, shop).withPage(router): while the availability read is on its way the address's step stands.PlanStepopenWho(additive): opens on who books it when the trip came back with it typed.
Added
- 3-1029-1649-f45e (MINOR) The riding atlas's Book link (job H1c, outdoor-grid-api
docs/destination-guides.md5.1, 5.3).BOOKING_SOURCESgainsatlas. New/corelinkSizesandhandoffFromQuery:prefillFromQueryreadssizes=M,L(one size per rider in rider order, an empty entry is none, at most 20 of 1 to 20 characters) intoFlowPrefill.sizes, andhandoffFromQueryreadshandoff(43 to 128 base64url characters); anything that does not read is dropped quietly.LINK_PREFILL_KEYSgainssizesandhandoff, so the guest's first move takes both out of the address.doorFromQuery: days, a count and a size for every rider (sizesForAll) is a rent door, also with noset.GuestBookingFlowtakes a newhandoffprop, keeps it on the trip (GroupState.handoff, memory and the tab's draft only, never the kept picks) and books withatlas_handoffwhensourceisatlas(groupBookingOfoptionatlasHandoff). Such a link opens on Bikes past Who, each rider's size picked when the product has an option of that label free on every day (prefillSizesOf); Book on Plan opens Who first, once, when a name or a renter's height is missing (whoLeftOf, wordswho_before_pay). Plan from the atlas lists what goes to the shop (PlanStep/PlanBoardsharedWith, partplan-shared, wordsplan_shared_*in en, it, de, fr). The generated types follow the contract on dev (W7-08atlas_handoff,sourceatlas; the guest code schemas are nowfeatures__shop_site__flow_contracts__CodeSendand__CodeCheck). Downstream migration: additive; a shop's own site (evolvefinale.com, job H2) passessource={sourceFromQuery(query)}andhandoff={handoffFromQuery(query)}toGuestBookingFlow. Rollback: the previous exact pin. Tests intests/booking-elements-link.test.mjs,tests/booking-flow-prefill.test.mjs,tests/booking-flow-group-request.test.mjs,tests/booking-flow-react-group.test.mjs,tests/booking-flow-guest-flow.test.mjs. - 2-1027-2217-ced0
google_ttdis a booking source (distribution J13).BOOKING_SOURCESis["chatgpt", "google_ttd"]: a link withsrc=google_ttd(Google Things to Do's deep links) books withsource: "google_ttd", which the API keeps as the booking'scame_from. Downstream migration: nothing to change, additive. - 2-1027-2009-aa01
relayFlowEvents, anonEventthat sends the guest's events to Outdoor Grid (PostHog plan 2026-10-26, job 6). New/corerelay.ts:relayFlowEvents({ url, fetch?, beacon?, delayMs?, setTimer?, clearTimer?, listen? })returns aGuestEventSinkthat keeps events in memory and posts them as{"events":[...]}(text/plain,keepalive,credentials: "omit", no preflight) 2 s after the first, at once at 20, and throughnavigator.sendBeacononguest_flow_abandonedor when the page is hidden or closed (the listener is added on the first event, browser only). Batches never pass 20 events or 16 KB (relayBodies,RELAY_MAX_EVENTS,RELAY_MAX_BYTES);guest_booking_paidis never sent (the server tells it). It never throws, retries, logs or stores, and sets no cookie. The hosted flow now passes it toGuestBookingFlow. Downstream migration: additive; evolvefinale.com passesonEvent={relayFlowEvents({ url: "https://api.outdoorgrid.ai/v1/public/shops/<their slug>/flow-events" })}toGuestBookingFlow. - 2-1027-2009-aa01
guest_step_viewedleavesstep_indexout for a page outside the flow's order instead of sending -1, which the API's relay refuses. Downstream migration: nothing to change. - 2-1027-2009-be38
BookingFlow(the single flow) tells the same events throughonEvent. Steps viewed and completed (BOOKING_STEPS, with the kind, party and days buckets), a Next or Book that waits (guest_step_blocked:incompletefor the site's own problem, never its words; the quote's code when the shop refuses), a refused booking and leaving before booking. New optional propsonEventandhostKind. Downstream migration: nothing to change, additive. - 2-1027-2009-be38
GuestBookingFlowtells the site's analytics through a newonEvent(PostHog plan 2026-10-26, job 5). Each step viewed and completed (from the root's ref callback, so a page per step or a second render tells nothing twice), a Next that waits (guest_step_blockedwith the step's problem code), Pay opening (guest_payment_started, the amount as a band) and the card form not opening (guest_payment_form_failed), a refused booking (guest_booking_refusedwithbookFailureCode) and leaving the tab before Booked (guest_flow_abandoned, onpagehide). New optional propsonEventandhostKind(left out, read from the address),PayPageonPayStartandonFormFailed,StripeCheckoutonFailed. Nothing a guest typed is ever in an event. Downstream migration: nothing to change; a site that wants the funnel passesonEventto its relay (evolvefinale.com: one prop). - 2-1027-2009-be38 The guest flow's events, pure (PostHog plan 2026-10-26, job 5). New
/coreevents.ts:pageViewedandflowLeftover an in-memoryFlowTrack(a random flow id per tab, never stored) makeguest_flow_opened,guest_step_viewed,guest_step_completed(seconds on the step, party and days buckets, the kind picked) andguest_flow_abandoned;stepBlocked,paymentStarted(a money band, never the amount),paymentFormFailedandbookingRefusedmake the rest;deliverlays the base on (shop_slug,flow,host_kindfromhostKindOf,locale) and scrubs every event against the contract before the host hears it;flowEventskeeps one flow per shop across a page per step. The contract gainsshop_slugon every guest event (the public site read names the shop by its slug) andkindonguest_step_completed./reactbookFailureCodenames a refused booking as one code. Downstream migration: nothing to change, additive. - 2-1027-1148-6ec9 The guest analytics contract (PostHog plan 2026-10-26, job 1). New
/coreanalytics.ts:GUEST_EVENTSandGUEST_BASE(each guest booking event and the properties it may carry, steps fromFLOW_STEPSandBOOKING_STEPS), the value kinds (PropKind,PropsOf),scrubPropsandscrubGuestEvent(only listed properties whose values fit; a code never holds spaces,@or a long digit run) andisPiiShapedKey. Nothing is emitted yet;onEventcomes in a later job. Downstream migration: nothing to change, additive.
Fixed
-
QA-1027 B4:
GuestBookingFlowbooks nothing when paying online is the shop's only way and Stripe cannot open (flowWaysOf(...).phoneOnly, now also after a 409payment_choice_unavailableon booking): Pay gives the shop's phone instead of holding the gear 15 minutes for a payment nobody can take. -
QA-1027 G10 follow-up (Codex round 1): the reload draft written into the page's history entry keeps no name, email, phone or who books (
withoutContact): only the riders' measures and levels by place. Names and contacts stay in the page's memory and are lost on a reload. Tests:tests/booking-flow-react-group.test.mjs. -
QA-1027 G1 follow-up (Codex round 1):
ChoiceCardnever shows a broken image: a photo that fails to load (a 404, or a path on the shop's own site this host does not serve, as Evolve's kind stills on the hosted page) falls back to the card's media or icon ground, also when it failed before hydration. Tests:tests/guest-qa-1027-static-miss.test.mjs. -
QA-1027 G4 follow-up (Codex round 2): the Bikes step's prices are the one-day price (W7-21
days: [1]), now always said as a day price on the model rail and the bike view: "€90 a day", "from €70 a day" for Any that fits (newbikes_from_a_dayin en, it, de, fr), never a bare amount on a longer trip. Tests:tests/guest-qa-1027.test.mjs. -
QA-1027 G10 follow-up (Codex round 2): what the guest typed (names, measures, levels, the lead's contact, who books) is kept in this tab's sessionStorage (key
og-flow-draft:plus the shop,kept.tskeepDraft/readDraft), written with the picks by the event handler, read through useSyncExternalStore; it lasts 30 minutes from the last change, goes when the trip is booked and with the tab, and is never in the history entry. A reload keeps names and contacts again. Tests:tests/booking-flow-react-group.test.mjs;tests/source-policy.test.mjsallows the one store.
#[0.4.12] - 2026-10-24
Added
- 4-1024-0147-1ecd The confirmed page's Your bike card can show the shop's own photo of the model (evolvefinale.com, OG-1131: a Pivot Firebird showed the glyph, Oliver asked for a picture of the bike). New optional
FlowLooks.booked.bikes(per bike product id, the booking read'sViewLine.product.id, aFlowPhoto) andBookedTrippropbikePhotos: the host's photo is drawn instead of the read'sproduct.image; left out, the read's image, else the ODG gear glyph as before. Downstream migration: nothing to change; a host that wants its own bike photos passeslooks.booked.bikes.
Changed
- 4-1024-0114-eef0 The guest flow follows what the shop rents (QA night 24 Oct, S-04, S-14, S-15). The API now names each product's and extra's gear (W7-06
products[].gear,extras[].gear:bike,skiorother). New/coregear.tsreads it:rentedGearOf,wordsGearOf,productsForGear,extraFits,siteLeadGearOf,termsOf. A shop that rents skis and bikes gets a What card for each,rent-skiandrent-bike(FlowShop.activities[].gear), in the order its home page shows them. The Bikes step shows the gear the trip picked. The words follow the trip's gear: a ski trip reads "Rent skis", "Skis", "Next: your skis" and skiing levels; a trip of skis and bikes together reads plain words. New/reactwords/gear.ts(GEAR_WORDS,gearWordList,withGearWords) holds these words, and the host's ownwordsstill win key by key. NewuseGearLook,LookOverrideandwordsOfLookinlook.tsx. Kit offers only the extras that fit the gear the trip rents (no ski locker with a bike), and keeps an extra the trip already took. A plainrentpick, from a website link or a kept trip, lands on the card of its gear. The Any card's heading reads "Who gets any bike in their size?" (bikes_who_any), never "Who rides the Any that fits?". Downstream migration: nothing to change. A read with nogear, such as an older API, keeps one rent card and the bike words. A bike shop reads exactly as before (evolvefinale.com). A host that passeslooks.activitieskeeps its own cards. - 4-1024-0114-eef0 The optional account starts unticked (S-05).
initialGroup().passwordis now null, so "Make an account with this email" is off until the guest ticks it, and a new trip never waits on a password. Downstream migration: none. A host that relied on the tick being on from the start now sees it off. - 4-1024-0114-eef0 The shop did not answer: the shop's bar stays, the trip is kept (S-07). When the site read fails (a 503, the network), the host's
barnow stays around the error. The error reads "We could not reach the shop. Your trip is kept. Try again in a moment. Nothing was booked.", and Try again waits while it reads again.
Added
- 4-1024-0114-eef0 The rental terms open in a sheet (S-17). On Plan, "rental terms" opens the new
TermsSheet(exported from/react). The sheet shows the shop's own cancelling terms (W7-05booking.terms.cancellation, read withtermsOf) and how this page takes payment (termsPayOf). A shop with no terms online gets a line to ask them, with its phone. It opens when the host gives notermsHref. Also new:PlanSteprentalTermsandWhoBooksFormonTermsOpen, both additive, and new wordsterms_*in en, it, de and fr.
#[0.4.11] - 2026-10-24
Changed
- 4-1023-2252-6b5e The confirmed page's first pick up shows the shop icon tile, not a stand in photo (design 28, Oliver 23 Oct).
BookedTripdraws a photo there only when the shop uploaded one for that place: the booking read'spickup.photo_url, else the site's place of the same name (PublicSitePlace.photo_url), never for a meeting point from the shop's place. Without one the card opens on a 52px tile in the brand's soft accent (--og-freeover--og-bg-2, so it follows the theme, light and dark) with a storefront icon (a map pin for a meeting point), the place's name and "where your trip starts" (confirmed_starts, en, it, de, fr). Theplaceprop andFlowLooks.booked.placeare deprecated and no longer drawn: a photo the host hands in is not the shop's own photo of that place. Newstoreicon. Downstream migration: nothing to change; a host that passedbooked.place(a stock or workshop photo) now gets the tile, drop the prop when convenient.
#[0.4.10] - 2026-10-23
Fixed
- Pay could sit on "Opening the secure card form" for ever (evolvefinale.com, 23 Oct).
mountCheckoutwaited with no limit on the payment session, Stripe.js and Stripe's own start, so one that never answered left the guest on the still bar. Now a card form not in the page within 10 s (CHECKOUT_OPEN_MS,timeoutMsonStripeCheckoutandmountCheckout) stops that run and shows "The card form did not open" with Try again (a new session); a form Stripe makes after that is destroyed, never mounted. - A 100% deposit read as a deposit. A shop whose deposit is the whole trip (
booking.deposit_percent100, or a quote whose deposit covers the total) no longer offers "A deposit now, the rest at the shop, 100%" beside "All of it now": the deposit way goes when the shop also takes all now (waysWithoutWholeDeposit,depositIsAllin/core), so Pay opens on all now, and PayCheckout titles a deposit with nothing left at pick up "Pay for your trip", not "Pay the deposit".
Added
- 3-1023-1654-482e The booking read names what the confirmed page draws (BC1, contract).
PublicBookingViewgainspayments(method, amount, date, deposit) and eachViewLinegainsunit_minor,units,unit,product(ViewProduct: image, glyph, model, e-bike, facts) anddepartures(ViewDeparture: day, start, end,ViewMeeting). All optional: an older API answers without them. - 3-1023-1654-482e
FlowLooks.booked(FlowBookedLook:hero,place): the shop's own photos for the confirmed page, additive. - 3-1023-1654-482e The confirmed page after paying (design 28, approved 23 Oct). The flow's Booked page now shows the new
BookedTrip(react/finish) for a booked booking. A request or a line still asked of the shop keepsBooked. The page has a hero with the shop's photo (FlowLooks.booked.hero, else the site's hero photo, else the brand's band), the paid badge, the reference and "See you Monday". It has one primary, Open my trip, plus Add to calendar. Then come the summary cards, the week as a timeline (a day list on a phone), the bike with its studio photo or ODG gear glyph and its kit and pedals, and who is riding with Add height and weight and Send the form. Send the form brings the guest to the share card. What you booked lists unit prices. The side column has the first pick up, the payment with its method and day, the share slot, and change, cancel and questions. New/corebooked.tsprovidesbookedSummary,bookedWeek,bookedDayList,bookedBikes,bookedRiders,bookedLines,bookedMoney,kitGlyphOf,siteHeroPhoto,bookedIcs(the calendar file) andbookedReceipt(a printable receipt). Both files are built in their click handlers. The BC1 fields are optional, and each block draws less without them. Other changes: the band is off on Booked; the page runs edge to edge from 1024px;ShareTriphas a newsend="outline"; there is acredit-cardicon; the new wordsconfirmed_*come in en, it, de and fr; the newflow-booked.css. Tests:tests/booking-elements-booked-trip.test.mjs. - 3-1023-1654-482e The confirmed page's What you booked lists the kit that comes included as one row naming every piece ("Helmet, chest and back protection and knee and elbow pads", included), with no "1 at €0".
- 3-1023-1654-482e Review fixes to the confirmed page:
- A one day rental shows both its pick up and its return on the phone.
- A newer paid amount from GBF-31 that the listed payments do not reach adds one plain Paid row, on the page and in the receipt.
- A meeting point's Directions never fall back to the shop's place.
- A US or Canadian shop's ranges read both ends the same way ("Mon, Nov 2 to Fri, Nov 6").
- Badges stay on one line. The phone's summary cards line up, with the label under the icon.
- The shop's terms keep "pick up" and their last two words together, and so do our own "pick up" lines (new
keepLastWords, new wordconfirmed_chip_dayin en, it, de and fr).
#[0.4.9] - 2026-10-23
Fixed
- A booker with a one-word name could not book (evolvefinale.com, 23 Oct). Who books it takes one name and splits it into first and last, so "Oliver" sent
first_name: "Oliver", last_name: null. The API takes eithernameor both halves, so it answered 422 and the page showed "Not booked yet". The account and the password had nothing to do with it. New coreleadNameOfsends first and last name when both are given, and otherwise the one given asname.groupBookingOfandsiteBookingOfboth use it, so the single-trip flow with a blank last name is fixed too. Tests:tests/booking-elements-request.test.mjs,tests/booking-flow-group-request.test.mjs.
Changed
- The phone's country is a search (evolvefinale.com, 23 Oct). In
PhoneFieldthe browser's own long select is replaced by a button with the flag and calling code. The button opens a search above a list of countries:- Matching: type a country's name in the guest's language or in English ("brasile", "Brazil"; accents and case aside), its two letters ("it", "ch"), what guests call it ("UK", "USA") or its calling code ("39", "+39", "0039"). A calling code lists the country it reads as first (+1 the US, +44 the UK).
- Keys: the arrows move the highlight and keep it in view, and Enter picks. Escape clears the search, and a second Escape closes back to the button. A tap outside, Tab or a click on the number closes it; putting a phone's keyboard away keeps it open.
- Accessibility: the search is a
comboboxwith alistboxofoptions. - API: new core
phoneCountrySearchandPhoneCountryEntry. New wordsplan_country_searchandplan_country_nonein en, it, de and fr. The country is still sent with the form as a hiddentel-country. - Tests:
tests/booking-elements-plan.test.mjs,tests/booking-elements-react-plan.test.mjs.
#[0.4.8] - 2026-10-23
Changed
- Who books it: the phone has its country, the account is ticked from the start, and Pay puts the trip beside the choice (evolvefinale.com, 23 Oct).
- Phone: new
PhoneField(react/plan): the browser's own country select, drawn as the flag and calling code in front of the number. It starts on the region of the browser's first language, then the shop's country (site.shop.country_code, newcountryprop onPlanStep,WhoBooks,WhoBooksFormandPhoneField; "en-US" gives way to a shop outside the US). A code typed or pasted with "+" or "00" picks its country and keeps it while the rest is typed. The field keeps "+39 340 326 0080". The booking'slead.phonegoes as E.164 (+393403260080) fromgroupBookingOfandleadOf, with the trunk prefix dropped where the country drops it (0; 06 for +36; 1 for +1, 8 for +7 and 80 for +375 only when the number is too long without dropping it, so St Petersburg's 812 stays; kept for +39, +378, +225, +242). New corephone.tsprovidesPHONE_COUNTRIES,phoneParts,phoneValue,phoneTyped,phoneDial,phoneProblem,phoneE164,phoneCountryOf,flagOf,regionOfanddialOf. A waiting Book brings the focus to the control marked wrong (the number, not the country select before it). A number with no "+" (an older trip) is still checked and sent as before.plan_err_phoneandstitch_problem_phonenow read "Check the number for this country", and there is a new wordplan_country, both in en, it, de and fr. - Email: the field no longer starts with a capital or autocorrects on a phone (
FieldtakesautoCapitalizeandspellCheck). A browser's autofill no longer paints its blue box over the fields; it keeps the field's ground and text colours. - Account: "Make an account with this email" is ticked from the start, with its password asked, so the guest can see the booking later (
initialGroup().passwordis"";nullis unticked). Before, ticking the box sent an empty password, which the state read as "no account", so the box unticked itself. A signed in guest gets no account box (PlanStep accountsis off for them) and their booking sends no account. The trip kept in the browser is cleared once Booked shows the booking. - Pay: on a computer, Pay's "How do you want to pay?" now sits on the left with the trip card (lines, Total, Today, Pay) on the right, sticky, as every step's aside. Before, both were stacked in one column.
- Tests:
tests/booking-elements-plan.test.mjs,tests/booking-elements-react-plan.test.mjs,tests/booking-flow-react-plan.test.mjs,tests/booking-flow-group-state.test.mjs,tests/booking-flow-group-request.test.mjs,tests/booking-flow-next-waits.test.mjs.
- Phone: new
#[0.4.7] - 2026-10-23
Fixed
- A tour a day, every bike the same size, and the tour named first (evolvefinale.com, 23 Oct). The Tour step was one choice for the whole trip: picking a tour on Tuesday took Monday's out, so the summary and the price counted one tour. A pick now replaces only the tours on its day:
tourEventsOf(state, choice, tours, zone, day?)takes the day shown (a seat with no date is placed by its departure's day, and one whose departure the read no longer lists goes with any pick), with no day it clears every day as before (leaveTourEvents, prefill). NewtourChoicesOf(state)lists every seat, guide pick and request;tourChoiceOf(state, day?)takes a day.TourSteptakeselsewhere(the tours on the other days) and callsonChange(choice, day); its rail marks a day with a tour ("your tour", ringed), Next is ready with a tour on any day once every day's tour fits (else Next opens the day that needs a way on), and the summary says "Tours on Mon 20 and Tue 21" (newtourDaysSummary, wordstour_day_picked,tour_sum_daysin en, it, de, fr).GuestBookingFlowkeeps the day shown and books every day's tour. Each seat is still onetour_seatline for the whole group (riders: null). The plan bar names the tour before the bike ("Classic + Firebird, M"), so a long bike name no longer hides it, and changing a tour day from Plan starts with everyone on that tour, not only the rider tapped (changeFor, now given the tapped part of the day byPlanStep). The Bikes stage gives the bike a box of the row's height (at most 560 px) centred in the stage, so a long parts list grows the ground, not the bike. Teststests/booking-flow-wire.test.mjs,tests/booking-elements-react-tour.test.mjs,tests/booking-elements-plan.test.mjs,tests/booking-elements-react-plan.test.mjs,tests/booking-flow-react-plan.test.mjs.
#[0.4.6] - 2026-10-22
Changed
- 3-1022-2033-bccc Guest booking says why a booking is refused for too many today (prod smoke after v0.19.57, bug 6): a 429
too_many_bookingsanswer reads "This email already started several bookings today. Contact the shop." (en, it, de, fr) with the shop's phone, not "Not booked yet ... Try again" (flow/bookFailure.ts, bothBookingFlowandGuestBookingFlow). Needs a Booking Elements release before evolvefinale.com shows it. Tests:tests/booking-elements-book-limit.test.mjs.
#[0.4.5] - 2026-10-22
Changed
- The default primary is Outdoor Grid's spruce (
DEFAULT_THEME.accent#1c6a45,accent-edge#124a30,on-accent#ffffff, and the same@propertyinitial values intheme-defaults.css), not yellow. A shop's own colours still win; a site that sets none now draws green buttons.
Fixed
- A kept trip's refusal waits for When (evolvefinale.com, 22 Oct). A trip kept in the browser (
og-flow:<shop>) is priced on reload; when its bike had been taken since,GuestBookingFlowopened on What with "Your bike is not free. 1 bike is not free on Fri 23 and Sat 24." above "What are we doing?", before the guest had seen any days (and a cache clear keepslocalStorage). Running short and the refused days' Status (too soon,closed, ...) now show only from When on (new puretripRefusalShownOn(page)inreact/group/flow/wire.ts); on What and Who a refused trip shows nothing, never "We could not price the trip". With nothing free the first way says what it does: "Put your bike on the waitlist" / "Put all {n} {items} on the waitlist" (newshort_ask_none_one;short_ask_nonetakes{n}), was "Book the rest now", in en, it, de, fr. Teststests/booking-flow-guest-flow.test.mjs,tests/booking-flow-wire.test.mjs,tests/booking-elements-react-short.test.mjs. - A day-only tour link picks the tour.
prefillLandingandprefillOftake the door in their reads (PrefillReads.door): a tour door with adateand nodepartureId(the ChatGPT app'stour+day) takes the tour's one departure that day with a place for everyone as the seat (astourEventsOfbooks a pick), else returnstour: AskedTour(severalornone, with the tour's name).TourSteptakesasked({ tourId, day }) andonOthers: on that day the asked tour shows alone as "Your tour", the guide pick hides, and the foot says "Pick a time for {tour}";TourCardtakesasked.GuestBookingFlowwires both and names the tour in the note when none fits (a tour the day's read does not list is named from one availability read of the weeks around the day, asked only in that case). New wordstour_sum_asked,tour_others,tour_asked_none(en, it, de, fr). Teststests/booking-flow-prefill.test.mjs,tests/booking-elements-react-tour.test.mjs,tests/booking-flow-guest-flow.test.mjs. - A site with no kinds of ride still rents (QA-K lane H).
flowActivitiesOfoffered the Rent card only when the site read publishedbooking.kinds; a shop that never published its website (the default config has none) showed only its tours. It now also offers renting when the availability read lists a product that is not kit. Testtests/booking-flow-wire.test.mjs. - A website's Book link keeps the picked bike or ski (QA-K lane H).
item=<id>was read only as "open on renting", so the guest had to find the thing again.linkSets(/corelink.ts) now takesitemas one more set of 1 markedquiet(after thesets, at mostMAX_RIDERSsets; asetnaming the same id wins;peopledoes not multiply it), andLINK_PREFILL_KEYSgainsitemso the guest's first move takes it out of the address.FlowPrefill.setsentries take an optionalquiet.prefillOf(react/group/flow/prefill.ts) leaves a quiet set the shop does not rent (a lesson, a service, a tour, unknown), or one with no read, out without the "left out" line; a rented one is checked like any set. Anitemalone (quietPrefill) keeps the guest's kept trip: laid on it when rented (prefillLandinganswersapplied), else the kept trip stays. Additive. Teststests/booking-elements-link.test.mjs,tests/booking-flow-prefill.test.mjs,tests/guest-flow-site.test.mjs. - A tour's day without a departure stays in the trip.
reduceGroup'sdoorevent puts a tour door'sdatein the trip whether or not it names a departure (before, only with one): no trip yet, the day is the trip; outside the link's days the trip widens to hold it (at mostPREFILL_MAX_DAYS, else the day is the trip). A replay without the link's prefill on a trip the guest already has leaves it alone. Evolve's /book can drop its own widening (flowLink.tstripWith). Testtests/booking-flow-prefill.test.mjs.
Changed
- QA-K (lane A5): the When step showed the shop's usual half-day times on every day, so a Sunday open only 09:00 to 12:30 read "Morning 8:30 to 12:30" and a whole Sunday "8:30 to 18:30".
freeByDaynow keeps a W7-20 or W7-06 day's ownhours(WhenDayFree.hours, new typeDayHours; left out when it does not read), andhalfState,wholeDayandtodayOpentake that day's times before the shop's halves (newdayHalves); the products' fallback days (productDaysOf, when the kinds read answers none) keep them, and today's whole day says its pick up from the day's own opening (whenSummary). Additive: a read withouthoursbehaves as before.
#[0.4.4] - 2026-10-22
Added
- Guest passkeys (4-1022-0856-ac17, API GP-01 to GP-07). Seven opt in operations,
passkey-sign-in-options,passkey-sign-in,passkeys,passkey-options,passkey-add,passkey-rename,passkey-remove(PASSKEY_SITE_OPERATIONS, wire shapes by hand incore/passkeys.ts), and the browser half with no dependency:isPasskeySupported,getPasskey,createPasskey,abortPasskey, base64url, the options from JSON (the browser's parsers when present, else by hand), the credential to JSON,passkeyProblem(cancelled,notSupported,alreadyAdded,noPasskey,generic). The route (next/flow.ts,PASSKEY_ROUTE_OPERATIONS, never inDEFAULT_ROUTE_OPERATIONS) sends the page origin it accepted asX-Guest-Originon these only (a bare https origin, or http on localhost, else 403),passkey-sign-insets the session cookie likecode-check, the others send it asX-Guest-Session, a 404 drops it only onsession_unavailable, a 400unknown_originanswers 503./hooks:usePasskeyCalls,usePasskeySupported,usePasskeys,useRenamePasskey,useRemovePasskey.GuestBookingFlowtakespasskeys(default off): "Sign in with a passkey" in the sign in sheet, a neutral button where the browser can, and after a code or password sign in the offer "Add a passkey" / "Not now", the dismissal kept 30 days inlocalStorage(og-booking-passkey-later, an end time only). Words in en, it, de, fr. Additive. Tests intests/booking-elements-passkeys.test.mjs,tests/booking-elements-route.test.mjs. - The shop's country decides how money and dates read (3-1022-0831-316e, A2 North America). New
/coreformat.ts(intlTag(locale, country): English reads en-US for a US shop, en-CA for a Canadian one, else en-GB; money in the shop's currency); the flow's words carry the shop'scountryfrom the site read (PublicSiteShop.country_code, added toopenapi/public.jsonand the generated types), so a US shop's guest sees $, month first days and a 12 hour clock. Without a country everything reads as before. Additive. - The deep link's reader in
/core(job 2-1022-1003-0940, Evolve /book).doorFromQuery,prefillFromQuery,sourceFromQuery,linkDays,linkSets,withoutPrefillandLINK_PREFILL_KEYS(src/core/link.ts) read the one guest booking link (docs/guest-booking-link.md) into the flow's door with its prefill and the booking'ssource, from Next'ssearchParamsor aURLSearchParams. Moved here from the hosted page (features/guest-flow-site/model.tsnow re-exports them, same behaviour), so a shop's own site on Booking Elements (Evolve's /book) reads a ChatGPT link exactly as the hosted flow does. Additive. Testtests/booking-elements-link.test.mjs. - Where the guest came from (3-1022-0416-028e).
GuestBookingFlowandBookingFlowtake an optionalsourceprop (BookingSource, today only"chatgpt";BOOKING_SOURCES), andgroupBookingOf/siteBookingOftakesourcein their options and put it on the W7-08 body only when set, so a booking without it sends the same body as before.openapi/public.jsonand the generated types gainSiteBookingCreate.source. Additive. - W7-21 prices (QA-P3). The site operation
prices({ first_day, days: [1 to 3 lengths] }, answerSitePrices: per length, product id to the price of one) callsGET /v1/public/sites/{slug}/prices, a read that books nothing.SitePricesis written by hand until the API contract is regenerated. - A link's prefill (3-1022-0256-3fec, outdoor-grid-frontend
docs/guest-booking-link.md).FlowDoor(every kind) takes an optionalprefill: FlowPrefill(first,last,people,sets: {id, qty}[]); thedoorevent gives the trip the count, then the days (a tour'sdateoutside them widens the trip, at most 28 days in all, else the tour's day is the trip and the note says the link's days were left out) (prefillTrip,prefillPeople,PREFILL_MAX_DAYS28 in/core). On a fresh link at the flow's start only (a reload or a shared step keeps the kept picks and replays the door without its prefill; a link in the fragment wins),GuestBookingFlowwaits for the shop's reads (a loading state), then checks the sets (a product, or a kind's products in turn, each as far as it has room on every day of the trip; a failed read leaves them out, said) and the door's tour seat (listed, with a place for everyone), and opens on the furthest step the prefill fills, never Pay (What, Who when the count is missing or someone rents, When, Tour, Bikes, Kit when Next would wait, else Plan); the address follows on the guest's first change. Anything left out says so in one line (stitch_link_dropped, en, it, de, fr). The lines above a step (this one, days that passed, running short) now sit in one part,flow-notes, apart from each other and from the step's title (they touched before). PureprefillOf,prefillLandingOf,prefillLanding,freeOnTrip,doorPrefillinreact/group/flow/prefill.ts. Additive: a door without a prefill opens as before. Teststests/booking-flow-prefill.test.mjs,tests/booking-flow-guest-flow.test.mjs.
Changed
- QA-K (lane A4): the made up Firnfink look's fix colour (
FIRNFINK_FLOW_TOKENS.warninreact/group/theme.ts) was amber#875a00, which reads as the primary's yellow; it is burnt orange#9a4a1c(still at least 4.5:1 on its grounds). Only the demo look changes. - QA-F2 Booked ticket: a booking of only tour seats showed the shop's opening as "First pick up"; when the view's
pickup.meetingis true it shows "Meeting point", the departure's day and time, and the point's name and address (en, it, de, fr).ViewPickupgains optionalmeetingandaddress. - Return check and damage on the real API (job 2-1021-1950-9e37, API docs/return-check.md section 5). Damage cover never goes on a quote or booking line any more (
PublicLineInputrefuses unknown fields, sodamage_cover: trueanswered 422):groupLinesOfsends the same lines ticked or not, andFlowShop.coverOptionsis gone. New site operationdamage-cover(RC-42,client.damageCover,useDamageCover):PUT /v1/public/sites/{slug}/bookings/damage-coverwith the booking's view token asX-Booking-View,Idempotency-Keyas a header and the body exactly{ category_ids }(0 to 200 distinct uuids, empty takes it off);createBookingRouteserves it by default (onlycategory_idsgoes on) and the hosted flow BFF lists it.GuestBookingFlowsends it in the booking's answer, before Pay, with the categories of the trip's offers while the group ticked the cover, then reads the booking again (current) so Pay shows the total and deposit with the cover; the booking stands whatever the cover call answers, and Pay or Booked says so in the guest's words (cover_failed_not_offeredfor 409cover_not_offered,cover_failed_closedforcover_closed,cover_failed,cover_added). Offers read the API's extras exactly (SiteExtra/SiteQuoteExtraof kinddamage_cover:id,category_iduuid,name,covers,not_coveredas words per language,price_per_day_minor,excess_minor,max_per_booking_minor, the quote'sunitsandamount_minor). Plan's price for the cover is the quote's extraamount_minor, added to the receipt as one "Damage cover" line and to the total while ticked (a deposit way then says the total; Pay says the deposit); else price a day x days x items within the shop's cap, said beside the offer only.DamageCoverOffershows the shop's name for it and what it does not cover (cover_not_what). New in/core:coverCategoriesOf,coverSavedOf,coverRefusalOf,coverWords,payLinkOf;coverQuoteOfnow reads the quote's extras;react/group/flow/wire.tscoverToSendOf,coverInTotalOf. Types regenerated from the API contract (SiteDamageCoverSave,SiteDamageCoverSaved,SiteQuoteExtra,TripDamage;SiteExtragains the cover fields andper: "item_day"). - The trip page's damage report reads the API's block exactly.
tripDamageOftakes the trip read'sdamageas the contract has it (state,itemswithname,tag,severityeach nullable andphoto_urls,total_minor,paid_minor,left_minor,pay_link), andpay_linkis the trip page's own path (/s/{slug}/trip/{token}#pay): a path with one slash in front and no scheme, backslash or space, or an http(s) link (payLinkOf). The other fields stay optional.TripDamageadds up from the contract alone: the repair, what the guest was not charged as a minus (damage_not_charged), on settle what was paid already (damage_already_paid), then You paid or You pay. Words in en, it, de, fr. Tests intests/booking-elements-damage.test.mjs,tests/booking-elements-route.test.mjs,tests/booking-elements-flow-operations.test.mjs,tests/site-flow-bff.test.mjs.
Downstream migration
A host that serves its own route with an explicit operations list adds damage-cover to take the cover at booking; DEFAULT_ROUTE_OPERATIONS has it. A host that read FlowShop.coverOptions or the quote's damage_cover lines reads groupCoverOf and coverQuoteOf(quote) instead. Rollback: the previous exact pin.
#[0.4.3] - 2026-10-21
Fixed
- Evolve feedback 19 Oct 1: When no longer offers a day the quote then refuses as too soon. The calendar greyed today only by its clock and
notice.cutoff_today, and the site read sends a null cut off when today is already too soon, so after the shop's notice today stayed open and the quote refused it (too_soon). The When context now readsnotice.first_day(WhenContext.firstDay,whenContextOf): every day from today to the day before it is too soon (blockedDays, a closed day keeps its own reason), today's halves are gone,pickDaynever starts on a day that cannot be picked, andfirstOpenDay(the trim of a kept trip) never starts before it. A day that cannot be picked (too soon, closed, full) says why: on hover its title, and a tap shows one line under the months (partwhen-why,aria-disabledin place ofdisabled; a past day stays disabled), as one quiet line of text in the secondary text colour with the small info icon (no fill, no border, no coloured surface), and the first day that works (firstPickable, which also passes full days) as an underlined text button that moves the trip there, the same length (moveTrip,WhenCalendaronMove, additive): "Mon 19 Oct is too soon to book online. Start on Tue 20 Oct". WithoutonMovethe line names the day in words. New pureblockedWhyand wordswhen_why_too_soon,when_why_too_soon_plain,when_why_closed,when_why_fullin en, it, de, fr. Tests intests/booking-elements-when.test.mjsandtests/booking-flow-wire.test.mjs. - Evolve feedback 19 Oct 2: a refused trip says why and offers the next day that works, never "We could not price the trip". The quote's
409 quote_refused(the shop's prices or booking rules refuse a line:too_soon,too_far,too_many_days, ...) reached the flow as a bare code, so it said the price failed. The route (next/flow.ts) now passes aquote_refusedbody'srefusalson (each{ code, line }, machine words only, nothing else), and the client keeps it asBookingCallError.body(additive). In/react(react/group/flow/wire.ts):refusedWhyOf(too-soon, too-far, too-long, closed, full or other, from the answer or the 409),nextTripOf(the trip moved to the next day that works, the same length, past greyed and full days; its When events) andrefusedSayOf(the words). GuestBookingFlow shows a Status in the guest's words ("Wed 21 Oct is too soon to book online. The shop needs more notice to get everything ready." / "The first day that works is Thu 22 Oct.") with one primary tap, "Start on Thu 22 Oct", and the shop's phone; Plan says the same where the price goes. A too_soon refusal also reads the site and the calendars again (useQuote), so When greys the day. Wordsstitch_refused_*in en, it, de, fr. Tests intests/booking-flow-wire.test.mjs,tests/booking-elements-route.test.mjs,tests/booking-elements-core.test.mjs. - Evolve feedback 19 Oct 3: a kinds read with no kinds (
kinds: [], Evolve) falls back to the products. When's counts came only from the W7-20 kinds read, so with no kinds the calendar showed nothing free. Now, on When, a kinds read that answered no kinds (kindsMissing) makes the availability read (W7-06) ask for the calendar's days, and the calendar counts from the products themselves (productDaysOfinreact/group/flow/wire.ts): the group's bike's product when the read lists it, else every product, each day's sizes added up (full at 0, few at 1 to 4, plenty from 5), the halves likewise, the parts any size offers; a day every product is closed is closed. Test intests/booking-flow-wire.test.mjs. - Gallery states (guest-flow, wired flow)
when-too-soon,when-no-kindsandplan-refused, in both looks. - Running short counts bikes only.
shortOfRefusal(the "We have 3 of your 4 bikes" card) counted the riders on every refused line, so a refused helmet or tour seat read as a missing bike. It now counts the rentals' lines (and a line with no key); a refusal of kit, extras or seats alone draws no bike card. The README's Parts names every part the components set. - 4-1021-2014-220f: a resumed saved trip dates its tour seats. A tour_seat line carries no day (the API takes none on it), so
groupFromSavedTripnow takes a seat's day and part from the kit of a rider on it who rents no bike and rides only that seat (their kit goes on the days of their tours, less their guide picks' and tour requests' days); the seat's riders ride that day and the trip covers it, so a trip of tour seats only keeps its trip. A seat its lines do not pin, or pin to two days, stays undated as before.datedStatedates every seat the departures read lists from that departure (its day and part win over a day read from the kit) through the group'sserviceevent, so a rider without a bike (on no rental) stays on the seat once it is dated instead of dropping off its line; a rented bike on the seat comes back asline:<key>. Tests intests/booking-flow-group-request.test.mjsandtests/booking-flow-wire.test.mjs. - 4-1021-2014-220f: Plan waits for an undated seat's departures. While a resumed trip still holds a seat with no day and the trip's availability read is on its way,
GuestBookingFlowshows Plan loading (data-og-part="plan-wait", the shop loading words) and prices nothing, so no quote goes out for a seat that names only the own bikes; the read then dates it, or a departure it no longer lists comes out as before (Tour says which). A read that failed, or no trip to read, shows the seat as it is. New pureseatsWaitOfinwire.ts. The Tour step already waited for its tours. Tests intests/booking-flow-guest-flow.test.mjs.
#[0.4.2] - 2026-10-21
Changed
- Retest 21 Oct: Plan says the whole deposit split. With a deposit the side says "€48 today, the other €112 when you pick up." and the amount due (phone bar, who books it) gets "of €160, the rest at pick up" under it; the phone showed only "Today €48" and a computer only "Total €160".
PlanDue.note(new, optional), wordsplan_pay_deposit,plan_pay_deposit_shortin en, it, de and fr. Test intests/booking-flow-react-plan.test.mjs.
#[0.4.1] - 2026-10-21
Changed
- R6-flow: the whole tour card picks the tour. On a computer a tour card lights up on hover (ring in the pick colour, a small lift; times light up too); a click anywhere on the card picks its first time with room for everyone (with others first), else its first time with a seat; the times and See the ride keep their own action. Each card shows a
Pick this tourmarker (Your touronce picked) so a phone shows it can be tapped. New wordstour_pick,tour_picked_tourin en, it, de and fr.TourCardinsrc/react/tour/TourStep.tsx, styles insrc/flow-tour.css; test intests/booking-elements-react-tour.test.mjs.
Added
- 3-1021-1804-c0bd: My booking states E and F (evolvefinale.com/trip/<ref>#t=<trip token>). New trip operations, the trip token in the path and
Idempotency-Keyrequired:trip-asked-answer(POST /v1/public/trips/{token}/asked/{line_no}/answer, API W6-15: GBF-15 by the trip token, bodySiteAskedOfferAnswer, answerSiteAskedOfferAnsweredwhosepaymentis an embedded Checkout session for a difference),trip-asked-withdraw(.../asked/{line_no}/withdraw, W6-16, answerTripAskedWithdrawn) andtrip-payment-session(.../payment-session, W6-17, answerTripPaymentSession:SitePaymentSessionpluspurposedeposit, full or balance).line_nois the trip read'sasked[].line_no(1 to 20).createBookingRouteservestrip-asked-withdrawby default;trip-asked-answerandtrip-payment-sessionstart payments, so they are opt in likeasked-offer-answer. Types regenerated from the API contract:GuestTrip.asked,TripBooking.held,TripPayment.card_brand,card_last4,receipt_number(additive). Tests intests/booking-elements-flow-operations.test.mjsandtests/booking-elements-route.test.mjs. - 2-1021-1649-a19b: Send the trip to your group from My booking (evolvefinale.com/trip/<ref>#t=<trip token>). New trip operation
trip-share(TRIP_OPERATIONS,client.tripShare, served bycreateBookingRouteby default):POST /v1/public/trips/{token}/share(API W6-14) with the trip token in the path,Idempotency-Keyrequired, bodyTripLinkShare(locale,riders: [{rider_no, email?}], riders by theirrider_noon thetripread), answerTripLinkShared(GBF-60's riders plusrider_no). The route passes on onlyridersandlocale. Additive;share(GBF-60 by the view token) is unchanged. Types regenerated from the API contract (also picks up two small earlier API changes). Tests intests/booking-elements-flow-operations.test.mjsandtests/booking-elements-route.test.mjs. - Return check and damage: damage cover at booking (contract 5, board GuestKitCover). The availability read's
extrasmay carry{ kind: "damage_cover", category_id, price_per_day_minor, excess_minor, covers }(built by the API job in parallel; read defensively, not in the generated contract yet). New in/core(cover.ts):coverExtrasOf,coverOffersOf(a cover per covered category, the read's sizes by their product'sparts[].item_type_id),coverOptionsOf,coverSummaryOf,coverEstimateOf,coverQuoteOf,isCoverLine,plainExtrasOf(the Kit step's extras leave the cover out). The group machine takes one tick for the group ({ type: "cover", on },GroupState.cover, never ticked by default, memory only); while ticked every booked rental line in a covered size sendsdamage_cover: truein the quote and the booking (FlowShop.coverOptions; an asked line never). Plan shows it as one line under the plan (new partDamageCoverOffer,data-og-part="cover-offer": "Damage cover", "Ride without worrying. If something breaks you pay at most €100 a bike.", "€8 a day", a tick; ticked, "What Damage cover covers" opens under it). The price is always the quote's: the quote'sdamage_coverlines are one "Damage cover" line on Plan's and Pay's receipt, taken out of the riders' parts only when their shares tell it apart (quoteLines).PlanBoardandPlanSteptakecover(additive);GuestBookingFlowwires it (groupCoverOf). - Return check and damage: the trip page's damage report (boards GuestTrip, GuestPhone 2).
/coretripDamageOf(trip)reads the trip read'sdamageblock (stateto_follow, settle or done,itemswithname,tag,severity,photo_urls,rider,total_minor,paid_minor,left_minor,pay_link, and the additivechecked_at,lines,covered_minor,excess_minor,paid_by { way, card_last4, card_brand },incident { happened_at, place, signed_at, report_url },receipt_number,receipt_url) defensively: http(s) links only, a block whose state or total does not read is none. New ElementTripDamage(/reactandreact/trip,data-og-part="trip-damage"): done (the lines, the cover as a minus, "You paid, Visa ending 4242", a Paid badge, the receipt), to follow (the mechanic sentence, the photos, When, Where, Signed, the crash report), settle (the lines, the cover's minus, "You pay", one primary "Pay €100" to the link throughsafeHref); "Question about this? Email us". Phone 390 and 360 with no sideways scroll (flow-damage.css). Wordscover_*anddamage_*in en, it, de, fr. Tests intests/booking-elements-damage.test.mjs; gallery statesplan-cover-offer,plan-cover-ticked(guest-flow) andtrip-damage-done,trip-damage-to-follow,trip-damage-settle(booking-elements).
Downstream migration
Additive: no host change. A shop with no damage cover in its read sees nothing new. Hosts that draw the trip page on their own site may draw TripDamage with tripDamageOf(trip). Needs the API job's damage_cover extras, line flag, quote lines and the trip read's damage to show anything; before it, nothing changes.
#[0.4.0] - 2026-10-21
Changed
- R5-flow 1: a trip that rents always has a Tour step, which asks "Would you like to join a guided tour?" (Oliver, evolvefinale.com, 21 Oct: the band's "+ Add a tour" was hard to see). At a shop with a tour card,
groupStepsshows Tour after When also when the guest picked only Rent on What (newoffersTours); there the step is the question alone (new partTourJoin,data-og-part="tour-join", two radios: the arrows move between them, Enter or Space picks, and the picked radio keeps the focus when the step draws again;joinKeyTarget), No picked by default so one tap on Next goes on (stepProblemwaits on nothing while no tour is picked; the band says "no tour",band_sum_tour_none), and Yes picks the shop's first tour card and opens the tour picker with the question kept above it (No there takes the tour picks out again). The band no longer offers "Add a tour" (addableStepsOfanswers Bikes only); "Add bikes" stays. A tours only trip is unchanged. New wordstour_join_title,tour_join_line,tour_join_no,tour_join_yes,tour_join_sum_noin en, it, de, fr. Gallery statetour-join. Tests intests/booking-flow-group-steps.test.mjs,tests/booking-flow-wire.test.mjs,tests/booking-flow-group-request.test.mjs,tests/booking-flow-guest-flow.test.mjs. - R5-flow 2: no running price panel beside the steps; the tour card keeps its shape at any width. On Tour the "Your trip" panel squeezed the card (the name ran into the times, the line wrapped one word a line). GuestBookingFlow passes no
aside(nor the phone's trip pill) on any step; Bikes and Kit keep their own totals and the price is on Plan. The tour card lays out by its list's room (container: og-tours): photo, words and times side by side from 1100 px of list, else the times under the photo and words; a long name wraps (overflow-wrap: anywhere, the computer's size from 26 to 40 px), times wrap onto a second row on a phone.flow-tour.css. Checked at 1440, 1100, 390 and 360 wide. - R5-flow 3: a done step on the band reads and behaves as a link back to it. Its pick is underlined at rest (thicker on hover), the keyboard focus draws a ring, and on a computer a small back chevron leads the step's name with a soft hover ground; still the band's ink, never the accent or the primary.
flow-chrome.css; the steps were already buttons labelled "Go back to ...".
Fixed
-
R5-flow 4 and 5: the days that have passed come out of the trip, also while the page stays open (evolvefinale.com, 21 Oct). A trip kept from an earlier visit, or a tab left open, still started on a gone day: When showed today with Full day and Half day gone while the trip said "4 days", the foot "3 full days" and the quote priced the gone day; a kept trip with yesterday made the quote answer 422 and the flow said "We could not price the trip just now" for ever. Now
withoutPassed(react/group/flow/wire.ts) starts the trip on the first day the group can still ride (firstOpenDay: today while some of it is left, else tomorrow), takes out the days, seats, guide picks, requests and extra days before it, and keeps only what is left of today (a gone morning makes a full day the afternoon, so the counts, the lines and the price agree); a trip with no day left (all passed, or a one day trip whose part has passed) has no days and goes back to When, whatever the address says, and the first change there moves the address to When. GuestBookingFlow applies it while rendering (never while booking, on a held booking, paying or on Booked), the kept trip (og-flow:<shop>) forgets the days too, and one line says "We took out the days that have passed. Your trip starts on the first day you can still ride." (or, when only part of today has passed, "Part of today has passed, so today keeps only what is left of it.") (stitch_days_passed, four languages). The shop's clock now moves while the page is open (useOpenClockinkept.ts: useSyncExternalStore, every 30 seconds and when the tab comes back), and the shop's today follows it past midnight (todayOf: the read's today, or the clock's when it is one day on). A quote the API refuses as unreadable (422invalid_request, a passed day or a gone half day) reads the site and the calendars again (useQuote). Tests intests/booking-flow-wire.test.mjsandtests/booking-flow-guest-flow.test.mjs; gallery statepassed. -
R5-flow 6: Book it never waits without a word. On Plan, with no price Book it was greyed out and nothing said why (a quote that failed, a trip the shop refused, nothing to book).
PlanSteptakesnoPrice(additive) and says it where the price goes and beside Book it: "The price did not load, so Book it waits. Try again above." (with Try again at the top), "The shop cannot take this trip online. Call the shop and they book it for you.", "Nothing to book yet. Pick a bike or a tour first." ("Pick a bike first." at a shop with no tours) (stitch_no_price_failed,stitch_no_price_refused,stitch_no_price_empty,stitch_no_price_empty_tour,stitch_today_passed, four languages). Test intests/booking-flow-guest-flow.test.mjs. -
R5-flow 7: a booking the API refuses says why, and a size that filled while booking shows its ways out (evolvefinale.com, 21 Oct, deposits on). A book refused with 409 reached the page as
{"code":null,"reason":null}: the API's booking refusals (lines_unavailable,quote_refused,payment_account_missing,promo_refused) name themselveserror, which neither the route (next/flow.tsrefusal) nor the client (core/client.ts) read, so the flow said "We could not book this" where it should show the decision card. Both now read a booking refusal (ok: false) by itserror, beforecode(a promo refusal'scodeis the guest's own promo code, never passed as the refusal), other refusals bycodeanddetail.codeas before; alines_unavailablerefusal keeps its own fields through the route (error,lineswith only the fields the flow reads,can_ask,can_save: option ids, dates and free counts, nothing about the guest), andBookingCallErrorcarries it asbody(additive; the flow'srefusalOfErrorreads it). Seen with one AMPD M on 30 Oct: the size was full. Tests intests/booking-elements-route.test.mjsandtests/booking-elements-core.test.mjs. -
R4-desk: "Not booked yet" waits for the read that settles a refused departure (R3-flow review). When a booking was refused because its departure closed or filled, the flow reads the shop again to take the seat out; an error left from an earlier read made it say "Not booked yet" while that read was still on its way. It now says so only once the read made after the refusal has failed (
refusalUnsettledinreact/group/flow/wire.ts, used byGuestBookingFlow). Test intests/booking-flow-wire.test.mjs.
Downstream migration
No API change needed. Hosts that draw GuestBookingFlow change nothing; a trip that rents now passes a Tour step (No picked, one tap) and no trip panel shows beside the steps. Evolve: its own clearing of a kept trip's past days (features/booking/v2/keptPicks.ts, "We cleared the days that have passed.") is now the package's; take it out with the repin (evolve-frontend fix/r5-flow) or the guest can see both lines. A host that draws PlanStep itself may pass noPrice. Rollback is the exact pin 0.3.2.
#[0.3.2] - 2026-10-21
Fixed
- R3-small: the When calendar's key for one person no longer reads "Bikes for all 1" (evolvefinale.com retest, 21 Oct).
WhenKeywith one rider says "Bikes free" (new wordwhen_key_one: "{Items} free", "{Items} disponibili", "{Items} frei", "{Items} disponibles") and "Full or closed"; "Not for all" cannot happen for one and is left out. A group keeps "Bikes for all 5" and "Not for all 5" (the count is the group's size). The day buttons' labels are unchanged. Test intests/booking-elements-when.test.mjs. - Every rider is booked again, also one no line names (R3-flow, evolvefinale.com retest 21 Oct). 0.3.1 left a rider who rides on no line (their own bike on a trip of rentals) out of the booking, so the shop never got their details.
groupBookingOfsends every rider as a person again; the API (outdoor-grid-apiR3-flow, migration20261119560010_lineless_riders.sql) books them as one of the group on no line and saves them on the shop's record with their height, weight, level and own bike. Test intests/booking-flow-group-request.test.mjs. - A kept trip's tour that can no longer be booked comes out, and the guest is told (R3-flow). A trip kept in the browser (
og-flow:<shop>) held a tour departure whose online booking had closed; the quote answered 409departure_closedand the flow said the price did not load, for ever. GuestBookingFlow now takes such a seat out of the trip, once, and the kept trip forgets it (goneServicesOf,departureGoneOfinreact/group/flow/wire.ts): a departure on the trip's days that the current availability read no longer lists (the read lists only departures open for booking, so a kept trip's closed or past departure goes on restore). A departure the quote or the booking refuses withdeparture_closedordeparture_full(the public SQLSTATE map's OG102 and OG101) makes the shop's read stale:useQuoteand the booking read it again, and the seat is chosen only on that newer read (the one it no longer lists; for full, the first with fewer places than its riders; else the trip's first departure). Never while booking, paying or on Booked. The Tour step opens, as long as the address stays where it was, with one line per seat: "The {tour} on {day} can no longer be booked. Pick another day.", or "The tour on {day} ..." when the read no longer names the tour (stitch_departure_gone,stitch_departure_gone_day, en, it, de and fr). Tests intests/booking-flow-wire.test.mjsandtests/booking-flow-guest-flow.test.mjs. - A kept trip reopened on Plan whose size is now full shows its ways out (R3-flow). Reopened straight on
?step=plan, a quote answeringlines_unavailableleft Plan on "Working out the price" and "Checking bikes, sizes and seats" for ever. PlanStep now opens who books it with the decision card at once (the neighbour size first, ask the shop, save), once per refusal, as when a booking is refused, and the total says "Choose how to go on to see the price" (plan_no_price, four languages;PlanDue.waiting,PlanCostsProps.waiting). Tests intests/booking-flow-react-plan.test.mjsandtests/booking-flow-guest-flow.test.mjs. - No raw product id while the shop's read loads (R3-flow). After a reload the step bar and the Plan rows showed "3f907eda-..." for a moment.
namesOfanswersNAME_PENDING("…") for an id the reads do not name yet. Test intests/booking-flow-wire.test.mjs.
Downstream migration
Release the API first: outdoor-grid-api with R3-flow (20261119560010_lineless_riders.sql applied) must be live before a host takes this version, because the API before it refuses a booking with a rider no line names (422), which this version sends again. Hosts change nothing else. Rollback is the exact pin 0.3.1.
#[0.3.1] - 2026-10-21
Fixed
- A trip with a rider on their own bike and rentals only books again (evolvefinale.com retest, 21 Oct).
groupBookingOfsent every rider as a person, and the API books a person only on a line that names them, so a group where one rider brings their own bike and nobody takes a tour was refused whole (422, "Something went wrong and nothing was booked"). People no line names stay out of the booking for now; the API will keep such a rider on the booking next. No API or host change. Test intests/booking-flow-group-request.test.mjs.
#[0.3.0] - 2026-10-21
Added
- The flow has a complete look under any theme (Evolve test run H1). A host that set only some tokens (the hosted page sets the accent) drew cards, fields and sheets with no background or border. New
DEFAULT_THEME(everyBookingThemetoken: warm light ground, never white, the yellow primary with a dark press, statuses green, orange and teal) andthemePropertiesCss;/styles.cssimports the newtheme-defaults.css, which registers each--og-*token with@propertyand the default as its initial value, so anything a site sets, inline or in its own CSS on a parent, wins.surface-2andradius-smstay unregistered (UNREGISTERED_TOKENS: a part falls back from them tosurfaceandradius), and the default radii are the parts' own fallbacks (14, 18, 12 px). Tests intests/booking-elements-package.test.mjs.
Downstream migration
A site that sets every token (Evolve, missingTokens(theme) empty) sees no change. A site that leaves a token out now draws the default for it, not the part's own fallback or the page's font: a host that left out font-body, font-head or btn-font showed its own page font and now draws the default system font, and font-head no longer falls back to font-body (set all three). Check with missingTokens and set what is missing. Rollback is the exact pin 0.2.6.
Fixed
- A rental sized at the counter books online (QA Test Bike Shop run, 4.02). A rental whose one option has no size (the shop fits the rider at pick up, as Outdoor Grid's Add equipment made them) left every rider on Bikes with "Pick a size for ..." and no size to pick, so no guest could book. Each rider on it now gets that option (on the model and on Any that fits, where a kids' bike is never handed out that way:
BikePoolModel.kids), the bikes placed before counting, else it is short as any size is (picksOn, newcounterOptionsOfinreact/bikes/view.ts). - A kit item's rental is offered on Kit, not Bikes (4.02b). The rail listed the shop's rented helmet beside the bikes. GuestBookingFlow now hands Bikes
bikeProductsOf(read.products, read.kit): no product a kit item rents (the Kit step offers it in each rider's size); one no kit item rents stays, so it can still be booked; a shop that rents only kit keeps them all (react/group/flow/wire.ts). - A rider on their own bike rides on the Plan (4.06). The timeline and the day list read "not riding" on every day for an own-bike rider.
planOfGroupgives them a bar of their own on their days that nothing else holds (PlanLook.ownBike, the words' "Own bike";PlanBlock.own, never the bike under their name). - A rider who brings their own bike keeps their height and weight (E2). Seen on evolvefinale.com: a rider marked "Brings own bike" typed 165 cm and 60 kg, and the booking stored neither, because
personOf(core/group/request.ts) dropped both for own-bike riders. They are now sent like any rider's, so the shop keeps them on the rider's record for the next booking (the API already stores them). Tests intests/booking-flow-group-request.test.mjs. - A phone asks and shows an own-bike rider's height and weight (E2). The rider sheet on a phone (
RiderSheet) hid both for a rider who brings their own bike, while the computer's bib (RiderBib) asked them, so a guest on a phone could not enter what the booking now sends. The sheet now asks height and weight for every rider, and the phone row (RiderRow) and the saved riders card (savedFit,SavedRiders) show them after "own bike" ("own bike · 168 cm · 60 kg · some experience"); with no measures they read as before.row_level_onlyis no longer used by the package (kept in the words for now). The style guide's Who and no-any bike fixtures keep an own-bike rider's measures too. Tests intests/booking-elements-guest-who.test.mjs,tests/booking-elements-guest-signin.test.mjsandtests/booking-flow-group-request.test.mjs(groupBookingOfandsavedTripOfpeople). - A quote that fails can be tried again (E1). Seen on evolvefinale.com: when a call to the API dropped, the flow said "We could not price the trip just now" and gave the guest no way on. The message now has a Try again button (secondary, busy while it asks) that asks for the same quote again (
quoted.refetch()); it uses the existingstitch_retryword, already in en, it, de and fr. Test intests/booking-flow-guest-flow.test.mjs. - Plan on a phone lists the rented bike beside the tour (E7a). On a tour day the phone's day list read only the tour ("All 5 · Classic tour"), so a rider's rental bike, priced in the total, was missing from the plan. Each line now names everything the riders have that day, a bike by its model and the tour by its name ("Marco, Giulia · AMPD + Classic tour"), riders who do the same thing still on one line; the tour leads the line's icon and gives the times. The computer's timeline already showed both.
planDays(/core); riders who rent different models no longer share a tour day's line, so the change sheet's "same day" riders (likeRiders) follow the same reading. Tests intests/booking-elements-plan.test.mjs,tests/booking-elements-react-plan.test.mjs,tests/booking-flow-react-plan.test.mjs. - A signed out guest's
meis no longer a 404 on every visit (E7b). The route (createFlowRoute,/next) answersmewith no guest session as 204 with no body and asks the API nothing (it clears a malformed session cookie as before);people,againandlinkwithout a session stay 404session_unavailable, and a session the API no longer knows is still a 404 that clears the cookie.GuestBookingFlowreads an empty answer as signed out: the guest is signed in only whenmeanswers a guest, and the sign in handler and the saved riders readpeoplenull safely, so a 204 can never crash them. Small break: themeanswer is typedGuestPage | null(BookingAnswers,/core). Tests intests/booking-elements-route-session.test.mjs,tests/site-flow-bff.test.mjs,tests/booking-flow-guest-flow.test.mjs.
Downstream migration
- Evolve (draws
GuestBookingFlow, serves the route withcreateBookingRoute): no code change; repin and the signed outmecall answers 204. Rollback: the previous exact pin. - A host that reads
useGuestMe,guestMeQueryorclient.meitself: a signed out guest now resolves{ data: null }instead of rejecting with a 404. Readanswer.data?.guest(null is signed out). The hosted app (outdoor-grid-frontend) does not read them.
#[0.2.6] - 2026-10-20
The running short card Oliver asked for while testing evolvefinale.com. Pre-1.0 PATCH with small breaks, all
inside the package's own parts: Evolve draws GuestBookingFlow and needs no code change; a host that draws
RunningShort itself passes days (was day and period) and onRequest, and drops change; a host that
builds a GroupState literal adds request: false. Rollback is the exact pin 0.2.5.
Changed
- Running short: two ways, the whole way is the press, saving is a link. Seen on evolvefinale.com: the suggested way was drawn as already picked, so its hover showed nothing and its radio never filled, and four cards were too many choices. Now it is one decision for the whole trip, never one per day: "We have 3 of your 4 bikes." with the short days as a detail ("1 bike is not free on Sun 25."); breaking:
GroupStatehas a new required fieldrequest(a host or test that builds aGroupStateliteral addsrequest: false);dayandperiodare replaced bydays(the short dates),freeandofcount the trip's bikes (shortOfRefusalreturns{ days, free, of }), wordsshort_title,short_title_none,short_days_one,short_days,short_andreplaceshort_title_one,short_day_morning,short_day_afternoon. The card has two ways, both when the shop takes asks: "Book the 3 free bikes now" (the rest on the waitlist: asked lines as before, nothing to pay for them until the shop finds them) and "Send the request to the shop" (new,onRequest,ShortWay"request": the refused lines asked and the trip sent as a request, nothing paid now, the shop confirms it all). Saving the trip is a quiet link under them ("Or save the trip and finish later"), never a card. Breaking: the change of days way is gone (changeprop and typeShortDayChangeremoved,ShortWayis"ask" | "request" | "save",shortChoicestakes{ ask, request }); no consumer passed it. No way is lit until the guest presses one (GuestBookingFlowpassespicked), and hover lifts the whole card onto--og-surface-2with a--og-text-2border (no motion with reduced motion). New staterequestand event{ type: "request", on }(/core),requestedOf;groupBasketOfsendsmode: "request"and no payment choice while a rental is asked; the flag clears itself when the last ask goes (reduceGroup), and a saved trip sent as a request opens as one again (groupFromSavedTrip); a request has no Pay step (groupSteps);GroupEventhas a new variantrequestandrefusalAskEventsnow ends with{ type: "request", on: false }; a pick belongs to the refusal it was made on, so a new shortage opens with nothing lit; one rider reads "Your bike is not free." (short_title_none_one,short_ask_text_none_one);refusalRequestEvents(/react). Plan says "Send to the shop" and "Nothing to pay now. The shop confirms your trip, then tells you how to pay."; its toast no longer says everything is free while a bike waits; Booked on a request (stagerequest) says "Sent to the shop" and that nothing is booked or paid yet. Asked bikes read "on the waitlist" on the ask card, Plan's receipt and Booked. Words in en, it, de, fr: newshort_ask_left_one,short_ask_text_one,short_ask_text_none,short_request,short_request_text,short_save_link,short_save_only,plan_send,plan_pay_request,plan_pay_request_short,plan_toast_waitlist,done_title_request,done_title_request_plain,done_lead_request; changedshort_ask,short_ask_none,short_ask_text,part_ask_with,part_ask_free,asked_asked,asked_note,done_lead_asked*,plan_asked_line; removedshort_ask_one,short_later,short_change,short_save,short_save_text. Tests intests/booking-elements-react-short.test.mjs,tests/booking-flow-group-request.test.mjs,tests/booking-elements-react-booked.test.mjs.
#[0.2.5] - 2026-10-20
Fixed
- Plan: a size that is short on the change sheet no longer loses the change or loops. Seen on evolvefinale.com: Lena and Tom moved to Tue and Thu mornings, the check said "No Pivot Shuttle LT in S on Tue, Wed, Thu and Fri morning" and "Use the ... in M" swapped the size and closed the sheet without the mornings. Now the clash names only the days asked ("No LT in S on Tue and Thu morning."); riders short of the same size are one clash, and its way takes them all; taking it sends the change and the size together (
PlanStepandChangeSheetcallonWay(way, change)with the change's events; the flow sendsplanWayEventsOf(state, way, change), new in/react); a way to the very size that is short is never offered (planWaysOut), and "Keep" is never the suggested way; a sheet that changes nothing shows no clash (the trip's own refusal is who books it's decision card); Book it is no longer greyed out on a trip refused as it stands, it opens who books it with the ways out; a way never gives a rider a bike on a day they do not ride (wayEventsOf). New puresheetClashOf,sheetApplyOf(group/steps/plan/clash.ts). No new words. Additive: a page that drawsPlanSteporChangeSheetitself and passesonWayshould send the second argument's events with the way (planWayEventsOf); one that ignores it behaves as 0.2.4. Tests intests/booking-flow-react-plan.test.mjs. - Bikes: the group can split from one bike. With everyone on one bike, tapping another bike's card moves the whole group (kept), and a name under "Who rides the X?" that is already on that bike now goes back to the bike the group just came from, so Lena and Tom ride the Shuttle LT while Marco and Giulia keep the Firebird in two taps. Before, that name did nothing and the only way back moved everyone again. A name on another bike still moves onto the bike in view; once the riders are split a card only shows its bike; the rail's cards name who rides each.
WhoRidesandBikesViewtakeback(the model to go back to) andWhoRides'sonMovenow gets the model too; new purebikeWhoTapTo(/react),bikesPickEvents,bikesBackOf, typeBikeMove; wordbikes_move_backin en, it, de, fr ("Tap a name to put them back on the {model}", shown on a computer and a phone). Additive. Tests intests/booking-elements-bikes.test.mjs.
Changed
- A bike reads as the guest says it, not as the shop's product name. The stepper band, the plan bars, the plan's rider line and Booked showed "Pivot Shuttle AMPD e-bike rental" and "Pivot Firebird rental M". They now say the model ("Firebird"; the site's own name in
looks.bikes[id].namewins), else the product name without a trailing " rental" / " e-bike rental" (and a size after it), and the plan adds the size: "Firebird, M". The band says "Firebird" for one model and "3 bikes" for two or more (new wordband_sum_bikesin en, it, de, fr).namesOftakes the looks' bikes as a last argument (GuestBookingFlowpasseslooks.bikes); new purebikeNameOf,plainBikeNamein/react. The Bikes rail still shows the product's name with its model above it. Additive. Tests intests/booking-flow-wire.test.mjs,tests/booking-flow-react-plan.test.mjs.
#[0.2.4] - 2026-10-20
Three changes Oliver asked for while testing evolvefinale.com. Pre-1.0 PATCH, additive: nothing to change downstream;
Evolve passes anyThatFits={false} (and kitIncluded if it includes protection) to GuestBookingFlow. A page that
draws DayHalves or WhenDays itself should pass the new onPart. Rollback is the exact pin 0.2.3.
Changed
- When: each day is one choice, Full day or Half day. "Your days" (computer), the phone's days sheet and a one-day trip's choice under the calendar no longer show two Morning and Afternoon tiles both on: a day is "Full day" (the default) or "Half day", and a half day is the morning, with a small Morning | Afternoon under it only while Half day is on (one tap to the afternoon; part
when-half-pick, the pick in--og-pick). Same data underneath (parts: absent full,morning,afternoon). Today after lunch: Full day says gone, Half day takes the afternoon from the earliest pick up, Morning shows gone. A day the shop does not split keeps its one whole-day block.DayHalvesandWhenDaystakeonPart(WhenStep passes it; a page that passes onlyonTogglegets one call per half that switches, two for Morning to Afternoon, so it must apply them on top of each other: passonPart); new puredayChoiceOf,setDayLength,setDayHalf,halfSteps, typesDayChoice,DayLength,DayPick;toggleHalf,toggleDayunchanged. Wordswhen_half_day,when_half_pickand newwhen_tip,when_sheet_linein en, it, de, fr. Additive. Tests intests/booking-elements-when.test.mjs; gallerywhen-half-afternoonand the When frames. - A shop or site can turn off "Any that fits" on Bikes.
GuestBookingFlowandBikesSteptakeanyThatFits(true when left out; Evolve passes false). Off: no Any card in the rail; the group starts on the first model with a fitting size free on every rider's days (by height, else any size free; none fits all: the first model), so the panel shows that bike's build straight away; Next writes the bike for the riders still on no product (bikefor the whole group, or withriders), a size already tapped again, then the sizes as before. Nothing is written during render. The 0.2.3 rule stays: a rider whose size is gone keeps Next on Bikes, and with Any off the reason says "Pick another size or another bike." (bikes_size_gone_next_modelin en, it, de, fr). New purefirstFittingBike(/react),sizeGoneSaid;bikesFromGrouptakesanyThatFits. Additive. Tests intests/booking-elements-bikes.test.mjs; gallerybikes-no-any,bikes-phone-no-any. - The stepper band says what a skipped step means, and a step not picked can be added from it. Tour, when only Rent a bike was picked, says "Add a tour"; Bikes, when only a tour, says "Add bikes" (the shop's word for its bikes; not when every rider brings their own bike). Tapping it, on a computer or a phone, adds that activity to the trip (the What pick of the shop's first card of that kind) and opens the step: back to it when the guest is past it, on through the steps between once the trip is past When (stopping where Next would wait), and on What, Who and When it is only added. Kit skipped says "included" when the shop includes protection (GuestBookingFlow's new
kitIncluded, false when left out) and "nothing to rent" otherwise; Pay skipped says "at the shop".BandSteptakesaddandnote,StepperBandtakesonAdd(partband-add); new pureaddableStepsOf,addStepEventsOf,bandStepsOfoptionsaddable,itemsWord,kitIncluded; wordsband_sum_add_tour,band_sum_add_bikes,band_sum_kit_includedin en, it, de, fr. Additive. Tests intests/booking-elements-guest-chrome.test.mjs,tests/booking-flow-wire.test.mjs; gallerywhat-blocks-band-add.
#[0.2.3] - 2026-10-20
Fixed
- Bikes no longer lets a guest on with a size that is gone. A rider whose size on their bike has no bike left on one of their days (the size chip says the days out) kept Next working, and the plan then waited on a booking it could not make, with Book it greyed out. Next now stays on Bikes, says "No bike left in that size for Oliver on your days. Pick another size, or Any that fits." beside it and brings the guest to that rider's sizes (
ridersOutOfSizeingroup/steps/bikes/BikesStep.tsx, wordsbikes_size_gone_nextin en, it, de, fr). Seen on evolvefinale.com: a 185 cm rider on the Shuttle AMPD in L, Wed 21 to Sat 24, while the Shuttle LT had an L free. - A rider who brings their own bike keeps height and weight on Who. The bib hid both once Brings own bike was on; protection and the guide still size by them (
guest/RiderBib.tsx).
#[0.2.2] - 2026-10-20
Fixes the Bikes step for a shop that asks the guest for the size, which kept the new flow off Evolve's site, and
makes every step's Next that waits say why. Pre-1.0 PATCH, additive: nothing to change downstream (a site that styles
the foot may want .og-foot-why, the reason beside Next on every width); rollback is the exact pin 0.2.1.
/reactBikes for a shop that asks the guest for the size (W7-06pick_size, as Evolve's read answers it: no catalogfit, options with onlysize_label, size charts with no heights). Before, the stage showed no size, Next waited onpick_sizewithout a word and the quote held no bike line. Now each rider on the model in view gets its sizes as small chips right under who rides it (RiderSizePicks, partbike-pick-size; the pick in--og-pick, olive on Evolve), with the heights a size is for when the shop's chart says them; a size with no bike left on the rider's days, after the other riders' sizes, is off and says the days. With a height and a fit or chart heights the size is already picked and a tap changes it. A model with one size gives it. Next that waits says why beside it ("Pick a size for Marco, Giulia.", role alert), rings each rider it waits on and brings the guest to the first one (shows their model, scrolls to and focuses their sizes). Any that fits pools every product, so a size picked on it books any model free in that size (the API books a rental by its option; a rental with no option is refusedoption_required). New:/corebikeChartOf,chartRangesOf,sortSizeLabels,takeBike,BikeSizeHint,BikeChart(placeAnyBikeSizeskeeps a hand pick on a product with no fit ranges);/reactRiderSizePicks,bikeSizeChipsOf,bikesShowSizePicks,bikeSizeHintOf,bikeFitOfProduct(a product's fit, with ranges from its chart's heights),chartOfProduct(the chart of the part the guest sizes, matched to its options' sizes, never a helmet's),BikeModelViewpickSize,hints,sizeOrder,BikesViewandBikesStepproblem(andmissingonBikesView), wordsbikes_sizes_lead,bikes_sizes_any,bikes_size_for,bikes_size_wait,bikes_size_range,bikes_size_from,bikes_size_uptoin en, it, de and fr (a shop rewords them through the provider'swords). Additive. Teststests/booking-elements-pick-size.test.mjs./reactGuestBookingFlow: every step's Next that waits says why beside it, on a computer and a phone (role alert, in--og-badink), and brings the guest to what is missing (scrolled into view and focused, the part markeddata-og-missing="on";bringToMissing,missingPart,missingControlingroup/flow/missing.ts, run from the click, never an Effect). What marks its cards; When the calendar (no days) or the days (nobody rides); Kit the must item's cell or the rider's row; Tour no longer disables Next: pressing it says what is missing (nothing picked, nobody going, too few seats, a request still open;TourSteptried); Plan names the first field to fix right above Book (whoBooksFirst,whoBooksWhy,PlanBoardwhy,Fieldmissing); Pay brings a failed pay at the shop into view.StepFoottakeswhy(shown on every width;notestays the phone's plain note), and the Bikes reason reads the same. New wordsstitch_problem_email_bad,stitch_problem_name_long,stitch_problem_phone,stitch_problem_password,stitch_problem_terms,stitch_problem_tour_who,stitch_problem_tour_seats,stitch_problem_tour_askin en, it, de, fr. Additive. Teststests/booking-flow-next-waits.test.mjs./coreAPI types regenerated from outdoor-grid-api dev:SiteBrandgains the optionalband,band_inkandpick_ring(the shop's stepper band, its text and the selection ring; null or absent: the package's own), andSiteContrasttheir checks (band_ink_ratio,band_text_ok,pick_ring_ratio,pick_ring_ok). Additive, no code change.
#[0.2.1] - 2026-10-19
Fixes from Evolve's wiring of 0.2.0 into its site. Pre-1.0 PATCH, additive: nothing to change downstream; rollback is
the exact pin 0.2.0.
/reactBikes on a computer: the stage takes at least 60% of the row (.og-bk-body's panel is 540px at most and 40% of the row), and GuestBookingFlow runs the Bikes step edge to edge from 1024px through FlowFrame's newbleed(no page margins, no trip beside it: the panel carries the total; what sits above the step keeps the margins;data-og-bleed="on"), so the stage is 900 of 1440 as on the canvas (Bikes 5A). The panel cap applies to every BikesView on a computer, so a standalone Bikes element's panel is a little narrower from 1024 to 1440. The phone is unchanged./reactwords: the stepper band's summary words are lines like every other (words/band.ts,band_sum_*in en, it, de and fr), so a shop rewords them through the provider'swords; GuestBookingFlow reads them through the newbandWordsOf(where a step stands stays StepperBand'sband_now,band_next,band_then,band_skipped), andStepperWordsOptionstakeswords.FLOW_SUMMARY_WORDSkeeps its shape and values. A shuttle What card says a shuttle day (stitch_shuttle_name,_line,_short,_phrase, en, it, de, fr) instead of a guided tour's words, rewordable the same way; a card's look still wins. Additive./reactGuestBookingFlow: the Tour step lists only the tours of the kinds the picked What card books, so Guided tour lists the tours and Shuttle day the shuttles (both picked: both).FlowActivityLook.toursnames a card's kinds (W7-06tours[].kind); left out, a card keyedshuttleortransferbooks shuttles and transfers and another tour card every kind no card claims; a tour the trip already holds stays listed. New purecardTourKindsOf,toursForCards,isShuttleCard,TOUR_KINDS,SHUTTLE_KINDS(wire.ts). Additive./reactGuestBookingFlow: on Booked the stepper band names the trip (bikes, tours) from the booking's own read (W7-09's view, each line's client key to the group's rental or seat) instead of the availability read Booked does not ask, so it no longer shows raw product ids.namesOftakes the booked trip as an optional fifth argument andbookedNamesOfis new (pure,wire.ts); Booked's reads live inuseBookedTrip, held by the flow./coreAPI types regenerated from outdoor-grid-api dev (pnpm booking:generate):PublicFlowSettingsgainsanswer_within_hoursandanswer_by_day_before(A2a, the shop's answer time),SiteKitItemgainsproduct_id(required, null when the item rents no catalog product),RiderTripItem.statusgainsdeclined,expiredandwithdrawn(A2b), and four paths say their real answers (the asked offer answer and withdraw, the held booking's pay at the shop and payment session: 409, 422, 503 in place ofnot_built). A fixture typed asSiteKitItemaddsproduct_id: null./reactRiderTripPage: a line the shop said no to, that ran out or that was withdrawn reads "Not booked" (part_rider_not_bookedin en, it, de, fr); before, every line not booked read "With the shop".- The shop's answer time is live: the public read's
booking.flownow carriesanswer_within_hoursandanswer_by_day_before(outdoor-grid-api's stitch,site_read_flow), so/coreshopAnswerOfreads them and the Plan's asked bars and running short say "within 12 hours" or "by the day before" from the shop's own settings. An API before the stitch still reads as the neutral line. No API change.
#[0.2.0] , 2026-10-19
The guest booking flow as ONE working flow (the UI stitch). Pre-1.0 MINOR, additive for the Elements; the new flow is
GuestBookingFlow.
-
/reactGuestBookingProviderandGuestBookingFlow: every step (What, Who, When, Tour, Bikes, Kit and extras, Plan, Pay, Booked) mounted in E1's router on E2's chrome (FlowFrame:ShopBar,StepperBand, the step,StepFoot; the trip beside the step from 1024px and in a sheet on a phone), with running short, saving a trip, a held booking, the shop's offer and a rider's own trip page (RiderTripPage) on the way. Props:router,door,bar,footer,looks(the shop's own photos and words per activity, bike and tour),links(#s=,#r=,#o=),loadStripe,termsHref,accountHref,onBooked,now,layout,returnBase, andstart,booked,holding,rememberfor tests and galleries. Cards take the shop's photos through props. The Plan quotes a pending change as a draft (onDraft,draft) with a real W7-07 call. -
/reactflow tokensnav,on-nav,band,on-band,band-soft,band-mark,pick-ring(on top ofbar,on-bar,pick,on-pick,pick-soft,bib,own,warn), withEVOLVE_FLOW_TOKENS(olive pick#49583c, sage ring#a3b78f) andFIRNFINK_FLOW_TOKENS; the steps still ahead on the band are its ink at 60%, Firnfink's fix colour is amber. -
/hooksthe flow's own calls (hooks/flow.ts): a saved trip, a held booking, the shop's offer, a rider's own trip, sign in, the saved riders, pay at the shop and a payment session; one Idempotency-Key per guest action, never retried blind. -
/corepayment.ts(ways to pay, return polling, the trip day by day,isKitLinefor kit the view sends as anextra),fit.ts(sizes from the riders' heights on the models free on their days, imperial units),names.ts(cleanName,nameOr: a guest's name in a title, trimmed and capped);/reactwordsstitch(typed in en, it, de, fr). -
/nextcreateFlowRouteand the flow's operations with each call's one credential header (see the entries below). -
Embedded Checkout: the site passes
loadStripefrom@stripe/stripe-js(an optional peer,^10.1.0); the package itself imports no Stripe code. -
Early steps (What, Who, When, Tour): a shop's own photos win on choice cards and tour cards (
TourStepphotos,tourPhotos,RidePhotoswith tappable photo dots on a phone, partride-photos), and with no photo there is no photo block; a quiet empty tour day for shops that take no requests (tour-emptysparse); a weight or height typed with a decimal rounds to whole cm and kg, metric and imperial, with the decimal keypad on the bib and the rider sheet (FieldinputModetakesdecimal); guest names cleaned for titles and pills (cleanName,nameOr,tidyName,NAME_MAX); arrow keys, Home and End in the Tour day rail, the request chips, the photo dots and the When calendar (rovingIndex,calendarDay,calendarLanding);whenFromGroupandwhenToGroupmap the group's days to the When step. Wordstour_photos,tour_empty_sparsein en, it, de, fr. Teststests/booking-elements-guest-{chrome,signin,who}.test.mjs,tests/booking-elements-when.test.mjs,tests/booking-elements-react-tour.test.mjs. -
/next:createFlowRoute, the booking route's core, which takes a host's own API call and a server secret for the capability;createBookingRouteruns on it with unchanged behaviour. The route keeps the guest session (code-check,password,sessionwith the#c=confirm's password) in its own HttpOnly cookieog_booking_session, answers the page only the name, email and end time, and sendsX-Guest-Sessiononme,people,again,link,sign-outand onbookwhen signed in;sign-outand a 404 clear it. Every GBF token operation sends exactly one credential header (credentialHeaders, exported).@stripe/stripe-jsis an optional peer dependency (the package keeps its own structural types). Teststests/booking-elements-route-session.test.mjs,tests/booking-elements-route.test.mjs,tests/booking-elements-flow-operations.test.mjs. -
/corekit.ts, the Kit and extras step's model (BUILD.md step 6, canvas page 6, phone 6A to 6E):KitPlan(per rider kit menu and cells: rent in a size, own, not needed, fitted at the shop; head size; extras with who and which days),kitItemsOf,kitFor,kitSuggest,kitCell,kitPickMenu,kitFullForAll,kitSetCell,kitSetHead,kitProblems,kitWaysOut,kitTakeWayOut,kitToggleExtra,kitSetExtra. Pure, no prices made: an item's day price is the read's, totals are the quote's. Additive. -
/reactKitBoard, the booking flow's step 6 (canvas page 6 Kit A to H, phone 6A to 6E), and its partsKitBib,KitMenuPick,KitCircle,KitLegend,KitDecision,KitCost,KitExtras,KitCellSheet,KitRiderSheet;kitSummary,kitBandand the other sayers (react/kit/say.ts), wordswords/kit.tsin en, it, de, fr. Computer: riders across with a kit menu each, items down, a circle per rider per item, the cell editor (rent, own, not needed, sizes with what is free, a helmet's head size, fitted at the shop), What it costs, Full kit for everyone, extras. Phone: a row per rider, their kit in a sheet, extras under the riders. A must left out is a decision card (a sheet on a phone) and Next waits. New partskit-step,kit-bib,kit-menu,kit-circle,kit-legend,kit-decision,kit-cost,kit-extras,kit-extra,kit-cell,kit-rider. No theme token added. -
Kit and extras on the group state (E1): the group step
KitStep(react/group) draws the board (KitBoard, react/kit, controlled by aKitPlan) from the group state and sends what changed;KitGrid,KitMenuPicker,KitSizeSheetandExtrasListare drawn./corekitRidersOf,kitPlanOf,kitEventsOf,kitItemInfo; the board's menus are the group'sKitMenu("helmet" for the musts only). The group eventkit-menutakes optionalchoices(the cells the step made, sizes from each rider's fit). The kit and extra lines are the group's (groupLinesOf). Additive over E1:KitStepPropsgains optionalkindOf,kitTotal,defaultOpen;KitMenuPickerPropsoptionalitems;KitGridPropsoptionalsizes;KitSizeSheetPropsoptionalheadCm. -
/coreAPI types regenerated from the booking flow contract (outdoor-grid-api C0,docs/booking-flow-contract.mdpart B):ProductFit(build, geometry, fit ranges), per dayperiods,morningandafternoonfree words,neighbour_sizeandstand_inalternatives. -
/corefit.ts, the Bikes step's pure model:bikeFitOf(W7-06products[].fit, read defensively),motorOf,bestSizeFor,sizesFitting,fitScale,fitPercent,bikeFreeOn,bikeShortDays,placeBikeSizes(each rider's size from their height and what is free on their days: the best size, else a size away the shop's fit ranges allow, else short),bikeShortOf(theneighbour_sizeandstand_inoffers of alines_unavailablerefusal),ridersByModel,bikeDayCounts,sameBikeDays. -
/reactthe Bikes step (canvas page 5 A to D, 6b A and B, phone 5A to 5E), both layouts (side,stack). E1's stubs inreact/group/steps/bikesare filled:BikesStepon the group state (reads the riders, their days and main rentals; writesbikeandsize; Next writes the shown sizes, thennextwith the step's problem;bikesFromGroup,bikesNextEvents,ANY_BIKE,BikeLookfor what the site adds per model: 3D stage, still, picture, day price),BikeRail,BikeShowcase,SizeChart(each rider on the height scale; riders take an optionalsize) andBikeGeometry(takes an optionalmarked). The step drawn from props isBikesView, withBikeStage(the shop's 3D bike in a slot, Pause / Turn),ModelRail,WhoRides,BikeBuild(the motor badge first),RiderSizeRow,SizeAway,StandInandbikeStandInOf(a refusal's stand in as the decision card's ways on); thebikes_*words in en, it, de and fr;.og-bk-*styles on the theme tokens only. Additive. -
/reactthe Plan step of the flow (E5a), E1's stubs filled:PlanStep,PlanTimeline,PlanDayList,ChangeSheet,PlanReceipt,WhoBooksandAccountOffer(react/group, partsflow-plan,flow-timeline,flow-day-list,flow-change,flow-receipt,flow-who-books,flow-account) on the group state: canvas page 7 A to F and phone 7A to 7C. A tap opens the change sheet (who, which days, when on the day, the bike, the quote's difference from the caller before Apply); Apply sends the change aspartevents and Undo sends them back with the seats it took; a refusal of the change is a clash with its ways out; Book it opens who books it (one Name over the lead's first and last name, the rider who books or someone else, the optional account, the rental terms ticked by the guest), thenonBook; a refusal of the booking (taken) is the decision card there, its way throughonWay. The receipt is the quote rider by rider, then shared, asked lines with no price. -
/reactthe view Elements under it (react/plan):PlanBoard,PlanGrid,PlanDays,PlanLegend,PlanSheet,PlanDecision,PlanCosts,WhoBooksForm,AccountBox(partsplan-board,plan-grid,plan-days,plan-legend,plan-sheet,plan-decision,plan-costs,who-books-form): the trip as a timeline from 1024px and a day list below, one calm bar per rider per whole or half day with an icon per thing (bike, tour, shuttle), dashed when asked of the shop; the change sheet (a bottom sheet on a phone over the day being changed), a clash as a decision card (its ways as radios, the first suggested), Undo, who books it. Controlled on aPlan; money only from the quote;iconstakes a shop's own icons;clashTitleandtakenTitlesay a clash in the guest's words. Wordsplan_*in en, it, de and fr; styles inflow-plan.csson the--og-*tokens and the flow's (a pick ispickwith itspick-ring, a clash rings inwarn, bibs inbibandown). -
/coreplan.ts: the Plan's pure model on the C0 contract (planRows,barsOf,planDays,likeRiders,changeFor,toggleChip,toggleEveryone,partOf,changesPlan,applyChange,reducePlanEditwith astampso Undo's timer settles only its own change,planWaysOut,refusedLine,askFor) and who books it (WhoBooksValue,whoBooksProblems,leadOffor W7-08lead,accountOfforaccount), and the flow's group state as a plan (planOfGroupwith aPlanLookof catalog words,planEventsOf,planUndoOf,clashFor).PLAN_UNDO_MSis the Plan's Undo time (the group'sUNDO_MSis for removing a rider). Line keys stay: a change for some riders of a line moves them together onto<key>-<riders>(fromthe old key), a change for all of them edits the line in place, andaskForasks only for the short riders and days (<key>-ask), keys cut to the contract's 24. -
/reactthe guest booking flow's Elements as typed stubs (react/group), one file each for jobs E2 to E5 (the frame, the decision card and rider chips; Bikes; Kit and extras; Plan; the asked line card, the asked offer, the rider's trip page; Pay, Booked, sharing, saving and running short are the real ones inreact/finish; the chrome, What, sign in and Who are the real ones inreact/guest, When and Tour inreact/whenandreact/tour), each drawing itsog-flow-*root;StepRouterwithflowRouterandroutedPage; the stepper band's wordsstepperView/summaryWordsin en, it, de and fr; the flow's theme tokens (FLOW_THEME_TOKENS: bar, band, pick ring, bib, own, warn, each falling back to a BookingTheme token; selection stayspick),flowThemeStyle, Evolve's and Firnfink's flow tokens./styles.cssimports oneflow-*.cssper job (copied beside it indist/). -
/corethe guest booking flow's group machine (core/group):GroupState(what, riders with name, height, weight, head, level, first time and own bike, units, the trip with same days or per rider day parts, rentals with asked lines, tour seats, guide picks, tour requests, kit per rider with the kit menu, extras, the lead, who books, payment, account, saved trip),reduceGroupwith its events (door,riders,remove-riderwith a 10 s undo,saved-ridersfor signed-in riders,part,copy-days,bike,size,rental,ask,service,guide-pick,tour-request,kit,kit-menu,extra, ...),FLOW_STEPSandgroupSteps,stepProblem, the stepper summary modelstepperOf, the request buildersgroupBasketOf,groupBookingOf,savedTripOfand backgroupFromSavedTrip, the browser's picksgroupPicksOf/groupFromPicks(no names or measures),riderTotalsOf, and metric / imperial helpers. Measures always go to the API in metric. A seat sits only on its riders' riding days (a seat on a day off the trip is refused; a part set off takes the rider off that day's seats); an extra for riders is one each; Next on Bikes waits for a size (pick_size). -
/corethe guest booking flow's public routes as operations (FLOW_SITE_OPERATIONS):saved-trip-save,saved-trip,saved-trip-delete,held,asked-offer,asked-offer-answer,withdraw,share,rider-trip,code,code-check,password,payment-session,payment,pay-at-shop. Tokens travel as headers (X-Saved-Trip,X-Resume-Token,X-Offer-Token,X-Rider-Trip), never in a path./nextcreateBookingRouteserves the token ones by default and the payment ones opt in (the capability cookie unless a resume or offer token names the booking;asked-offer-answertoo, as it can answer a payment session); each flow write sends on only its contract's fields, never the browser's return address; a token call carries that one credential and no other; the email code and password sign in are not route operations (a guest session never reaches page JavaScript). -
/coreAPI types regenerated from the guest booking flow contract (outdoor-grid-api C0,docs/booking-flow-contract.mdPart B): lines with riders, day sets and periods, kit, guide picks, tour requests and asked lines; the quote per rider and shared; saved trips, email codes, the embedded Checkout session, rider trip links. Additive: no schema or path removed. -
E5b: the generated API types follow the guest booking flow contract (C0, outdoor-grid-api
docs/booking-flow-contract.md)./corepayment.ts, pure: the shop's ways to pay (paymentWays,onlineWays,payStepSkipped,payChoiceShown,defaultWay), the return page's polling of GBF-31 (CHECKOUT_POLL,checkoutPollDelay,checkoutView; it never trusts the URL), the trip day by day for Booked (agendaOf,localDay,riderNames), running short (shortDays,shortWays) and GBF-60's body (tripShareBody,isEmail), with the contract's answer types (CheckoutSession,CheckoutState,HeldTripAnswer,SavedTripAnswer,TripSharedAnswer,AskedLineView,FlowBookingView,LinesUnavailable). Words for paying, Booked, sharing, running short and coming back (words/checkout.ts,booked.ts,short.ts) in en, it, de and fr. Additive. -
E5b
/reactrunning short and coming back (Short C, Pay F):RunningShort(the short day and the ways on: book what is free and ask the shop, save the trip, the host's change; the first allowed one suggested in the pick colours),SaveTripSheet(GBF-10 by email,saveTripStep),TripWaiting(a held trip from the payment email or a saved trip,waitingOfHeld,waitingOfSaved) andTripGone. Helpers namedShortDayChange,shortDayLabelandbookedWeekdayso they never clash with the When step's. -
E5b
/reactBooked (Plan G, Pay E, Short D, phone 8B):Bookedwith the status line (paid and booked, the reference), "See you Tuesday, Marco", the ticket (first pick up, Directions, Add to calendar, only throughsafeHref),TripAgenda(the trip day by day in plain sentences,agendaSentence), the asked lines with their badges, andShareTrip(send the trip to the group: an email per rider, GBF-60 once per press, then a link to copy per rider; never the booker's payment or contact details). -
E5b
/reactPay online (Pay A to D, phone 8A):PayChoiceandPayAside(only the shop's ways; full only draws no choice),PayCheckout(the trip beside Stripe's own form; declined adds "Your trip is kept, held until"),StripeCheckout(Stripe embedded Checkout mounted through a ref callback, loading and did not open; the package has no Stripe dependency: the site passesloadStripefrom@stripe/stripe-js, and bothcreateEmbeddedCheckoutPageand the olderinitEmbeddedCheckoutare taken) andPaymentReturn(checking, still waiting, declined, hold ran out)./hooksuseCheckoutStatepolls GBF-31 every 2 s for a minute, never trusting the URL, and stops at once on a 401, 403 or 404 (refusedForGood).shortDayscarries the API's free words per day, in the day's order;ShareTriptakes the shop'stimeZone; a held trip shows the API's amount as it is; a tour's sentence on Booked drops the day its words repeat (tourName). -
/coregenerated types regenerated from the booking flow contract (outdoor-grid-api C0,docs/booking-flow-contract.md): the public site read'sbooking.flow(PublicFlowSettings),kit(SiteKitItem) and the other C0 shapes. Types only, no runtime change. -
/coregenerated types follow the guest booking flow contract (C0):PublicFlowSettings,CodeSend,CodeCheck,PasswordSignIn,GuestSession, saved riders withown_bikeandhead_cm. Additive. -
/reactthe guest flow's chrome and first steps (react/guest, wordswords/guest.tsin en, it, de, fr):ShopBar,StepperBand,StepFoot,ChoiceCard,WhatStep,whatSummary,whoSummary;SignInPrompt,SignInSheet(email code or password; the site passes the GBF-20 to GBF-22 calls),signInReducerand its helpers,SavedRiders;WhoStep,RiderBib,RiderRow,RiderSheet,LevelPick,UnitsSwitch,Toggle. New partsshop-bar,band,foot,choice,what,sign-in-prompt,sign-in,saved-riders,who,bib,rider-row,rider-sheet,level,units,toggle. -
LevelWord.tip(optional): what a level means, shown as its tip; the package's bike levels carry one. -
Units: heights and weights stay in cm and kg;
heightText,weightText,heightInput,weightInput,parseHeight,parseWeight,otherUnits.useUnitsremembers metric or imperial per browser in localStorage (og-booking-units, a device setting, never personal data). -
Additive: no export removed or renamed, no theme token added; no migration.
-
/reactTourStep, the booking flow's step 4 (canvas page 4 Tour, phone 4A to 4E), and its partsTourDayRail,GuidePick,TourCard,WhoGoes,SeatDecision,TourDayEmpty,TourAsk,RideSheet,TourFoot: photo rows with the kinds of riding and a level meter, real times grouped with others and just your group, See the ride from the catalog, Let the guide pick, Who goes, the not enough seats decision card (a sheet on a phone), a day with nothing left, and private and new group requests. Controlled on aTourChoice; prices only from the read'sprice_minor. Wordstour_*in en, it, de and fr; styles underog-tour*on the--og-*tokens only. -
/coretour.ts: the Tour step's pure model on the C0 contract (tourRows,tourDays,waysOut,seatShort,toggleRider,tourReady,tourFlowOf) andtourLineOf, which builds thetour_seat,guide_pickandtour_requestline with key, riders, days, bikes and note. -
API types regenerated from the C0 contract (
openapi/public.json,src/core/generated). Additive: no change to an existing export. -
E3a: the API types regenerated from the C0 booking flow contract (outdoor-grid-api
contracts/openapi.json):booking.rental_periods,booking.flow, the per dayperiods,morningandafternoonfree words on W7-06 and W7-20, and the rest of Part B. Additive. -
E3a:
/reactthe When step of the booking flow (canvas page 3, phone 3A to 3E):WhenStep,WhenCalendar,WhenKey,WhenDays,DayHalves,ShortDayCard, the pure model (pickDay,toggleHalf,partOf,shortDays,askFor,shortChange,applyChange,daySet,whenReady,freeByDay,shopClock,halfState,blockedDays,toggleDay,wholeDay, andwhenContextOffrom W7-05'sbookingand W7-20's days) and the lines (whenSummary,whenStepLine,whenLine,shortTitle,askLine,changeLine). Wordswhen_*in en, it, de and fr; styles underog-when-*, read only from the theme tokens. Additive.
Downstream migration
- Evolve and the hosted page: pin
0.2.0exactly, in its own reviewed change, with the previous pin as the rollback. To book on the new flow drawGuestBookingFlowinsideGuestBookingProvider(README "The guest flow") and serve the route withcreateBookingRoute(nothing changes for it) orcreateFlowRoute; add@stripe/stripe-jsand allowjs.stripe.com(script and frame) in the page's CSP on the booking pages. The olderBookingFlowkeeps working. - Evolve's theme: set
pick#49583c,on-pick#f7f1de,pick-ring#a3b78f(it was cream), andnavfor the bar. - Ops at release: the Stripe publishable key on QA and production, and each shop's domain as a Stripe payment method domain for Apple Pay.
#[0.1.3] , 2026-10-19
/coreBookingRidertakes an optionalnameandweight(kg, for the bike's setup), set with theriderevent, kept in memory only like the height (never inpicksOfor the quote).siteBookingOfsends them on each person (nametrimmed to at most 120 characters,weightin whole kilograms from 10 to 250; anything else is left out, never refused):riderNameOf,riderWeightOf,RIDER_NAME_MAX,RIDER_WEIGHT_KG./reactRiderCardshows a Weight field withonWeight(weightFrom,WEIGHT_KG), and the closed row says the rider's name and weight when given. Wordsrider_weight,rider_kg,rider_weight_kg,rider_weight_hintin en, it, de and fr. Additive: no API change, no migration; repin the exact version.
#[0.1.2] , 2026-10-18
/coresiteBasketOfandsiteBookingOf: when some riders of a rent line have a size and others do not, the riders without one join the line of the size that is the line's own option instead of a second line on the same option, so the quote no longer answers 422 "Give each size once and set its quantity" while a guest fills in Who. No API change; repin the exact version.
#[0.1.1] , 2026-10-18
-
First published version (0.1.0 was tagged but never published).
-
First version (B2):
/core(the client typed from the public booking contract, the operation table,reduceBooking, the trip basket store, kinds of ride readers),/hooks(TanStack Query hooks anduseBasket) and/next(createBookingRoute,loadBookingServer). No fluxos-lib-ui peer. -
B3:
/react(the styled Elements,BookingProvider,BookingFlow) and/styles.css(reads only the--og-*theme tokens). React is a peer for/hooksand/reactonly.