feat(BOOK-377): keep dates and rooms & guest in session storage
* feat(BOOK-377): keep dates and rooms & guest in session storage
* feat(BOOK-377): extract to hook and reuse
Approved-by: Erik Tiekstra
feat(SW-2782): Updated header as per design, added language switcher and user menu
* feat(SW-2782): Updated header as per design, added language switcher and user menu
* feat(SW-2782): Updated UI as per design
* feat(SW-2782): Optimised code with use of Popover and modal from RAC
Approved-by: Anton Gunnarsson
Feat/SW-3461 setup auth with sas eurobonus
* feat(SW-3461): Setup auth for sas eurobonus
* .
* feat: setup auth towards SAS
* Fix auth via SAS and add logout route
* .
* merge
* auth via SAS
* fix powered by scandic logo
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feat/SW-3461-setup-auth-with-sas-eurobonus
* Include access_token in jwt after successful login
* merge
Approved-by: Anton Gunnarsson
fix(STAY-67): redirect to webview after guarantee on my stay
* fix(STAY-67): redirect to webview after guarantee on my stay
* fix(STAY-67): add callback page for guarantee on webview
Approved-by: Linus Flood
Chore/SW-2878 extract booking confirmation pag
* chore(SW-2878): Moved booking confirmation page to booking-flow package
* chore(SW-2878): Fixed promo styles as per design
* chore(SW-2878): Kept tiny duplicate function to avoid export from booking-flow package
Approved-by: Anton Gunnarsson
SW-3396 move my saved cards to design system
* Move PaymentOption, PaymentOptionsGroup, PaymentIcons and MySavedCards (renamed SelectPaymentMethod) to design-system
* Remove unused svg payment icons
* cleanu
* cleanup
* trackUpdatePaymentMethod: remove hotelId argument that was never passed
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
chore(SW-3246): Moved Alert component into design system
* chore(SW-3246): Moved Alert component into design system
* chore(SW-3246): Optimsed code and imports
* chore(SW-3246): Moved type AlertTypeEnum and other to common package
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
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