* feat(BOOK-54): Destination filters now matching on id instead of slug in preparation for filters from Contentstack
Approved-by: Chuma Mcphoy (We Ahead)
chore(SW-3395): Moved BookingConfirmationProvider to booking-flow package
* chore(SW-3395): Moved BookingConfirmationProvider to booking-flow package
Approved-by: Anton Gunnarsson
feat(SW-2873): Move select-hotel to booking flow
* crude setup of select-hotel in partner-sas
* wip
* Fix linting
* restructure tracking files
* Remove dependency on trpc in tracking hooks
* Move pageview tracking to common
* Fix some lint and import issues
* Add AlternativeHotelsPage
* Add SelectHotelMapPage
* Add AlternativeHotelsMapPage
* remove next dependency in tracking store
* Remove dependency on react in tracking hooks
* move isSameBooking to booking-flow
* Inject searchParamsComparator into tracking store
* Move useTrackHardNavigation to common
* Move useTrackSoftNavigation to common
* Add TrackingSDK to partner-sas
* call serverclient in layout
* Remove unused css
* Update types
* Move HotelPin type
* Fix todos
* Merge branch 'master' into feat/sw-2873-move-selecthotel-to-booking-flow
* Merge branch 'master' into feat/sw-2873-move-selecthotel-to-booking-flow
* Fix component
Approved-by: Joakim Jäderberg
Feature/select rate vertical data flow
* add fix from SW-2666
* use translations for room packages
* move types to it's own file
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/select-rate-vertical-data-flow
* merge
* feature/select-rate: double rate for campaing rates
* revert NODE_ENV check in Cookiebot script
* revert testing values
* fix(SW-3171): fix all filter selected in price details
* fix(SW-3166): multiroom anchoring when changing filter
* fix(SW-3172): check hotelType, show correct breakfast message
* Merge branch 'feature/select-rate-vertical-data-flow' of bitbucket.org:scandic-swap/web into feature/select-rate-vertical-data-flow
* fix: show special needs icons for subsequent roomTypes SW-3167
* fix: Display strike through text when logged in SW-3168
* fix: Reinstate the scrollToView behaviour when selecting a rate SW-3169
* merge
* .
* PR fixes
* fix: don't return notFound()
* .
* always include defaults for room packages
* merge
* merge
* merge
* Remove floating h1 for new select-rate
Approved-by: Anton Gunnarsson
feat(SW-3225): Move ParkingInformation to design-system
* Inline ParkingInformation types to remove trpc dependency
* Move ParkingInformation to design-system
* Move numberFormatting to common package
* Add deps to external
* Fix imports and i18n script
* Add common as dependency
* Merge branch 'master' into feat/sw-3225-move-parking-information-to-booking-flow
Approved-by: Linus Flood
* feat(SW-2271): Changes to hotel data types in preperation for filtering
* feat(SW-2271): Added filter and sort functionality
Approved-by: Matilda Landström
feat(SW-2859): Create trpc package
* Add isEdge, safeTry and dataCache to new common package
* Add eslint and move prettier config
* Clean up tests
* Create trpc package and move initialization
* Move errors and a few procedures
* Move telemetry to common package
* Move tokenManager to common package
* Add Sentry to procedures
* Clean up procedures
* Fix self-referencing imports
* Add exports to packages and lint rule to prevent relative imports
* Add env to trpc package
* Add eslint to trpc package
* Apply lint rules
* Use direct imports from trpc package
* Add lint-staged config to trpc
* Move lang enum to common
* Restructure trpc package folder structure
* Fix lang imports
Approved-by: Linus Flood
Feat/SW-1719 strikethrough rates
* feat(SW-1719): Strikethrough rate if logged in on regular rate cards
* feat(SW-1719): Strikethrough rate if logged in on rate summary
* feat(SW-1719): Strikethrough rate if logged in on mobile rate summary
* feat(SW-1719): Strikethrough rate if logged in on enter details
* feat(SW-1719): Strikethrough rate support for multiple rooms
* feat(SW-1719): booking receipt fixes on confirmation page
* feat(SW-1719): improve initial total price calculation
* feat: harmonize enter details total price to use one and the same function
Approved-by: Michael Zetterberg
feat(SW-2857): Refactor booking flow url updates
* Add support for removing parameters when using initial values in serializeSearchParams
* Don't manually write search params in rate store
* Booking is already from live search params so no need
* Fix input type in serializeBookingSearchParams
Approved-by: Linus Flood
chore (SW-834): Upgrade to Next 15
* wip: apply codemod and upgrade swc plugin
* wip: design-system to react 19, fix issues from async (search)params
* wip: fix remaining issues from codemod
serverClient is now async because context use headers()
getLang is now async because it uses headers()
* Minor cleanup
* Inline react-material-symbols package
Package is seemingly not maintained any more and doesn't support
React 19. This copies the package source into `design-system`,
makes the necessary changes for 19 and export it for others to use.
* Fix missing awaits
* Disable modal exit animations
Enabling modal exit animations via isExiting prop is causing
modals to be rendered in "hidden" state and never unmount.
Seems to be an issue with react-aria-components,
see https://github.com/adobe/react-spectrum/issues/7563.
Can probably be fixed by rewriting to a solution similar to
https://react-spectrum.adobe.com/react-aria/examples/framer-modal-sheet.html
* Remove unstable cache implementation and use in memory cache locally
* Fix ref type in SelectFilter
* Use cloneElement to add key prop to element
Approved-by: Linus Flood
fix: select-rate didn't update results when switching back to a recent search SW-2890
* fix: select-rate didn't update results when switching back to a recent search
Approved-by: Linus Flood
fix: check if breakfast and refill modal with correct confirmation if cancelled/error payment
* fix: check if breakfast and refill modal with correct confirmation if cancelled/error payment
* fix: only include packages with quantity
Approved-by: Linus Flood
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