Rasmus Langvad
c65091b36a
Merged in feat/SW-3644-storybook-v10 (pull request #3240 )
...
feat(SW-3644): Storybook v10
* Auto update to Storybook v10
* Add scandic theme and logo
* Update yarn.lock
* Update formatting of package.json
* Update vitest config and playwright plugin
* Remove vitest 4 update
* Re-added comment
* Update the Typography component to explicitly return React.ReactNode
* Add an explicit type assertion to the export
* Add an explicit type assertion to the export for Checkbox
* Explicit return type assertion
* Add an explicit type assertion to the export
* Update @types/react and fix ts warnings
* Updated typings
Approved-by: Linus Flood
Approved-by: Matilda Landström
2025-11-28 08:05:40 +00:00
Chuma Mcphoy (We Ahead)
494bfe10f3
Merged in feat/profile-consent-feature-branch (pull request #2900 )
...
feat(LOY-268): Feature branch for profiling consent work
* feat: Add feature branch for profile and consent work
* Merged in feat/LOY-268-profile-consent-banner-comp (pull request #2908 )
Feat/LOY-358 profile consent banner component
* feat: Add feature branch for profile and consent work
* feat(LOY-268): create banner
* feat(LOY-268): Create personalization banner component
Approved-by: Chuma Mcphoy (We Ahead)
* feat(LOY-268): create banner
* feat(LOY-268): Create personalization banner component
* Merged in feat/profile-consent-contentstack (pull request #2921 )
Feat(LOY-389): Profile consent in Contentstack
* feat(LOY-268): create banner
* feat(LOY-268): Create personalization banner component
* chore(LOY-348): add profiling consent as CS entry
* chore(LOY-348): add banner as dynamic content
Approved-by: Chuma Mcphoy (We Ahead)
* Merged in feat/LOY-347-Profile-consent-modal-phase-1 (pull request #2901 )
Feat(LOY-347): Profiling Consent Modal (phase 1)
* feat(LOY-347): Profile Consent Modal base functionality
* feat(LOY-347): Add Icon
* feat(LOY-347): Add Benefit Cards to Profile consent modal
* feat(LOY-347): Add accordion to profile consent modal
* fix(LOY-347): scroll behaviour
* Fix(LOY-347): fade in/out animations of profile consent modal
* fix(LOY-347): White Ellipsis Around Icons
* feat(LOY-347): Implement ability to open modal from banner
* fix(LOY-347): minor fixes
* fix(LOY-347): replace old spa icon
* fix(LOY-347): re-add env vars
* fix(LOY-347): File renaming and cleanup
* chore(LOY-347): Update readme
* fix(LOY-347): use correct space var
* fix(LOY-347): Add TODO comment for adding link to accordion
Approved-by: Matilda Landström
* Merged in fix/LOY-386-profiling-consent-modal-contentstack (pull request #2930 )
Fix(LOY-386): profiling consent modal contentstack
* feat(LOY-347): Profile Consent Modal base functionality
* feat(LOY-347): Add Icon
* feat(LOY-347): Add Benefit Cards to Profile consent modal
* feat(LOY-347): Add accordion to profile consent modal
* fix(LOY-347): scroll behaviour
* Fix(LOY-347): fade in/out animations of profile consent modal
* fix(LOY-347): White Ellipsis Around Icons
* feat(LOY-347): Implement ability to open modal from banner
* fix(LOY-347): minor fixes
* fix(LOY-347): replace old spa icon
* fix(LOY-347): re-add env vars
* fix(LOY-347): File renaming and cleanup
* fix(LOY-386): Use contentstack content for profile consent modal
* fix(LOY-386): beneift cards schema transform
* chore(LOY-386): remove usememo
* fix(LOY-386): fix modalcontent check
* fix(LOY-386): remove uneeded vars
Approved-by: Matilda Landström
* Merged in feat/LOY-412-profiling-consent-in-signup (pull request #2976 )
Feat(LOY-412): profiling consent in signup
* feat(LOY-268): create banner
* feat(LOY-268): Create personalization banner component
* Merged in feat/profile-consent-contentstack (pull request #2921 )
Feat(LOY-389): Profile consent in Contentstack
* feat(LOY-268): create banner
* feat(LOY-268): Create personalization banner component
* chore(LOY-348): add profiling consent as CS entry
* chore(LOY-348): add banner as dynamic content
Approved-by: Chuma Mcphoy (We Ahead)
* Merged in feat/LOY-347-Profile-consent-modal-phase-1 (pull request #2901 )
Feat(LOY-347): Profiling Consent Modal (phase 1)
* feat(LOY-347): Profile Consent Modal base functionality
* feat(LOY-347): Add Icon
* feat(LOY-347): Add Benefit Cards to Profile consent modal
* feat(LOY-347): Add accordion to profile consent modal
* fix(LOY-347): scroll behaviour
* Fix(LOY-347): fade in/out animations of profile consent modal
* fix(LOY-347): White Ellipsis Around Ico…
* Merged in fix/lokalise-ids (pull request #3013 )
fix: add ids to translations in Profiling Consent
* fix: add ids to translations
Approved-by: Erik Tiekstra
Approved-by: Chuma Mcphoy (We Ahead)
* Merged in LOY-436-my-pages-profiling-consent (pull request #3011 )
LOY-436: Profiling Consent on My Profile, no api
Approved-by: Chuma Mcphoy (We Ahead)
* Merged in feat/LOY-418-profiling-consent-ui-text-update (pull request #3080 )
Feat/LOY-418: Profiling consent ui and text update
* chore(LOY-418): update /consent buttons
* chore(LOY-418): update legal texts
Approved-by: Chuma Mcphoy (We Ahead)
* Merged in feat/LOY-268-profiling-consent-api (pull request #3088 )
Approved-by: Chuma Mcphoy (We Ahead)
* Merged in feat/LOY-413-Signup-API-Profiling-Consent (pull request #3105 )
Feat/LOY-413 Signup API Profiling Consent
* feat(LOY-413): signup profiling consent
* chore(LOY-413): remove todo
* fix(LOY-413): only pass in profilingConsent if true
* fix(LOY-413): proper spread of profilingConsent in signup input
Approved-by: Christel Westerberg
* Merged in fix/LOY-413-use-v2-for-signup-call (pull request #3112 )
fix(LOY-413): use v2 endpoint for profile POST in signup
* fix(LOY-413): use v2 endpoint for profile POST in signup
Approved-by: Erik Tiekstra
* Merged in feat/LOY-268-profiling-consent-improvements (pull request #3094 )
Feat/LOY-268: Profiling consent improvements
* Merged in feat/profile-consent-contentstack (pull request #2921 )
Feat(LOY-389): Profile consent in Contentstack
* feat(LOY-268): create banner
* feat(LOY-268): Create personalization banner component
* chore(LOY-348): add profiling consent as CS entry
* chore(LOY-348): add banner as dynamic content
Approved-by: Chuma Mcphoy (We Ahead)
* Merged in feat/LOY-347-Profile-consent-modal-phase-1 (pull request #2901 )
Feat(LOY-347): Profiling Consent Modal (phase 1)
* feat(LOY-347): Profile Consent Modal base functionality
* feat(LOY-347): Add Icon
* feat(LOY-347): Add Benefit Cards to Profile consent modal
* feat(LOY-347): Add accordion to profile consent modal
* fix(LOY-347): scroll behaviour
* Fix(LOY-347): fade in/out animations of profile consent modal
* fix(LOY-347): White Ellipsis Around Icons
* feat(LOY-347): Implement ability to open modal from banner
* fix(LOY-347): min…
* Merged in fix/update-graphql (pull request #3130 )
fix: update graphql
* fix: update graphql
Approved-by: Chuma Mcphoy (We Ahead)
* Merged in feat/LOY-414-prof-consent-tracking (pull request #3127 )
Feat/LOY-414 profile consent tracking + credit card ui update
* chore(LOY-414): create track link function
* chore(LOY-414): add cta tracking
* chore(LOY-414): add profileConsent to userInfo datalayer
* chore(LOY-414): update credit card ui
* chore(LOY-414): update tracking specs
* chore(LOY-414): add pageView tracking to modal
Approved-by: Chuma Mcphoy (We Ahead)
* fix: remove old flag
* Merged in fix/LOY-268-prof-consent-button-fix (pull request #3162 )
fix(LOY-268): add button as link
* fix(LOY-268): add button as link
Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Matilda Landström
2025-11-14 13:28:56 +00:00
Linus Flood
78ac93d836
Merged in feat/book-530-selectrate-tracking (pull request #3128 )
...
feat(BOOK-530): fixed noAvailableRooms tracking on select rate page
* feat(BOOK-530): fixed noAvailableRooms tracking on select rate page
Approved-by: Bianca Widstam
2025-11-11 14:17:02 +00:00
Joakim Jäderberg
0490badbb1
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
2025-11-11 07:21:29 +00:00
Linus Flood
ce3412b29f
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
2025-11-10 13:06:51 +00:00
Linus Flood
1a24eb68c7
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
2025-11-07 08:14:16 +00:00
Linus Flood
fdf124bd0c
Merged in feat/book-504-at-pageview (pull request #3099 )
...
Feat(BOOK-504): basic pageview event
* fix
* Cleanup
Approved-by: Joakim Jäderberg
2025-11-07 07:57:19 +00:00
Joakim Jäderberg
ec511e2c8b
Merged in feature/tsgo (pull request #3069 )
...
Use tsgo for typechecking
* switch to tsgo for type-checking
* Merged in chore/remove-cypress (pull request #3066 )
chore: remove unused dependencies
* chore: remove cypress
* remove unused deps
* update yarn.lock after removing unused deps
Approved-by: Anton Gunnarsson
* use tsgo for typechecking
* use tsgo for type-checking
* yarn install
* fix(BOOK-496): Slowed down the MarqueeText component animation
Approved-by: Matilda Landström
* switch to tsgo for type-checking
* use tsgo for typechecking
* use tsgo for type-checking
* yarn install
* Merge branch 'feature/tsgo' of bitbucket.org:scandic-swap/web into feature/tsgo
* switch to use yarn check-types in lint-staged
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/tsgo
Approved-by: Linus Flood
2025-11-06 12:34:23 +00:00
Linus Flood
ffb88cf454
Merged in fix/sw-3591-pageview (pull request #3062 )
...
Fix(SW-3591): fixed (?) race condition when tracking pageview on hard reload
* Added logging
* Fix
Approved-by: Hrishikesh Vaipurkar
2025-11-04 08:13:35 +00:00
Joakim Jäderberg
15a2da333d
Merged in feature/SW-3572-hotel-data-endpoint (pull request #3051 )
...
SW-3572 API route for listing hotels per city or country
* wip hotel data endpoint
* Correct route params type
* wip
* skip static paths call
* timeout when getting destinations take too long
* call noStore when we get a timeout
* add cache-control headers
* .
* .
* .
* wip
* wip
* wip
* wip
* add route for getting hotels per country
* include city when listing by country
* fix distance SI unit
* fix sorting
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/SW-3572-hotel-data-endpoint
* packages/tracking passWithNoTests
* revalidate must be static value
* remove oxc reference
* cleanup
* cleanup hotel api route
* feat(SW-3572): cleanup error handling
Approved-by: Anton Gunnarsson
2025-11-03 12:10:22 +00:00
Joakim Jäderberg
bf6ed7778e
Merged in feat/syncDefaultMessage (pull request #3022 )
...
Sync defaultMessage from lokalise
* Enhance translation sync functionality and tests
- Added logging for found component files during sync.
- Introduced tests for handling complex components with replacements.
- Updated regex in syncIntlFormatMessage to support optional second arguments.
- Removed unused test files.
* feat(syncDefaultMessage): add script for syncing default message with lokalise
* feat(syncDefaultMessage): add script for syncing default message with lokalise
Approved-by: Matilda Landström
2025-10-30 08:38:50 +00:00
Bianca Widstam
76c353058b
Merged in fix/BOOK-459-tracking-search (pull request #2984 )
...
fix(BOOK-459): update searchTerm to city or hotelname
* fix(BOOK-459): update searchTerm to city or hotelname
Approved-by: Erik Tiekstra
2025-10-22 14:34:59 +00:00
Anton Gunnarsson
bf19d3960b
Merged in chore/remove-lodash (pull request #2983 )
...
chore: Remove lodash-es
* lodash-es is not edge safe so replace it with native functions
Approved-by: Joakim Jäderberg
2025-10-17 07:47:20 +00:00
Bianca Widstam
e2403e11b3
Merged in fix/BOOK-131-noroomsavailability-tracking (pull request #2971 )
...
fix(BOOK-131): add action and domain
* fix(BOOK-131): add action and domain
Approved-by: Anton Gunnarsson
2025-10-15 14:21:41 +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
Bianca Widstam
30b214c6ff
Merged in feat/BOOK-131-tracking-no-availability (pull request #2886 )
...
feat(BOOK-131): add no availability tracking
* feat(BOOK-131): add no availability tracking
* feat(BOOK-131): add no availability tracking
* feat(BOOK-131): extract noAvailability function
* feat(BOOK-131): fix every render problem
* feat(BOOK-131): noavailability handle return in function
Approved-by: Erik Tiekstra
Approved-by: Joakim Jäderberg
2025-10-07 06:59:49 +00:00
Anton Gunnarsson
94e5a06681
Merged in fix/sw-2328-start-page-tracking (pull request #2874 )
...
fix: Add TrackingSDK to partner-sas start page
* Add TrackingSDK to partner-sas start page
* Don't send pageId in partner-sas start page tracking
Approved-by: Joakim Jäderberg
2025-09-29 08:57:56 +00:00
Anton Gunnarsson
630e89c845
Merged in feat/sw-3473-remove-tracking-context (pull request #2843 )
...
feat(SW-3473): Rework booking-flow tracking provider
* Remove tracking context and import instead
* Remove unused file
Approved-by: Joakim Jäderberg
2025-09-22 13:08:10 +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
Matilda Landström
0e30a2d218
Merged in feat/LOY-361-add-promo-campaign-page-type (pull request #2826 )
...
Feat/LOY-361 add promo campaign page type
* feat(LOY-361): add Pomo Campaign page type
* chore(SW-361): remove campaign page flag
* fix(LOY-361): cleanup
* fix(LOY-361): add promo code
Approved-by: Erik Tiekstra
Approved-by: Chuma Mcphoy (We Ahead)
2025-09-19 07:20:17 +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