fix(SW-1702): Check if map view in Booking widget
* fix(SW-1702): Check if map view in Booking widget
* fix: change includes to endsWith
Approved-by: Arvid Norlin
fix(SW-2626): add multiroom reward error message for mobile
* fix(SW-2626): add multiroom reward error message for mobile
* fix(SW-2626): error message to red color
* fix(SW-2626): fix errorContainer
* fix(SW-2626): fix button fullwidth
* fix(SW-2626): fix button fullwidth
* fix(SW-2626): add design
* fix(SW-2626): add new colors for checkbox
* fix(SW-2626): new color for input
* fix(SW-2626): fix pr comment
* fix(SW-2626): final ui for desktop and mobile
Approved-by: Hrishikesh Vaipurkar
feat: SW-2653 Implemented click tracking on Search btn and lang switch
* feat: SW-2653 Implemented click tracking on Search btn and lang switch
Approved-by: Erik Tiekstra
fix: SW-2838 Use of city identifier instead of city name
* fix: SW-2838 Updated selection to city identifier instead of city name
Approved-by: Christian Andolf
Approved-by: Linus Flood
Fix: refactor booking flow search params
* wip: apply codemod and upgrade swc plugin
* wip: design-system to react 19, fix issues from async (search)params
* Prepare new parse function for booking flow search params
* Prepare serialize function for booking flow search params
* Improve handling of comma separated arrays
* Slightly refactor for readability
* Next abstracts URLSearchParams so handle the abstraction instead
* Refactor booking widget to use new search params parsing
* Rename search param functions
* Refactor select-hotel to use new search param parser
* Use new search params parser in select-rate and details
* Fix hotelId type
* Avoid passing down search params into BookingWidget components
* More updates to use new types instead of SearchParams<T>
* Remove types SelectHotelSearchParams and AlternativeSelectHotelSearchParams
* Fix parseBookingWidgetSearchParams return type
* Add error handling to booking search param parsers
* Fix modifyRateIndex handling in details page
* Clean up
* Refactor booking widget search param serializing to util function
* Move start page booking widget search param parsing to page
* Use new search param serializer in HandleErrorCallback
* Delete convertSearchParamsToObj & convertObjToSearchParams
Approved-by: Michael Zetterberg
Feat/sw 1245 - Booking widget - change button text when new values
* feat(sw-1245) - use isDirty to update button text
* Change text only in booking flow
* Revert test code
Approved-by: Michael Zetterberg
fix(SW-2534): Added validation error and fixed initial month in date picker for BW
* Merged in revert-version (pull request #2128)
revert including version in layouts and api responses
* revert including version in layouts and api responses
Approved-by: Linus Flood
* feat: prevent users from selecting the same room when there is no vacancy for it
* Merged in fix/no-my-stay-for-external-bookings (pull request #2126)
fix: Only link web and app bookings to my stay
Approved-by: Joakim Jäderberg
* Merged in fix/bookingwidget-fixes (pull request #2135)
Fix: (#SW-2663) bookingwidget mobile - Space around, border-radius and correct color on date field
* fix: booking widget mobile - padding around booking widget and date color
* Fixed rounded corners
* Reduced minimum size of column
Approved-by: Joakim Jäderberg
* Merged in fix/LOY-105-signupform-error-messages (pull request #2121)
feat(LOY-105): update signup form validation messages
* feat(LOY-105): improve signup form validation messages
Approved-by: Erik Tiekstra
* fix(LOY-199): add missing benefits link
* Merged in feat/SW-2340-aa-tracking-my-stay-pageview- (pull request #2133)
feat: SW-2340 Implemented tracking on my-stay, webview my-stay and receipt page
* feat: SW-2340 Implemented tracking on my-stay, webview my-stay and receipt page
* feat: SW-2340 Updated webview tracking
* feat: SW-2340 Updated receipt tracking
Approved-by: Linus Flood
* Merged in fix/SW-2804-missing-meeting-rooms (pull request #2138)
fix: return [] when we get a 404 for meeting rooms for a hotel
* fix: return [] when we get a 404 for meeting rooms for a hotel
Approved-by: Linus Flood
* feat(auth): limit output in session endpoint
* fix(SW-2376): Vertically centered previous/next buttons inside carousel cards
Approved-by: Matilda Landström
* fix(SW-2055): Surrounded ul inside JsonToHtml with a typography component
Approved-by: Matilda Landström
* fix(SW-2621): Breaking too long words on heading inside destination city pages
Approved-by: Matilda Landström
* Merged in fix/sw-2763-external-scripts (pull request #2104)
fix: try/catch external scripts to avoid them breaking our page #sw-2763
* fix: try/catch external scripts to avoid them breaking our page #sw-2763
Approved-by: Joakim Jäderberg
* fix: handle non loaded surprises in case they're returned as null from server
* feat(SW-2806): booking widget should not be blocked by sitewide alert
* Merged in fix/remove-on-error (pull request #2142)
fix: revert onError on the Script component
* fix: revert onError on the Script component
* Merged in fix/alert-icon (pull request #2139)
fix(SW-2807): alert icons
* fix(SW-2807): fix incorrect icon color on sitewide alert
* fix(SW-2807): change error icon
Approved-by: Erik Tiekstra
Approved-by: Linus Flood
* Merged in feat/SW-2760-SW-552-wellness-openinghours (pull request #2112)
fix(SW-2760, SW-2552): fix opening hours wellness sidepeek
* fix(SW-2760, SW-2552): fix opening hours wellness sidepeek
Approved-by: Erik Tiekstra
* Merged in feat/SW-1749-sidepeek-hotel-cta (pull request #2123)
feat(SW-1749): add link to hotel page in sidepeek
* feat(SW-1749): add link to hotel page in sidepeek
Approved-by: Matilda Landström
* fix(SW-2811): suggest list should follow where-to-field
* fix(SW-2451): placement of suggest list
* Merged in fix/SW-2684-booking-widget-text-overflow (pull request #2048)
fix(SW-2684): truncate overflowing text in booking widget
* fix: truncate overflowing text in booking widget
* fix: change Body to Typography and css selector fix
Approved-by: Hrishikesh Vaipurkar
* Merged in feat/SW-2800-lightbox-history-state (pull request #2147)
feat(SW-2800): closing image gallery and lightbox on using browser navigation
* feat(SW-2800): closing image gallery and lightbox on using browser navigation
Approved-by: Linus Flood
* Merged in fix/enter-details-footer-margin (pull request #2150)
fix: margin to footer on enter details
* fix: margin to footer on enter details
* Merged in fix/SW-2822-missing-meetingroom-images (pull request #2151)
fix: meeting rooms with missing images
* fix: meeting rooms with missing images
Approved-by: Linus Flood
Approved-by: Bianca Widstam
hotfix: removed link button and show a normal button instead
* hotfix: removed link button and show a normal button instead
Approved-by: Joakim Jäderberg
fix(SW-2668): added search term and room details to tracking
* fix(SW-2668): added search term and room details to tracking
* fix: change to optional type
Approved-by: Christian Andolf
Approved-by: Matilda Landström
fix: colors of the search field on <JumpTo/> had inverted behaviour
* fix: colors of the search field on <JumpTo/> had inverted behaviour
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
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
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
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