Feature/SW-1736 floating booking widget
* feature: Add floating booking widget on start page SW-1736
* fix: Make sure we don't try to use IntersectionObserver on the server
* fix: make sure that we disconnect the intersectionobserver when dismounting
* fix: pass searchparams to floating bookingwidget
Approved-by: Michael Zetterberg
Update english copy for SAS related flows
* Update english copy for SAS related flows
* Add new copy to all languages
* Add use client directive to loading to use translations
Approved-by: Joakim Jäderberg
Feat/SW-1997 tracking gla my stay ancillaries
* feat(SW-1996): tracking gla my stay
* feat(SW-1996): update gla tracking
* feat(SW-1996): fix comment
* feat(SW-1997): add tracking for gla my stay and ancillaries
* feat(SW-1997): rebase master
* feat(SW-1997): fix duplicate import
* feat(SW-1997): add hotelId and category for ancillaries, and add more tracking
* feat(SW-1997): remove commments and fix spelling mistake
* feat(SW-1997): if addAncillary failed, but guarantee is successful, default to card in booking
Approved-by: Niclas Edenvin
Switches out all the old icons to new ones, and moves them to the design system. The new icons are of three different types: Materialise Symbol, Nucleo, and Customized. Also adds further mapping between facilities/amenities and icons.
Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
Suspense destination pages fixes and some performance improvements
* Suspense destination pages fixes and some performance improvements
Approved-by: Erik Tiekstra
* feat(SW-1230): Changes to script to be able to reload after soft navigation
* feat(SW-1756): Added meeting package widget on content pages
Approved-by: Matilda Landström
Feat/warmup cache function
* WIP
* Fix warmup for all languages
* Cleanup
* Added env flag so we can disable warmup
* Changed time to 04.00 UTC since backend updates their data at 03.00 UTC
* Add return statements
* Merge branch 'master' into feat/warmup-cache-function
Approved-by: Anton Gunnarsson
Fix typography in SAS flow
* Add missing translation
* Update SAS login page typography
* Update LinkAccountFormTypography
* Update typography in OneTimePasswordForm
* Update typography of SAS link success page
* Update typography of SAS flow errors
* Update typography of SAS unlink success page
* Update typography of SAS error boundary
Approved-by: Linus Flood
feat(SW-1944) Update to correct URL to my stay (for my pages/my stays and confirmation page)
* feat(SW-1944) Update to correct URL to my stay (for my pages/my stays and confirmation page)
* feat(SW-1944) updated to RefId
* feat(SW-1944) updated myStay path
* feat(SW-1944) updated refId check
Approved-by: Christian Andolf
Feat/SW-1149 handle status polling
* feat(SW-1149): move terms and conditions sections to separate component and added copy
* feat(SW-1149): Added client component to handle success callback for payment flow
* fix: check for bookingCompleted status as well
* feat(SW-1587): use alert instead of toast for showing payment errors
* fix: added enum for payment callback status
* fix: proper way of checking for multiple statuses
* fix: update schema type
* fix: use localised link to customer service
* fix: update to use enum for status strings
Approved-by: Arvid Norlin
fix: my stay now uses ref id in query param rather than path param to support legacy
* fix: my stay now uses ref id in query param rather than path param to support legacy
Approved-by: Michael Zetterberg
SW-1732 Trigger SAS tier match
* Add endpoint for SAS tier match
* Add comment about future fix
* Move tier match to background request on my-pages/*
* Log result from tier match
* Clean up name etc
* Fix tier matched toast
Approved-by: Joakim Jäderberg
feat(SW-1078): mixed rate scenario
* feat(SW-1078): mixed rate scenario
* fix: change from css string modification to array join
* refactor: split out big reduce function into smaller parts
* fix: minor fixes and improvments
* fix: added room index map to localization string
Approved-by: Christian Andolf
Fix: Error message when copy fail. Null check on localstorage. Removed Intl from global-error.tsx
* Error message if failed to copy
* Use try/catch instead
Approved-by: Joakim Jäderberg
Feat/SW-1076 no room availability
* fix: update booking error codes
* feat(SW-1076): handle no room availabilty on enter-details
* fix: parse to json in api mutation instead of expecting json
* fix: remove 'isComplete' state from sectionAccordion because it was not needed
Approved-by: Simon.Emanuelsson