fix(SW-2438): change to breakfast buffet always and replace dash with empty string
* fix(SW-2438): change to breakfast buffet always and replace dash with empty string
* fix(SW-2438): remove none from ageOfChildren
Approved-by: Tobias Johansson
Approved-by: Matilda Landström
fix(sw-2501): remove the continue buttons on enter details
This removes the continue buttons on the enter details page.
This is only that, not the refactoring of the whole enter details page with changing to one form etc. Since I just didn’t complete that refactor today I decided to do this light variant for now.
A quick explanation is that the continue buttons are removed and instead the form is submitted (meaning saving the form data to the store) on blur on the input elements IF the form is valid. If it’s invalid we change the isComplete flag in the store to false. This will hopefully also fix a bug where you were able to submit old data if the new data is invalid.
When clicking the submit button and a room is incomplete/invalid the browser scrolls to the first invalid room.
Approved-by: Erik Tiekstra
fix: SW-1879 Updated values in tracking
* fix: SW-1879 Updated bed type value in tracking
* fix: SW-1879 Updated breakfast price to indicate total price
Approved-by: Michael Zetterberg
fix(SW-1353): enter details tracking fixes
* fix(SW-1353): tracking fixes
* refactor: move code
* fix: use hasPublicPrice
* fix: update calculation for roomPrice and totalPrice
* fix: only include bedtype if it is "preselected"
Approved-by: Michael Zetterberg
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
fix(sw-1897): show member price modal immediately
* fix(sw-1897): show member price modal immediately
* Make checkbox fully controlled
* Remove action in the store that wasn't used
Approved-by: Hrishikesh Vaipurkar
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(sw-1867): Don't allow same name or membno between rooms
* fix(sw-1867): Don't allow same name or membno between rooms
We don't want to allow two different rooms to have the same firstname
and lastname combination or the same membership number.
* Fine tune validation triggers
* Add comments explaining manual validation triggering
* Change to react-hook-form built-in deps instead
Approved-by: Simon.Emanuelsson
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
* fix(SW-2247): Removed accordion like special requests block and changed button variant
* fix(SW-2247): Added additional info for bedtype selection
Approved-by: Tobias Johansson
Approved-by: Niclas Edenvin
Feat/SW-1549 map improvements
* fix: imported new icon
* refactor: rename component and set map handling to 'greedy'
* fix: show cards for 3s after hover
* refactor: update styles and added HotelPin component
* fix: change from close to back icon
* refactor: update to only use 1 state value for active pin and card
* fix: add click handler when dialog is opened
* fix: performance fixes for the dialog carousel
* fix: added border
* fix: clear timeout on mouseenter
* fix: changed to absolute import
* fix: moved hover state into the store
* fix: renamed store actions
Approved-by: Michael Zetterberg
fix(SW-2197): Properly hide benefits message element when isMemberRate is false
* fix(SW-2197): correct hiding of benefit text
Approved-by: Christian Andolf
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.