Matilda Landström
5a90d454ce
Merged in fix/LOY-600-address (pull request #3518 )
...
fix(LOY-600): remove 1 från address in edit profile
* fix(LOY-600): remove 1 från address in edit profile
Approved-by: Bianca Widstam
Approved-by: Erik Tiekstra
Approved-by: Anton Gunnarsson
2026-01-30 08:02:53 +00:00
Anton Gunnarsson
adba5f635f
Merged in fix/switch-button-order-mobile-edit-profile (pull request #3448 )
...
fix: Switch button order on mobile
* Switch button order on mobile
Approved-by: Matilda Landström
2026-01-19 06:44:08 +00:00
Anton Gunnarsson
8f7c1d80ab
Merged in feat/loy-513-update-edit-profile-button-positions (pull request #3447 )
...
feat(LOY-513): Update button positions and simplify css
* Update button positions and simplify css
Approved-by: Matilda Landström
2026-01-16 09:03:44 +00:00
Anton Gunnarsson
16fbdb7ae0
Merged in fix/refactor-currency-display (pull request #3434 )
...
fix(SW-3616): Handle EuroBonus point type everywhere
* Add tests to formatPrice
* formatPrice
* More work replacing config with api points type
* More work replacing config with api points type
* More fixing with currency
* maybe actually fixed it
* Fix MyStay
* Clean up
* Fix comments
* Merge branch 'master' into fix/refactor-currency-display
* Fix calculateTotalPrice for EB points + SF points + cash
Approved-by: Joakim Jäderberg
2026-01-15 09:32:17 +00:00
Rasmus Langvad
ffef566316
Merged in feat/new-passwordinput-component (pull request #3376 )
...
feat(SW-3672): Update PasswordInput component
* Update PasswordInput component
* Removed some tests not working as expected
* Remove IconButton from PasswordInput
* Remove IconButton from Input
* Merge branch 'master' into feat/new-passwordinput-component
Approved-by: Linus Flood
2026-01-07 09:10:22 +00:00
Erik Tiekstra
3f632e6031
Merged in fix/BOOK-293-button-variants (pull request #3371 )
...
fix(BOOK-293): changed variants and props on IconButton component
* fix(BOOK-293): changed variants and props on IconButton component
* fix(BOOK-293): inherit color for icon
Approved-by: Bianca Widstam
Approved-by: Christel Westerberg
2025-12-19 12:32:52 +00:00
Rasmus Langvad
b9a62b5280
Merged in feat/use-new-input-component (pull request #3324 )
...
feat(SW-3659): Use new input component
* Use new input component
* Update error formatter
* Merged master into feat/use-new-input-component
* Merged master into feat/use-new-input-component
* Merge branch 'master' into feat/use-new-input-component
* Merged master into feat/use-new-input-component
* Update Input stories
* Merge branch 'feat/use-new-input-component' of bitbucket.org:scandic-swap/web into feat/use-new-input-component
* Update Storybook logo
* Add some new demo icon input story
* Fix the clear content button position
* Fix broken password input icon
* Merged master into feat/use-new-input-component
* Merged master into feat/use-new-input-component
* Add aria-hidden to required asterisk
* Merge branch 'feat/use-new-input-component' of bitbucket.org:scandic-swap/web into feat/use-new-input-component
* Merge branch 'master' into feat/use-new-input-component
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-12-18 15:42:09 +00:00
Anton Gunnarsson
e5149846e5
Merged in chore/upgrade-to-next16 (pull request #3305 )
...
chore(SW-3665): Upgrade to Next 16
* Upgrade partner-sas
* Upgrade scandic-web to next 16
* Update peerDep versions
* Fix revalidateTag
* Remove comment
* Merge branch 'master' into chore/upgrade-to-next16
* Update netlify adapter
* Build with webpack instead of turbopack
* Revert from proxy to middleware
* Merge branch 'master' into chore/upgrade-to-next16
* Revert proxy type
* Fix react types versions
* 16.0.9
* Bump to 16.0.10
Approved-by: Linus Flood
2025-12-12 09:17:15 +00:00
Matilda Landström
9ad9e374e8
Merged in fix/LOY-398-fix-language-select (pull request #3227 )
...
fix(LOY-398): fix language select by creating FormSelect wrapper
* fix(LOY-398): fix language select by creating FormSelect wrapper
Approved-by: Erik Tiekstra
Approved-by: Anton Gunnarsson
2025-11-27 12:06:46 +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
Erik Tiekstra
88644597df
chore: Replaced deprecated Spacing variables with current values
...
Approved-by: Matilda Landström
2025-11-12 12:56:22 +00:00
Joakim Jäderberg
aafad9781f
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
2025-10-22 11:00:03 +00:00
Anton Gunnarsson
5a86cbaafe
Merged in chore/update-eslint-configs (pull request #2812 )
...
chore: Extend eslint configs from @typescript-eslint/recommended
* Change to typescript recommended in scandic-web
* Remove comment
* Change to recommended ts config in partner-sas
* Change to recommended ts lint config in booking-flow
Approved-by: Linus Flood
2025-09-17 07:55:11 +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
Hrishikesh Vaipurkar
260a544c99
Merged in chore/SW-3381-move-loginbutton-to-ds- (pull request #2752 )
...
chore(SW-3381) Moved LoginButton to design system
* chore(SW-3381) Moved LoginButton to design system
Approved-by: Anton Gunnarsson
2025-09-03 09:11:28 +00:00
Anton Gunnarsson
ecd567f54f
Merged in feat/sw3370-move-phone-utils (pull request #2743 )
...
feat(SW-3370): Move phone utils to common
* Move phone utils to common
* Update lock file
Approved-by: Joakim Jäderberg
2025-09-02 06:53:58 +00:00
Joakim Jäderberg
72f4f72a17
Merged in SW-3317-move-toast-to-design-system (pull request #2716 )
...
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
2025-08-27 13:03:17 +00:00
Hrishikesh Vaipurkar
5ff4234552
Merged in chore/SW-3145-move-date-to-design-system (pull request #2556 )
...
feat: SW-3145 Moved date component to design system
* chore: SW-3145 Moved date component to design system
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
2025-07-28 09:05:25 +00:00
Hrishikesh Vaipurkar
42ab6e58b3
Merged in chore/SW-3145-move-phone (pull request #2549 )
...
chore/SW-3145 Moved Phone to design system
* chore/SW-3145 Moved Phone to design system
* chore: SW-3145 Moved phone and removed intl direct dependency
Approved-by: Anton Gunnarsson
2025-07-28 08:28:07 +00:00
Hrishikesh Vaipurkar
2f72a0437b
Merged in chore/SW-3145-move-country (pull request #2545 )
...
chore: SW-3145 Moved country into design system
* chore: SW-3145 Moved country into design system
Approved-by: Anton Gunnarsson
2025-07-10 12:20:49 +00:00
Hrishikesh Vaipurkar
71c6f4cab3
Merged in chore/SW-3145-move-button (pull request #2527 )
...
chore: SW-3145 Moved tempdesign button to design-system
* chore: SW-3145 Moved tempdesign button to design-system
Approved-by: Anton Gunnarsson
2025-07-07 07:11:18 +00:00
Anton Gunnarsson
923206ee4c
Merged in chore/sw-3145-move-subtitle (pull request #2516 )
...
chore(SW-3145): Move Title and Subtitle to design-system
* Move Title and Subtitle to design-system
* Fix export
Approved-by: Linus Flood
2025-07-04 06:22:28 +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
Anton Gunnarsson
be25be7bb5
Merged in feat/sw-3125-move-client-trpc-setup (pull request #2493 )
...
feat(SW-3125): Move client trpc setup
* Move client trpc to package
* Client setup in partner-sas
* Add todo
Approved-by: Linus Flood
2025-07-01 12:41:28 +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
Linus Flood
3c4ff0a792
Merged in fix/LOY-280-phone (pull request #2393 )
...
fix(LOY-280): phone number validation
* fix(LOY-280): phone number validation
* Return formatted phonenumber even though its not valid
Approved-by: Christian Andolf
2025-06-19 12:24:33 +00:00
Anton Gunnarsson
846fd904a6
Merged in feat/sw-2859-set-up-shared-trpc-package (pull request #2319 )
...
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
2025-06-18 12:14:20 +00:00
Linus Flood
a29f2b94a7
Merged in fix/signup-phone-validation (pull request #2378 )
...
fix/editprofile-phonenumber-validation
* fix/editprofile-phonenumber-validation
Approved-by: Christian Andolf
2025-06-17 11:56:58 +00:00
Christian Andolf
0b8e3edc15
fix: now parses phone number before submitting on edit profile and signup
2025-06-17 10:48:19 +02:00
Hrishikesh Vaipurkar
698c424f21
Merged in fix/SW-2950-validation-rule-for-zipcode- (pull request #2360 )
...
Fix: SW-2950 Updated zip code validation rule with regex
* Fix: SW-2950 Updated zip code validation rule with regex
* fix: SW-2950 Removed non-english characters from postal code regex
Approved-by: Christian Andolf
2025-06-16 08:32:46 +00:00
Christian Andolf
434b5dbdb2
Merged in fix/revert-numeric-inputmode-zipcode (pull request #2362 )
...
fix: revert numeric inputmode zipcode
Approved-by: Linus Flood
2025-06-16 06:58:24 +00:00
Christian Andolf
8b5e8aecae
Merged in fix/phone-country-code-fix (pull request #2357 )
...
fix: remove country code from prefilled phone input
Approved-by: Simon.Emanuelsson
2025-06-13 11:01:40 +00:00
Christian Andolf
430cc6f644
fix: revert numeric inputmode zipcode
2025-06-13 11:33:04 +02:00
Christian Andolf
9551a629fa
refactor: move divider to design system
...
remove not used variants and duplicate colors
2025-06-13 11:27:50 +02:00
Christian Andolf
9da986f554
fix: extrapolate phone number parsing for re-usage in edit profile
...
move error messages to message handler
2025-06-13 10:46:15 +02:00
Christian Andolf
2dd07eb6b8
Merged in fix/LOY-260-use-same-phone-component (pull request #2336 )
...
fix(LOY-260): use same phone component in signup and edit profile as enter details
Approved-by: Chuma Mcphoy (We Ahead)
2025-06-12 12:40:36 +00:00
Christian Andolf
6a0ce38f79
fix(LOY-260): use same phone component in signup and edit profile as enter details
...
remove old select from edit profile
update typography
2025-06-12 14:30:02 +02:00
Christian Andolf
d01db033ae
fix(LOY-251): numeric inputmode on inputs for mobile numeric keyboard
2025-06-12 11:10:27 +02:00
Christian Andolf
7fdffb8e1d
feat(LOY-243): add change name disclaimer to profile
2025-06-09 12:46:28 +02:00
Simon Emanuelsson
9580281421
fix: allow any type of phone number
2025-06-03 11:54:05 +00:00
Anton Gunnarsson
41aa4f26ad
Update libphonenumber-js
2025-05-22 14:00:38 +02:00
Christian Andolf
595eb575d7
fix(SW-2385): handle error messages provided from zod validation in forms client side
2025-04-16 10:17:17 +00:00
Michael Zetterberg
440e1f92df
feat(SW-706): make eslint rule 'formatjs/no-literal-string-in-jsx' pass
2025-04-14 11:30:06 +00:00
Chuma Mcphoy (We Ahead)
85cd247f79
Merged in feat/LOY-183-Make-Other-Password-Inputs-Maskable (pull request #1569 )
...
feat(LOY-183): Make Current & Retype Password Inputs Maskable in My Profile Edit Form
* feat(LOY-183): implement PasswordInput and PasswordToggleButton components
- Added PasswordInput component for password fields with visibility toggle.
- Introduced PasswordToggleButton for toggling password visibility.
- Updated NewPassword component to utilize the new PasswordInput.
* refactor(LOY-183): replace NewPassword component with PasswordInput
Approved-by: Christian Andolf
2025-03-21 08:15:55 +00:00
Joakim Jäderberg
fa63b20ed0
Merged in feature/redis (pull request #1478 )
...
Distributed cache
* cache deleteKey now uses an options object instead of a lonely argument variable fuzzy
* merge
* remove debug logs and cleanup
* cleanup
* add fault handling
* add fault handling
* add pid when logging redis client creation
* add identifier when logging redis client creation
* cleanup
* feat: add redis-api as it's own app
* feature: use http wrapper for redis
* feat: add the possibility to fallback to unstable_cache
* Add error handling if redis cache is unresponsive
* add logging for unstable_cache
* merge
* don't cache errors
* fix: metadatabase on branchdeploys
* Handle when /en/destinations throws
add ErrorBoundary
* Add sentry-logging when ErrorBoundary catches exception
* Fix error handling for distributed cache
* cleanup code
* Added Application Insights back
* Update generateApiKeys script and remove duplicate
* Merge branch 'feature/redis' of bitbucket.org:scandic-swap/web into feature/redis
* merge
Approved-by: Linus Flood
2025-03-14 07:54:21 +00:00
Pontus Dreij
2509794d0c
Merged in feat/SW-1676-modify-contact-details-my-stay-anonymous (pull request #1468 )
...
Feat/SW-1676 modify contact details my stay anonymous
* feat(SW-1676): Modify guest details step 1
* feat(SW-1676) Integration to api to update guest details
* feat(SW-1676) Reuse of old modal
* feat(SW-1676) updated modify guest
* feat(SW-1676) cleanup
* feat(SW-1676) updated myStayReturnRoute to sessionStorage
Approved-by: Niclas Edenvin
2025-03-07 13:41:25 +00:00
Chuma Mcphoy (We Ahead)
4db75057f2
Merged in feat/LOY-155-localize-language-options-in-edit-profile-form (pull request #1490 )
...
feat(LOY-155): Localize language options in edit profile form
* feat(LOY-155): Localize language options in edit profile form
* feat(LOY-155): Capitalize first letter of localized language options
Approved-by: Christian Andolf
2025-03-06 14:57:26 +00:00
Anton Gunnarsson
80100e7631
Merged in monorepo-step-1 (pull request #1080 )
...
Migrate to a monorepo setup - step 1
* Move web to subfolder /apps/scandic-web
* Yarn + transitive deps
- Move to yarn
- design-system package removed for now since yarn doesn't
support the parameter for token (ie project currently broken)
- Add missing transitive dependencies as Yarn otherwise
prevents these imports
- VS Code doesn't pick up TS path aliases unless you open
/apps/scandic-web instead of root (will be fixed with monorepo)
* Pin framer-motion to temporarily fix typing issue
https://github.com/adobe/react-spectrum/issues/7494
* Pin zod to avoid typ error
There seems to have been a breaking change in the types
returned by zod where error is now returned as undefined
instead of missing in the type. We should just handle this
but to avoid merge conflicts just pin the dependency for
now.
* Pin react-intl version
Pin version of react-intl to avoid tiny type issue where formatMessage
does not accept a generic any more. This will be fixed in a future
commit, but to avoid merge conflicts just pin for now.
* Pin typescript version
Temporarily pin version as newer versions as stricter and results in
a type error. Will be fixed in future commit after merge.
* Setup workspaces
* Add design-system as a monorepo package
* Remove unused env var DESIGN_SYSTEM_ACCESS_TOKEN
* Fix husky for monorepo setup
* Update netlify.toml
* Add lint script to root package.json
* Add stub readme
* Fix react-intl formatMessage types
* Test netlify.toml in root
* Remove root toml
* Update netlify.toml publish path
* Remove package-lock.json
* Update build for branch/preview builds
Approved-by: Linus Flood
2025-02-26 10:36:17 +00:00