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
Feat/SW-2113 allow feature combinations
* feat(SW-2113): Refactor features data to be fetched on filter room filter change
* feat(SW-2113): added loading state
* fix: now clear room selection when applying filter and room doesnt exists. And added room features to mobile summary
* fix
* fix: add package to price details
* feat(SW-2113): added buttons to room filter
* fix: active room
* fix: remove console log
* fix: added form and close handler to room package filter
* fix: add restriction so you cannot select pet room with allergy room and vice versa
* fix: fixes from review feedback
* fix
* fix: hide modify button if on nextcoming rooms if no selection is made, and adjust filter logic in togglePackage
* fix: forgot to use roomFeatureCodes from input..
* fix: naming
Approved-by: Simon.Emanuelsson
fix(SW-2138): include hotel content descriptions in hotel data retrieval
* fix(SW-2138): include hotel content descriptions in hotel data retrieval
* fix(SW-2136 ): simplify hotel description handling
* refactor(SW-2136): replace Body component with Typography for hotel descriptions in HotelListingItem
Approved-by: Christian Andolf
fix: disabling handling of BRF0 (Free breakfast for L6 and L7 members) since out of scope for the release
* fix: disabling handling of BRF0 (Free breakfast for L6 and L7 members) since out of scope for the release
Approved-by: Simon.Emanuelsson
The number of breakfasts and total sums weren’t correctly calculated. This fixes that.
Also changes display logic of when the ancillaries sections are shown
Approved-by: Bianca Widstam
feat(SW-2068): Link to Correct Public URL from within My Stays Overview Page
* feat(SW-2068): Link to Correct Public URL from within My Stays Overview Page
- Added language parameter to previous and upcoming stays queries.
- Updated Client components to utilize the new language hook.
- Refactored EmptyUpcomingStays component to dynamically generate links based on the current language.
- Adjusted user input validation to include optional language parameter.
* refactor(SW-2068): Update EmptyUpcomingStays components to use PUBLIC_URL + add utility to handle TLD based on language
* chore(SW-2068): Clarify TLD
* feat(SW-2068): documentation for getTldForLanguage
* refactor(SW-2068): Simplify booking URL construction in updateStaysBookingUrl
* refactor(SW-2068): Remove incorrect TLD update logic from booking URL construction
* refactor(SW-2068): Centralize booking URL paths using myBookingPath constant
* refactor(SW-2068): Streamline search params in booking URL construction logic in updateStaysBookingUrl
Approved-by: Christian Andolf
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
Feat(SW-2083) missing booking codes scenarios my stay
* feat(SW-2083) Show points instead of reward nights
* feat(SW-2083) added support for cheque and voucher for totalPrice
Approved-by: Niclas Edenvin
feat(SW-2033): Added new route for fetching room features, and merged the data with existing availability data
* feat(SW-2033): Added new route for fetching room features, and merged the data with existing availability data
* fix: issue with total price not including room features
* fix: add return null
* fix
* fix
* fixes from PR feedback
Approved-by: Arvid Norlin
Feat(tracking): add sessionId to all events. Fixed some invalid session bugs
* Feat(tracking): add sessionId to all events. Fixed some invalid session bugs
Approved-by: Anton Gunnarsson
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
feat(SW-2057) Fixed issues with age:bedType for children and that you couldn't check for availability in MyStay
* feat(SW-2057) Fixed issues with age:bedType for children and that you couldn't check for availability in MyStay
Approved-by: Niclas Edenvin
Fix/destination pages cache keys
* fix(destionationpages): add tag to citydatabycityidentifier that should invalidate when publishing city
* Fixed building tag the same way and added comment why we need this extra tag
Approved-by: Erik Tiekstra