Fix/STAY-135 & STAY-127
* fix: make quantity and delivery separate steps in mobile
* fix: update design for delivery step in ancillary flow
* fix: add error state for missing time
* fix: only allow points or cash payment for ancillaries
* fix: break out stepper to design system
* fix: update design of select quantity step in add ancillaries flow
* fix: add error states for quantity
* fix: handle insufficient points case
* fix: update stepper to include optional disabledMessage tooltip
* fix: handle validations
* fix: change name to camel case
Approved-by: Bianca Widstam
Approved-by: Chuma Mcphoy (We Ahead)
fix: fix logic for identifying single use ancillaries
* fix: fix logic for identifying single use ancillaries
* fix: filter out empty categories of ancillaries
Approved-by: Erik Tiekstra
Fix/STAY-2 GLA cancelled
* fix: show toast on cancelling GLA flow
* fix: show the ancillary GLA errors as inline alerts
Approved-by: Bianca Widstam
Approved-by: Erik Tiekstra
Feat(SW-3601): useIsUserLoggedIn needs to check webview token
* fix(SW-3601): useIsUserLoggedIn needs to check webview token
* Check if we have webview token as well
* .
Approved-by: Joakim Jäderberg
fix(SW-3578): Fixed session issue when sas session expires
* fix(SW-3578): Fixed session issue when sas session expires
* base socialLogin auto-features on validSession and being linked
* remove unused object
* remove 'import server-only' for isValidSession() since it's only using passed data
* remove isValidClientSession()
Approved-by: Joakim Jäderberg
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
SW-3317 move toast to design system
* chore: Move toast to design-system and add interaction tests
* Move toast to design-system and add storybook tests
* Merge branch 'master' of bitbucket.org:scandic-swap/web into SW-3317-move-toast-to-design-system
* merge
* move sonner dependency to @scandic-hotels/design-system
Approved-by: Anton Gunnarsson
chore(SW-3298): Moved SidePeekSelfControlled to design system
* chore(SW-3298): Moved SidePeekSelfControlled to design system
Approved-by: Anton Gunnarsson
SW-3270 move interactive map to design system or booking flow
* wip
* wip
* merge
* wip
* add support for locales in design-system
* add story for HotelCard
* setup alias
* .
* remove tracking from design-system for hotelcard
* pass isUserLoggedIn
* export design-system-new-deprecated.css from design-system
* Add HotelMarkerByType to Storybook
* Add interactive map to Storybook
* fix reactintl in vitest
* rename env variables
* .
* fix background colors
* add storybook stories for <Link />
* merge
* fix tracking for when clicking 'See rooms' in InteractiveMap
* Merge branch 'master' of bitbucket.org:scandic-swap/web into SW-3270-move-interactive-map-to-design-system-or-booking-flow
* remove deprecated comment
Approved-by: Anton Gunnarsson
fix(SW-2847): move ScrollWrapper to design system and Table component
* fix(SW-2847): move ScrollWrapper to design system and Table component
Approved-by: Erik Tiekstra
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
Feature/wrap logging
* feat: change all logging to go through our own logger function so that we can control log levels
* move packages/trpc to using our own logger
* merge
Approved-by: Linus Flood
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
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(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