Feature/autocomplete search
* wip autocomplete search
* add skeletons to loading
* Using aumlauts/accents when searching will still give results
remove unused reducer
sort autocomplete results
* remove testcode
* Add tests for autocomplete
* cleanup tests
* use node@20
* use node 22
* use node22
* merge
fix: search button outside of viewport
* merge
* remove more unused code
* fix: error message when empty search field in booking widget
* fix: don't display empty white box when search field is empty and no searchHistory is present
* merge
* fix: set height of shimmer for search skeleton
* rename autocomplete trpc -> destinationsAutocomplete
* more accute cache key naming
* fix: able to control wether bookingwidget is visible on startPage
fix: sticky booking widget under alert
* remove unused code
* fix: skeletons
fix: error overlay on search startpage
* remove extra .nvmrc
* merge
Approved-by: Linus Flood
fix: site-config - use correct cache keys and invalidate them
* fix: site-config - use correct cache keys and invalidate them
Approved-by: Joakim Jäderberg
fix(SW-2118): changed variants for breadcrumbs to handle different background-colors and widths
* fix(SW-2118): changed variants for breadcrumbs to handle different background-colors and widths
Approved-by: Christian Andolf
Approved-by: Linus Flood
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