Linus Flood
19495eed28
Merged in feat/basic-user (pull request #3135 )
...
feat(SW-3610): Get basic user from api
* feat(SW-3610): Get basic user from api
* .
* Optional profileid
Approved-by: Anton Gunnarsson
2025-11-12 14:00:56 +00:00
Joakim Jäderberg
593cb04a5a
Merged in fix/SW-3608-make-user-properties-optional (pull request #3133 )
...
fix(SW-3608): make user properties, that are based on audience, optional
* fix(SW-3608): make user properties, that are based on audience, optional
* fix(SW-3608): make user properties, that are based on audience, optional
* .
Approved-by: Anton Gunnarsson
2025-11-12 12:20:47 +00:00
Anton Gunnarsson
0b569e28ce
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
2025-11-10 15:23:07 +00:00
Chuma Mcphoy (We Ahead)
94f6af563d
Merged in feat/LOY-421-Next-Stay (pull request #3026 )
...
Feat(LOY-421): Next Stay
* feat(LOY-421): Next stay WIP
* fix(LOY-421): clean upp css and jsx
* chore(LOY-421): css cleanup
* fix(LOY-421): fix test
* only show button if isWebAppOrigin is true
* chore(LOY-421): update section header component
* chore(LOY-421): remove redundant test case
Approved-by: Matilda Landström
2025-11-05 09:09:57 +00:00
Matilda Landström
4970dfa2ed
Merged in fix/LOY-439-boosted-by-sas-bug (pull request #3047 )
...
fix(LOY-439): fix "boosted by sas" issue
* fix(LOY-439): fix "boosted by sas" issue
Approved-by: Chuma Mcphoy (We Ahead)
2025-11-04 09:09:30 +00:00
Anton Gunnarsson
eea21e67d9
Merged in feat/sw-3556-sas-userinfo-scandic-keys (pull request #3033 )
...
feat(SW-3556): Add Scandic user details to tracking userinfo if linked
* Add scandic details to userinfo if linked
Approved-by: Hrishikesh Vaipurkar
2025-10-30 12:26:57 +00:00
Joakim Jäderberg
3b3e7308cc
Merged in feat/SW-3549-pass-scandic-token (pull request #2989 )
...
Feat/SW-3549 pass scandic token
* WIP pass scandic token
* pass scandic token when booking
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feat/SW-3549-pass-scandic-token
* pass user token when doing availability search
* undo changes
* merge
* Merged in fix/sw-3551-rsc-bookingflowconfig (pull request #2988 )
fix(SW-3551): Fix issue with BookingConfigProvider in RSC
* wip move config to pages
* Move config providing to pages
* Merged in fix/update-promo-error-modal-text (pull request #2990 )
fix: update promo error modal text
* fix: update promo error modal text
Approved-by: Emma Zettervall
* Merged in fix/sw-3514-missing-membership-input-for-multiroom (pull request #2991 )
fix(SW-3514): Show join Scandic Friends card for SAS multiroom
* Show join card for room 2+
Approved-by: Hrishikesh Vaipurkar
* Merged in feat/lokalise-rebuild (pull request #2993 )
Feat/lokalise rebuild
* chore(lokalise): update translation ids
* chore(lokalise): easier to switch between projects
* chore(lokalise): update translation ids
* .
* .
* .
* .
* .
* .
* chore(lokalise): update translation ids
* chore(lokalise): update translation ids
* .
* .
* .
* chore(lokalise): update translation ids
* chore(lokalise): update translation ids
* .
* .
* chore(lokalise): update translation ids
* chore(lokalise): update translation ids
* chore(lokalise): new translations
* merge
* switch to errors for missing id's
* merge
* sync translations
Approved-by: Linus Flood
* Merged in feat/SW-3552-logout-from-social-session-when- (pull request #2994 )
feat(SW-3552): Removed scandic session on logout
Approved-by: Joakim Jäderberg
* merge
* replace getRedemptionTokenSafely() with context based instead
* Refactor user verification and error handling across multiple components; implement safeTry utility for safer async calls
* Refactor user verification and error handling across multiple components; implement safeTry utility for safer async calls
* merge
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feat/SW-3549-pass-scandic-token
* add booking scope
remove unused getMembershipNumber()
Approved-by: Anton Gunnarsson
Approved-by: Hrishikesh Vaipurkar
2025-10-24 13:17:02 +00:00
Anton Gunnarsson
710309b7eb
Merged in feat/sw-3545-update-sas-userinfo-tracking (pull request #2982 )
...
feat(SW-3545): Update partner-sas userinfo tracking
* Update loginType to eurobonus
* Remove tracking booking code properties when disabled
* Add EB user data to tracking
* Fix type issue
Approved-by: Joakim Jäderberg
2025-10-17 09:35:37 +00:00
Hrishikesh Vaipurkar
78ede453a2
Merged in feat/SW-3526-show-sas-eb-points-rate-in- (pull request #2933 )
...
feat(SW-3526): Show EB points rate and label in booking flow
* feat(SW-3526): Show EB points rate and label in booking flow
* feat(SW-3526) Optimized points currency code
* feat(SW-3526) Removed extra multiplication for token expiry after rebase
* feat(SW-3526): Updated to exhaustive check and thow if type error
Approved-by: Anton Gunnarsson
2025-10-15 06:54:44 +00:00
Chuma Mcphoy (We Ahead)
29f51e655e
Merged in fix/LOY-359-revert-to-loyalty-level-to-support-boosted-level (pull request #2954 )
...
fix(LOY-359): Revert back to allow non-native loyalty level in overview cards
* fix(LOY-359): Revert back to allow non-native loyalty level in overview cards
Approved-by: Erik Tiekstra
2025-10-13 06:51:59 +00:00
Linus Flood
205e5a1843
Merged in fix/getProfile-2 (pull request #2951 )
...
fix: get profile
* fix: get profile
Approved-by: Anton Gunnarsson
2025-10-10 10:58:14 +00:00
Linus Flood
1668baf04b
Merged in fix/getProfile (pull request #2950 )
...
Fix/getProfile
* fix(mypages): do not fetch SAS data on overview page and use correct mfa value when masking personal data
* Merge branch 'master' into fix/getProfile
* feat(profile): revert and dont mask data :O
Approved-by: Anton Gunnarsson
2025-10-10 10:42:23 +00:00
Linus Flood
f70d4d7c7f
Merged in fix/getProfile (pull request #2945 )
...
fix(mypages): do not fetch SAS data on overview page and use correct mfa value when masking personal data
* fix(mypages): do not fetch SAS data on overview page and use correct mfa value when masking personal data
Approved-by: Anton Gunnarsson
2025-10-10 07:45:06 +00:00
Anton Gunnarsson
a5759205ec
Merged in feat/sw-3525-sas-member-type-in-tracking (pull request #2931 )
...
feat(SW-3525): Set correct member type in tracking for partner-sas
* Set correct member type in tracking for partner-sas
Approved-by: Joakim Jäderberg
2025-10-09 12:47:38 +00:00
Chuma Mcphoy (We Ahead)
2f10a453d4
Merged in fix/LOY-399-include-lang-in-activate-call (pull request #2927 )
...
fix(LOY-399): Add lang to promo campaign call
* fix(LOY-399): Add lang to promo campaign call
Approved-by: Matilda Landström
2025-10-08 11:26:08 +00:00
Joakim Jäderberg
8498026189
Merged in chore/refactor-hotel-trpc-routes (pull request #2891 )
...
Chore/refactor hotel trpc routes
* chore(SW-3519): refactor trpc hotel routers
* chore(SW-3519): refactor trpc hotel routers
* refactor
* merge
* Merge branch 'master' of bitbucket.org:scandic-swap/web into chore/refactor-hotel-trpc-routes
Approved-by: Linus Flood
2025-10-01 12:55:45 +00:00
Matilda Landström
72d62e6868
Merged in feat/LOY-364-promo-activation-flow (pull request #2872 )
...
Feat/LOY-364 promo activation flow
* feat(LOY-364): add promo activation flow
* chore(LOY-371): add tracking
Approved-by: Chuma Mcphoy (We Ahead)
2025-10-01 06:39:35 +00:00
Chuma Mcphoy (We Ahead)
5bbd7eb9ab
Merged in fix/LOY-359-use-scandic-native-tier-data (pull request #2846 )
...
fix(LOY-359): Always use scandic native tier data for all level related data
* fix(LOY-359): Always use scandic native tier data for all level related data
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-09-24 13:50:32 +00:00
Linus Flood
db546d7167
Merged in feat/SW-3494-noOfNightsStayed (pull request #2832 )
...
feat(SW-3494): removed properties that we dont need in the tracking
* feat(SW-3494): removed properties that we dont need in the tracking
* Fixed waiting on user response before tracking
* Refactor and cleanup
* Cleanup
Approved-by: Joakim Jäderberg
2025-09-22 07:38:05 +00:00
Chuma Mcphoy (We Ahead)
0737f4fb78
Merged in feat/LOY-354-L7-Progress-Card (pull request #2786 )
...
Feat/LOY-354 L7 Progress Card
* feat(LOY-354): Add Trophy icon
* fix(LOY-354): include new tierPoints value
* feat(LOY-354): L7 Progress Level Card support
* refactor(LOY-354): Refactoring of component structure
* fix(LOY-354): Remove intl prop drilling
* fix(LOY-354): cleanup progress section code
Approved-by: Erik Tiekstra
2025-09-15 11:48:18 +00:00
Joakim Jäderberg
7dee6d5083
Merged in chore/move-enter-details (pull request #2778 )
...
Chore/move enter details
Approved-by: Anton Gunnarsson
2025-09-11 07:16:24 +00:00
Anton Gunnarsson
87402a2092
Merged in feat/sw-2873-move-selecthotel-to-booking-flow (pull request #2727 )
...
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
2025-09-01 08:37:00 +00:00
Joakim Jäderberg
daf765f3d5
Merged in feature/wrap-logging (pull request #2511 )
...
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
2025-07-03 12:37:04 +00:00
Chuma Mcphoy (We Ahead)
7eb8deb208
Merged in feat/LOY-232-DTMC-API-INTEGRATION (pull request #2454 )
...
feat(LOY-232): DTMC API Integration
* feat(LOY-232): DTMC API Integration
* feat(LOY-232): use employment data in team member card
* refactor(LOY-232): remove static data, return employment details in parsed response & fix tests
* refactor(LOY-232): improve DTMC API Linking error control flow + make res type safe
* fix(LOY-232): remove unused utils
* fix(LOY-232): error vars
Approved-by: Christian Andolf
Approved-by: Erik Tiekstra
2025-07-01 07:03:59 +00:00
Anton Gunnarsson
4e1cb01b84
Merged in chore/cleanup-after-trpc-migration (pull request #2457 )
...
Chore/cleanup after trpc migration
* Clean up TODOs
* Rename REDEMPTION constant to SEARCH_TYPE_REDEMPTION
* Update dependencies
Remove unused deps from scandic-web
Add missing deps to trpc package
* Update self-referencing imports
* Remove unused variables from scandic-web env
* Fix missing graphql-tag package
* Actually fix
* Remove unused env var
Approved-by: Christian Andolf
Approved-by: Linus Flood
2025-06-30 12:08:19 +00:00
Anton Gunnarsson
f0def99425
Merged in chore/remove-unused-env-vars (pull request #2463 )
...
chore: Remove unused env vars and feature toggles
* Remove unused env vars and feature toggles
Approved-by: Joakim Jäderberg
2025-06-30 07:48:05 +00:00
Anton Gunnarsson
01ca2b4897
Merged in feat/sw-2867-move-user-router-to-trpc-package (pull request #2428 )
...
Move user router to trpc package
* Move more schemas in hotel router
* Fix deps
* fix getNonContentstackUrls
* Fix import error
* Fix entry error handling
* Fix generateMetadata metrics
* Fix alertType enum
* Fix duplicated types
* lint:fix
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
* Fix broken imports
* Move booking router to trpc package
* Move partners router to trpc package
* Move autocomplete router to trpc package
* Move booking router to trpc package
* Remove translations from My Pages navigation trpc procedure
* Move navigation router to trpc package
* Move user router to trpc package
* Merge branch 'master' into feat/sw-2862-move-booking-router-to-trpc-package
* Merge branch 'feat/sw-2862-move-booking-router-to-trpc-package' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'feat/sw-2865-move-navigation-router-to-trpc-package' into feat/sw-2867-move-user-router-to-trpc-package
* Merge branch 'master' into feat/sw-2867-move-user-router-to-trpc-package
Approved-by: Linus Flood
2025-06-27 07:07:49 +00:00
Anton Gunnarsson
00bcdaaa28
Merged in feat/sw-2865-move-navigation-router-to-trpc-package (pull request #2427 )
...
feat(SW-2862): Move navigation router to trpc package
* Fix most errors in scandic-web
Just 100 left...
* Move Props type out of trpc
* Fix CategorizedFilters types
* Move more schemas in hotel router
* Fix deps
* fix getNonContentstackUrls
* Fix import error
* Fix entry error handling
* Fix generateMetadata metrics
* Fix alertType enum
* Fix duplicated types
* lint:fix
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
* Fix broken imports
* Move booking router to trpc package
* Move partners router to trpc package
* Move autocomplete router to trpc package
* Move booking router to trpc package
* Remove translations from My Pages navigation trpc procedure
* Move navigation router to trpc package
* Merge branch 'master' into feat/sw-2862-move-booking-router-to-trpc-package
* Merge branch 'feat/sw-2862-move-booking-router-to-trpc-package' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package
* Merge branch 'master' into feat/sw-2865-move-navigation-router-to-trpc-package
Approved-by: Linus Flood
2025-06-27 06:54:49 +00:00
Anton Gunnarsson
e572d9e7e9
Merged in feat/sw-2862-move-booking-router-to-trpc-package (pull request #2421 )
...
feat(SW-2861): Move booking router to trpc package
* Use direct imports from trpc package
* Add lint-staged config to trpc
* Move lang enum to common
* Restructure trpc package folder structure
* WIP first step
* update internal imports in trpc
* Fix most errors in scandic-web
Just 100 left...
* Move Props type out of trpc
* Fix CategorizedFilters types
* Move more schemas in hotel router
* Fix deps
* fix getNonContentstackUrls
* Fix import error
* Fix entry error handling
* Fix generateMetadata metrics
* Fix alertType enum
* Fix duplicated types
* lint:fix
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
* Fix broken imports
* Move booking router to trpc package
* Move partners router to trpc package
* Move autocomplete router to trpc package
* Move booking router to trpc package
* Merge branch 'master' into feat/sw-2862-move-booking-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 13:21:16 +00:00
Anton Gunnarsson
bbcabfa0ba
Merged in feat/sw-2864-move-hotels-router-to-trpc-package (pull request #2410 )
...
feat (SW-2864): Move booking router to trpc package
* 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
* WIP first step
* update internal imports in trpc
* Fix most errors in scandic-web
Just 100 left...
* Move Props type out of trpc
* Fix CategorizedFilters types
* Move more schemas in hotel router
* Fix deps
* fix getNonContentstackUrls
* Fix import error
* Fix entry error handling
* Fix generateMetadata metrics
* Fix alertType enum
* Fix duplicated types
* lint:fix
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
* Fix broken imports
* Move booking router to trpc package
* Merge branch 'master' into feat/sw-2864-move-hotels-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 09:02:59 +00:00