feat(BOOK-595): fixed correct tracking values and enter details pageview tracking
* feat(BOOK-595): fixed correct tracking values and enter details pageview tracking
* Fixed on SAS as well
Approved-by: Joakim Jäderberg
fix(sas auth): remove session when we get a RefreshAccessTokenError
* fix(sas auth): remove session when we get a RefreshAccessTokenError
Approved-by: Linus Flood
fix(SW-3627): Pass social session user token to payment callback apge
* Pass social session user token to payment callback apge
Approved-by: Linus Flood
Feature/SW-3595 Add info boxes to SAS start page & Eurobonus alert to select-hotel page on SAS
* wip
* feat(SW-3595): Add info boxes to SAS start page
* Add InfoBox to design-system
* Add background gradient to SAS start page
* update variable naming and conditionalize the eurobonus message on select-hotel
* SAS startpage update default message
* make select-hotel a bit more generic with slot={} instead of alert={}
Approved-by: Anton Gunnarsson
feature(SAS): add simple url for entering the booking flow /[lang]/book-hotel/[city]
* Merged in fix/book-115-hidden-focus-indicators (pull request #2925)
Fix/book 115 hidden focus indicators
* added focus ring to "how it works" text and close button in modal
* fix(BOOK-115): added focus ring to Hotel Sidepeek close button
* fix(BOOK-115): enabled selecting ancillaries with keyboard nav
* fix(BOOK-115): added focus indicator to "View and print receipt" in Manage Stay
* fix(BOOK-105 & BOOK-115): combined the two radio groups in payment selection to one, fixes focus indicator issue
* fix(BOOK-115): added focus indicator to shortcut links
* fix(BOOK-115): updated ancillaries keyboard selection
* fix(BOOK-115): removed tabIndex from Link component
* fix(BOOK-115): fixed single payment radio button not focusable
* fix(BOOK-115): updated to onKeyDown
* added id to "credit card"
* removed toUpperCase() on lables
* removed brackets
* moved the focus indicator to the DS Button component
* removed !important from ButtonLink css
* changed <label> to <fieldset> and <legend> and added aria…
* Merged in feat/sw-3596-console (pull request #3100)
feat(SW-3596): added lint rule for no console.log. Use logger instead.
* feat(SW-3596): added lint rule for no console.log. Use logger instead.
Approved-by: Joakim Jäderberg
* Merged in fix/BOOK-457-select-rate-lowestroomprice- (pull request #3061)
* Fix(BOOK-457): Reduced lowestRoomPrice tracking call from multiple times to one
* fix(BOOK-457): feat(SW-3590): Included RoomsLoadedEvent on select-rate page
Approved-by: Linus Flood
* Merged in feature/SW-3506-refresh-tokens (pull request #3064)
feature(SW-3506): refresh-tokens setup for SAS Eurobonus
* feature(SW-3506): refresh-tokens setup for SAS Eurobonus
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/SW-3506-refresh-tokens
Approved-by: Anton Gunnarsson
* Merged in feat/BOOK-434-users-should-redirect-to- (pull request #3087)
* feat(BOOK-434): Redirect user to city/country page if wrong filter url
* feat(BOOK-434): Handled map view
Approved-by: Erik Tiekstra
* Merged in fix/SW-3553-logged-in-details- (pull request #3073)
* fix(SW-3553): Fixed screen scolled & locked on click of menu
Approved-by: Joakim Jäderberg
* Merged in feat/book-522-align (pull request #3101)
feat(BOOK-522): align items in topmenu, header and booking widget
* feat(BOOK-522): align items in topmenu, header and booking widget
* Delete old css variable and use new
* Fixed underline on icons
Approved-by: Erik Tiekstra
* Merged in fix/LOY-444-points-to-keep-left-text (pull request #3086)
fix(LOY-444): fix markerLabel text when left aligned
* fix(LOY-444): fix markerLabel text when left aligned
Approved-by: Matilda Landström
* Merged in chore/replace-graphql-tag/loader (pull request #3096)
Use turbopack for dev builds.
Remove graphql-tag/loader, replaced by gql`` tag literals instead.
Approved-by: Linus Flood
* Merged in fix/system-fragment (pull request #3102)
fix: faulty system fragment
* fix: faulty system fragment
Approved-by: Linus Flood
* fix(BOOK-498): removed and changed z-index values to have booking widget overlapping correctly on mobile.
Approved-by: Bianca Widstam
Approved-by: Hrishikesh Vaipurkar
* Merged in revert-gql (pull request #3104)
Revert gql
* Revert "Merged in fix/system-fragment (pull request #3102)"
This reverts commit 0d479eb337.
* Revert "Merged in chore/replace-graphql-tag/loader (pull request #3096)"
This reverts commit e9bd159e98.
* Merged in fix/BOOK-438-breadcrumbs-seo-filter (pull request #3103)
feat(BOOK-438): add breadcrumbs on seofilter pages
* feat(BOOK-438): add breadcrumbs on seofilter pages
* feat(BOOK-438): remove unused function
Approved-by: Hrishikesh Vaipurkar
* Merged in chore/regular-price-tests (pull request #3075)
chore: Add tests for regular price calculations
* Add tests for calculateRegularPrice
* Add tests for getRegularPrice
* Add multiroom test
Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
* Merged in fix/wrap-webviews-with-sessionprovider (pull request #3111)
Wrap webviews with SessionProvider
* wrap webviews with sessionprovider
Approved-by: Linus Flood
* feat(BOOK-488): Trimming booking code before validating
Approved-by: Bianca Widstam
* feat(BOOK-472): Different placement of no availability alert on mobile viewports
Approved-by: Bianca Widstam
* Merged in feat/sw-3601-hookfix (pull request #3113)
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
* Merged in fix/add-missing-partner-data (pull request #3116)
fix: Add param to getScandicUser for extended data
* Add param to getScandicUser for extended data
Approved-by: Linus Flood
* Merged in feat/sw-3596-cache (pull request #3106)
feat(SW-3598): Don't call redis api if cachetime=0
* feat(SW-3596): no cache if ttl=0
* Fixed on set as well
* No cache if redemption
* Revert no cache if redemption
Approved-by: Joakim Jäderberg
* feat(BOOK-212): Refactored LoginButton and added successful tracking functionality
Approved-by: Linus Flood
* Merged in fix/document-undefined (pull request #3118)
Fix/document undefined
* fix: check if document is undefined
* fix: check if document is undefined
Approved-by: Linus Flood
* Merged in feat/sw-3604-webviews (pull request #3123)
feat(SW-3604): wrap mystay with bookingflowconfig
* feat(SW-3604): wrap mystay with bookingflowconfig
Approved-by: Joakim Jäderberg
* Merged in feature/turbopack (pull request #3117)
Feature/turbopack
* .
* .
* pin import-in-the-middle
* update marker
* revert back to using *.graphql.ts
Approved-by: Linus Flood
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/simple-sas-book-url
feature(SW-3506): refresh-tokens setup for SAS Eurobonus
* feature(SW-3506): refresh-tokens setup for SAS Eurobonus
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/SW-3506-refresh-tokens
Approved-by: Anton Gunnarsson
fix(SW-3549): update social session management functions for clarity and consistency
* refactor(SW-3549): rename session management functions for clarity and consistency
* merge
Approved-by: Hrishikesh Vaipurkar
feat(SW-3541): Do social login after login to SAS
* feat(auth): wip social login via curity
* Setup social login auth flow
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/curity-social-login
* Added support for getting scandic tokens and refresh them
* feat: Enhance social login and session management with auto-refresh and improved error handling
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/curity-social-login
* wrap layout in suspense
* revert app/layout.tsx
* fix import
* cleanup
* merge
* merge
* dont pass client_secret in the url to curity
* add state validation when doing social login through /authorize
* remove debug logging
Approved-by: Anton Gunnarsson
feat(SW-3514): Add variant of join friends card with membership id input
* Move membershipId input in enter details to join card
Add booking flow feature flag to move membershipId into join card and hide login button.
Currently only applies to first room.
* Add sas join card to multiroom
Approved-by: Hrishikesh Vaipurkar
feat(SW-3520): Updated the footer
* feat(SW-3520): Updated links to route to scandic web
* feat(SW-3520): Updated the footer with language switcher
* feat(SW-3520): Updated the Contact-us link and removed double slash
Approved-by: Anton Gunnarsson
fix: (SW-3495): Update booking-flow links in partner-sas
* Update links to scandic web in booking-flow
* Fix routeToScandicWeb util function
Approved-by: Hrishikesh Vaipurkar
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
Setup booking-confirmation page in SAS
* Setup booking-confirmation page in SAS
move booking-confirmation tracking to booking-flow
* remove unused param
* Add test cards to documentation
* Fix payment callback page to use correct status
Approved-by: Anton Gunnarsson
Approved-by: Hrishikesh Vaipurkar
chore: Misc for partner-sas
* Add global-error to partner-sas
* Add redirect to lang in partner-sas
* Actually use language from param
* Increase test timeouts and use parsed lang to fix tests
* Remove need to import serverClient to setup trpc
Approved-by: Hrishikesh Vaipurkar
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
fix(SW-1655): update design tripadvisor on hotel map card
* fix(SW-1655): update design tripadvisor on hotel map card
* fix(SW-1655): update radius
* fix(SW-1655): use tripadvisor chip, create different variants
* fix(SW-1655): update variants, storybook, and global css
Approved-by: Joakim Jäderberg