fix(SW-2608): add per night for children breakfast
* fix(SW-2608): add per night for children breakfast
* fix(SW-2608): capitalized according to figma
Approved-by: Michael Zetterberg
fix(SW-2042): hide guarantee late arrival on my stay for rewardNight
* fix(SW-2042): hide guarantee late arrival on my stay for rewardNight
Approved-by: Niclas Edenvin
We were missing the language param on some endpoints. We are still
missing it on some, but I left those without when we don't need it, e.g.
when only caring about the IDs in the response.
Ending up doing some extra things:
Consolidated booking queries: We had both cancel and cancelMany, but functionally they’re the same, only one accepts an array and the other doesn’t. Didn’t see much point in keeping the single cancel as it wasn’t used anywhere. Thus, I could rename cancelMany to be the one stop method.
remove method for API now properly supports body so we don’t have to hijack the typing in certain places
* fix(SW-2508): now sending additional params to cancel api for new contract
Approved-by: Niclas Edenvin
fix(SW-1415): add hotelId in tracking for my stay
* fix(SW-1415): add hotelId in tracking for my stay
* fix: remove toast if cancel guarantee
* fix(SW-1415): rebase master
* fix(SW-1415): fix comment shorthand hotelId
Approved-by: Christian Andolf
fix(SW-1997): only add points or card if payed with
* fix(SW-1997): only add points or card if payed with
* fix(SW-1997): use buildAncillaries function
Approved-by: Michael Zetterberg
Refactor(SW-2177): Use react aria RadioGroup & Radio for payment options
* fix(SW-SW-2177): enhance accessibility for payment options
* Added keyboard navigation support to payment options.
* Updated CSS to improve focus styles for payment option labels.
* refactor: use RadioGroup & Radio from react aria for payment options
* refactor(SW-2177): replace setValue and watch with useController for payment method handling
* fix(SW-2177): remove comment and use cx for styles on PaymentOption
* fix(SW-2177): Add keyboard focus indicator to payment option
Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
fix(sw-2444): view all ancillaries mobile
* fix(sw-2444): view all ancillaries mobile
On mobile the view all button to show all ancillaries shouldn't be
shown. It's already a carousel showing all available ancillaries.
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
Fix(LOY-222): Find my booking url handling
* fix(LOY-222): adapt findMyBooking url based on HIDE_FOR_NEXT_RELEASE
* feat(LOY-222): add current web paths for findMyBooking in multiple languages
* refactor(LOY-222): better env and new url constructions
* refactor(LOY-222): decouple env var handling from getCurrentWebUrl
* fix(LOY-222): update findMyBooking URL construction to use baseUrl
* fix(LOY-222): simplify findMyBooking URL handling for new web urls
* fix(LOY-222): Update Finnish path for hotel reservation lookup
* refactor(LOY-222): rename PUBLIC_URL to NEXT_PUBLIC_PUBLIC_URL for consistency
Approved-by: Christian Andolf
Approved-by: Linus Flood
The pinned version of @formatjs/swc-plugin-experimental has a bug in it that
doesn't allow it to parse ’. But we can't upgrade to the new version due to
incompatibilities between SWC and Next. We can upgrade once we move to Next 15.
fix(SW-2254): disable download invoice if the booking is flex
* fix(SW-2254): disable download invoice if the booking is flex
Approved-by: Simon.Emanuelsson
Feat(SW-1943): add new design for pay ancillaries with points
* fix: hide card and payment info if only quantity with points is selected
* feat(SW-1943): add new design for pay ancillaries with points
* feat(SW-1943): add missing translation
* feat(SW-1943): fix rebase
* feat(SW-1943): remove console log
Approved-by: Linus Flood
Approved-by: Matilda Landström
fix(SW-2222): update next stay url to use PUBLIC_URL and adapt based on release flag
* fix(SW-2222): update next stay url to use PUBLIC_URL and adapt based on release flag
* refactor(SW-2222): change promoUrl variable to const
Approved-by: Michael Zetterberg
Approved-by: Christian Andolf