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-227): use new getErrorMessage for PasswordInput
* fix(LOY-227): improve error message handling in PasswordInput component
Approved-by: Christian Andolf
Approved-by: Linus Flood
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-2401 share cache in prod
* fix: reuse cache between prod and pre-prod
* tests: add tests for generating cachePrefix
* tests: remove unnecessary reset of process.env
* tests: add tests for generateCacheKey
* fix: make sure that we don't get invalid cacheKeys
* fix: make sure that we don't get invalid cacheKeys
Approved-by: Linus Flood
fix: when floating booking widget is sticky let it have white background all the way out. SW-2427
* fix: when floating booking widget is sticky let it have white background all the way out.
Resolves SW-2427
* pr: move styling variants to it's own file
Approved-by: Christian Andolf
Feat/sw-2403 - Adding webview for MyStay
* feat/webview - added for my stay
* wip
* Passing headers so we can get the lang
* Cleanup
* Refactored and some performance improvements
Approved-by: Christian Andolf
Consolidate autocomplete search SW-2253 SW-2338
* use fuse.js for fuzzy search
* Handle weird behaviour when search field loses focus on destinationPage
* Add error logging for JumpTo when no URL was provided
* Switch to use <Typography /> over <Caption />
* fix: bookingWidget search label should always be red
* fix: searchHistory can no longer add invalid items
* fix: list more hits when searching
* fix: issue when searchField value was undefined
* fix: don't show searchHistory label if no searchHistory items
* simplify skeleton for listitems in search
Approved-by: Linus Flood
really this shouldn't be needed but in multiple cases we're passing the field name as id which causes multiple labels to use the same for value. really we should just omit this prop unless necessary so we don't need to generate it like this.
fix: now using the correct method to instantiate motion since its constructor is deprecated in favor of the create method
Approved-by: Chuma Mcphoy (We Ahead)
fix: SW-2375 Tracking on booking-flow soft navigations based on query params
* fix: SW-2375 Tracking on booking-flow soft navigations based on query params
* fix: SW-2375 Restricted query params check to booking widget params
* fix: SW-2375 Moved empty check before other regex check
Approved-by: Tobias Johansson
hotfix: uncomment new stuff that broke destination page
* hotfix: uncomment new stuff that broke destination page
Approved-by: Michael Zetterberg
Approved-by: Joakim Jäderberg
* 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