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
a91c28096d
Merged in feat/sw-2880-prepare-booking-flow-package (pull request #2467 )
...
feat(SW-2880) Prepare booking flow package
* Init booking-flow package
* Add gitignore
* Use booking-flow package
* Use design-system
Approved-by: Joakim Jäderberg
2025-06-30 07:48:28 +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 and Linus Flood
157c0415e5
Merged in fix/add-netlify-build-ignore (pull request #2366 )
...
chore: Add ignore to build config
* Add ignore to build config
* Add missing package to ignore
* Add build filter for partner-sas site
Approved-by: Linus Flood
2025-06-27 09:48:03 +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
133f7b3d75
Merged in feat/sw-2781-partner-sas-site-setup (pull request #2432 )
...
feat(SW-2781): Setup SAS partner site
* Add boilerplate for SAS partner site
* Fonts
* netlify.toml
Approved-by: Linus Flood
2025-06-26 13:45:15 +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
5f8ac8cdeb
Merged in feat/sw-2861-move-autocomplete-router-to-trpc-package (pull request #2417 )
...
feat(SW-2861): Move autocomplete router 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
* Move partners router to trpc package
* Move autocomplete router to trpc package
* Merge branch 'master' into feat/sw-2861-move-autocomplete-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 12:40:45 +00:00
Anton Gunnarsson
f9c719ff4b
Merged in feat/sw-2866-move-partners-router-to-trpc-package (pull request #2414 )
...
feat(sw-2866): Move partners router 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
* Move partners router to trpc package
* Merge branch 'master' into feat/sw-2866-move-partners-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 09:44:13 +00:00
Anton Gunnarsson
395d466c51
Merged in fix/sw-3097-negative-point-transfer (pull request #2434 )
...
fix(SW-3097): Improve handling when trying to transfer negative SAS points
* Improve handling of trying to transfer negative points
Approved-by: Linus Flood
2025-06-26 09:30:02 +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
Anton Gunnarsson
002d093af4
Merged in feat/sw-2863-move-contentstack-router-to-trpc-package (pull request #2389 )
...
feat(SW-2863): Move contentstack router to trpc package
* 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
* 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
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 07:53:01 +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
Anton Gunnarsson
9f78dd69fe
Merged in fix/sw-3035-secure-sas-cookie (pull request #2363 )
...
Add secure to SAS flow cookies
* Add secure to SAS flow cookies
* Reverse NODE_ENV check
Approved-by: Linus Flood
2025-06-16 07:35:44 +00:00
Anton Gunnarsson
e6a15bd685
Merged in fix/3037-point-transfer-incorrect-result (pull request #2368 )
...
Calculate transfered SAS points with exchange rate
* Calculate transfered SAS points with exchange rate
Approved-by: Linus Flood
2025-06-16 07:29:49 +00:00
Anton Gunnarsson
e1ede52014
Merged in fix/common-package-fix (pull request #2355 )
...
fix: Tiny fixes in common package
* Fix self-referencing and circular imports
* Fix env isServer
Approved-by: Joakim Jäderberg
2025-06-13 11:36:40 +00:00
Anton Gunnarsson
0788a57adc
Merged in feat/add-no-relative-packages-rule (pull request #2356 )
...
Add eslint rule no-relative-packages
* Add eslint rule no-relative-packages
Approved-by: Christian Andolf
2025-06-13 10:36:11 +00:00
Anton Gunnarsson
7a3ab92426
Merged in feat/sw-1948-point-transfer-endpoint (pull request #2353 )
...
feat(SW-1948):Add SAS point transfer endpoint
* Add SAS point transfer endpoint
Approved-by: Joakim Jäderberg
2025-06-12 14:06:30 +00:00
Anton Gunnarsson
a93cdf007f
Merged in fix/add-common-to-transpile-packages (pull request #2351 )
...
fix: Add common package to transpilePackages config
* Add common package to transpilePackages config
Approved-by: Joakim Jäderberg
2025-06-12 13:11:41 +00:00
Anton Gunnarsson
048a477e52
Merged in feat/common-package (pull request #2333 )
...
feat: Add common package
* Add isEdge, safeTry and dataCache to new common package
* Add eslint and move prettier config
* Fix yarn lock
* Clean up tests
* Add lint-staged config to common
* Add missing dependencies
Approved-by: Joakim Jäderberg
2025-06-11 13:08:39 +00:00
Anton Gunnarsson
bff34b034e
Merged in feat/sw-2857-refactor-booking-flow-url-updates (pull request #2302 )
...
feat(SW-2857): Refactor booking flow url updates
* Add support for removing parameters when using initial values in serializeSearchParams
* Don't manually write search params in rate store
* Booking is already from live search params so no need
* Fix input type in serializeBookingSearchParams
Approved-by: Linus Flood
2025-06-09 09:16:22 +00:00
Anton Gunnarsson and Linus Flood
879a383b61
Merged in fix/make-city-optional-in-parseSelectHotelSearchParams (pull request #2309 )
...
fix: Make city optional in parseSelectHotelSearchParams
* Make city optional in parseSelectHotelSearchParams
Approved-by: Linus Flood
2025-06-09 09:06:26 +00:00
Anton Gunnarsson
4831982e14
Merged in fix/correct-booking-url-array-syntax (pull request #2294 )
...
Fix correct array types in booking flow urls
* Fix correct array types in booking flow urls
Approved-by: Joakim Jäderberg
2025-06-05 07:50:01 +00:00
Anton Gunnarsson
dd4ef527df
Merged in chore/eslint9 (pull request #2029 )
...
chore: Update to ESLint 9
* wip: apply codemod and upgrade swc plugin
* Update eslint to 9 in scandic-web
apply code mod to config
fix existing lint issues
* Remove uneccessary fixupConfigRules
* Update eslint to 9 in design-system
* Add lint turbo dependency
* Move redis-api to eslint and prettier instead of biome
* Simplify eslint configs
* Clean up
* Apply linting
Approved-by: Linus Flood
2025-06-03 14:26:44 +00:00
Anton Gunnarsson
91278feb40
Merged in fix/popover-with-design-system-trigger-not-showing (pull request #2276 )
...
Fix popovers using triggers from design-system not working
* Fix peer dependency in design-system package
Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
2025-06-03 12:53:33 +00:00
Anton Gunnarsson
03468ad824
Merged in fix/refactor-booking-flow-search-params (pull request #2148 )
...
Fix: refactor booking flow search params
* wip: apply codemod and upgrade swc plugin
* wip: design-system to react 19, fix issues from async (search)params
* Prepare new parse function for booking flow search params
* Prepare serialize function for booking flow search params
* Improve handling of comma separated arrays
* Slightly refactor for readability
* Next abstracts URLSearchParams so handle the abstraction instead
* Refactor booking widget to use new search params parsing
* Rename search param functions
* Refactor select-hotel to use new search param parser
* Use new search params parser in select-rate and details
* Fix hotelId type
* Avoid passing down search params into BookingWidget components
* More updates to use new types instead of SearchParams<T>
* Remove types SelectHotelSearchParams and AlternativeSelectHotelSearchParams
* Fix parseBookingWidgetSearchParams return type
* Add error handling to booking search param parsers
* Fix modifyRateIndex handling in details page
* Clean up
* Refactor booking widget search param serializing to util function
* Move start page booking widget search param parsing to page
* Use new search param serializer in HandleErrorCallback
* Delete convertSearchParamsToObj & convertObjToSearchParams
Approved-by: Michael Zetterberg
2025-06-02 13:38:01 +00:00
Anton Gunnarsson
cbf9e7b7c2
Merged in chore/next15 (pull request #1999 )
...
chore (SW-834): Upgrade to Next 15
* wip: apply codemod and upgrade swc plugin
* wip: design-system to react 19, fix issues from async (search)params
* wip: fix remaining issues from codemod
serverClient is now async because context use headers()
getLang is now async because it uses headers()
* Minor cleanup
* Inline react-material-symbols package
Package is seemingly not maintained any more and doesn't support
React 19. This copies the package source into `design-system`,
makes the necessary changes for 19 and export it for others to use.
* Fix missing awaits
* Disable modal exit animations
Enabling modal exit animations via isExiting prop is causing
modals to be rendered in "hidden" state and never unmount.
Seems to be an issue with react-aria-components,
see https://github.com/adobe/react-spectrum/issues/7563 .
Can probably be fixed by rewriting to a solution similar to
https://react-spectrum.adobe.com/react-aria/examples/framer-modal-sheet.html
* Remove unstable cache implementation and use in memory cache locally
* Fix ref type in SelectFilter
* Use cloneElement to add key prop to element
Approved-by: Linus Flood
2025-06-02 11:11:50 +00:00
Anton Gunnarsson
b19d849b2b
Merged in feat/sw-2923-link-sas-referenceid (pull request #2243 )
...
Send SAS OTP referenceId to API
* Send SAS OTP referenceId to API
API needs the referenceId to pass along to SAS
as they use it to verify that OTP was successful.
Approved-by: Joakim Jäderberg
2025-06-02 08:01:23 +00:00
Anton Gunnarsson
7e97b74c18
Merged in chore/remove-unused-code (pull request #2229 )
...
Remove unused code
* Remove unused scandic-web files
* Remove unused exports
Approved-by: Joakim Jäderberg
2025-05-30 12:41:18 +00:00
Anton Gunnarsson
c27290717b
Merged in fix/sw-2767-expire-text-align-right (pull request #2181 )
...
Align tier match expire date right
* Align tier match expire date right
Approved-by: Christian Andolf
2025-05-23 08:15:39 +00:00
Anton Gunnarsson
48b6774675
Update framer-motion
2025-05-22 14:00:39 +02:00
Anton Gunnarsson
7e098d291c
Remove material-symbols from design-system
2025-05-22 14:00:39 +02:00
Anton Gunnarsson
4f9c69628b
Update minor versions in design-system
2025-05-22 14:00:39 +02:00
Anton Gunnarsson
a2e43844df
Update patch versions in design-system
2025-05-22 14:00:39 +02:00
Anton Gunnarsson
ec08f83153
Update patch versions
2025-05-22 14:00:39 +02:00
Anton Gunnarsson
01355078a0
Update intl packages
2025-05-22 14:00:39 +02:00
Anton Gunnarsson
7378b18885
Update @internationalized/date
2025-05-22 14:00:39 +02:00
Anton Gunnarsson
ef90e878cf
Update @contentstack/live-preview-utils
2025-05-22 14:00:39 +02:00
Anton Gunnarsson
d76b507ef4
Remove unused material-symbols package
2025-05-22 14:00:39 +02:00
Anton Gunnarsson
d1927fff09
Update graphql-request
2025-05-22 14:00:39 +02:00
Anton Gunnarsson
f46bc8f920
Update @hookform/resolvers
...
In v5 the zod resolver will automatically infer the type for `useForm`.
It's not recommended to manually specify types.
See https://github.com/react-hook-form/resolvers/releases/tag/v5.0.0
2025-05-22 14:00:39 +02:00
Anton Gunnarsson
83646d4d02
Update sonner
2025-05-22 14:00:39 +02:00
Anton Gunnarsson
11c1810249
Update @vercel/otel
2025-05-22 14:00:39 +02:00
Anton Gunnarsson
0a06d6d38c
Update @vis.gl/react-google-maps
2025-05-22 14:00:39 +02:00
Anton Gunnarsson
e049c29d82
Update react-hook-form
2025-05-22 14:00:39 +02:00
Anton Gunnarsson
a6cd4d807e
Update uuid
2025-05-22 14:00:38 +02:00
Anton Gunnarsson
31afb60627
Remove unused radix packages
2025-05-22 14:00:38 +02:00
Anton Gunnarsson
06de3edfe3
Update class-variance-authority
2025-05-22 14:00:38 +02:00
Anton Gunnarsson
10e3907c87
Update @t3-oss/env-nextjs
2025-05-22 14:00:38 +02:00
Anton Gunnarsson
0381ad07b7
Update cypress
2025-05-22 14:00:38 +02:00
Anton Gunnarsson
9af93fecda
Update framer-motion
2025-05-22 14:00:38 +02:00
Anton Gunnarsson
c3205d9561
Update eslint plugins
2025-05-22 14:00:38 +02:00
Anton Gunnarsson
e4ad0d3466
Update typescript
2025-05-22 14:00:38 +02:00
Anton Gunnarsson
102c3b6df6
Update @typescript-eslint/*
2025-05-22 14:00:38 +02:00
Anton Gunnarsson
a74eafe9bf
Update contentstack
2025-05-22 14:00:38 +02:00
Anton Gunnarsson
37c9e97405
Update dotenv
2025-05-22 14:00:38 +02:00
Anton Gunnarsson
dab4990748
Remove unused package @preact/signals-core
2025-05-22 14:00:38 +02:00
Anton Gunnarsson
41aa4f26ad
Update libphonenumber-js
2025-05-22 14:00:38 +02:00
Anton Gunnarsson
3110f9aec2
Update lint-staged
2025-05-22 14:00:38 +02:00
Anton Gunnarsson
229147ecb9
Update nanoid
2025-05-22 14:00:38 +02:00
Anton Gunnarsson
275cd73b26
Update prettier
2025-05-22 14:00:38 +02:00
Anton Gunnarsson
50664d4bef
Remove unused package ioredis
2025-05-22 14:00:37 +02:00
Anton Gunnarsson
6ed9f9382e
Update graphql
2025-05-22 14:00:37 +02:00
Anton Gunnarsson
d1383796a9
Update react-day-picker
2025-05-22 14:00:37 +02:00
Anton Gunnarsson
069cdb7aa0
Update react-aria-components
2025-05-22 14:00:37 +02:00
Anton Gunnarsson
1fc5dd3c88
Update react-international-phone
2025-05-22 14:00:37 +02:00
Anton Gunnarsson
88b7ede54b
Update react-to-print
2025-05-22 14:00:37 +02:00
Anton Gunnarsson
e5f00b3790
Remove unused package uuid
2025-05-22 14:00:37 +02:00
Anton Gunnarsson
33c4bb2a9a
Update zod
2025-05-22 14:00:37 +02:00
Anton Gunnarsson
b79f2f3014
Update react-table and confetti
2025-05-22 14:00:37 +02:00
Anton Gunnarsson
fab5c72279
Update embla-carousel*
2025-05-22 14:00:37 +02:00
Anton Gunnarsson
4a3e36a497
Update @radix-ui/*
2025-05-22 14:00:37 +02:00
Anton Gunnarsson
132d8ee3c5
Update @trpc/* and @tanstack/react-query*
2025-05-22 14:00:37 +02:00
Anton Gunnarsson
b66427d27e
Update @testing-library/*
2025-05-22 14:00:37 +02:00
Anton Gunnarsson
fead7be082
Update turbo
2025-05-22 14:00:37 +02:00
Anton Gunnarsson
58a7d594ae
Update patch versions
2025-05-22 14:00:37 +02:00
Anton Gunnarsson
94a00d40b7
Merged in feat/sw-2526-update-sas-error-handling-after-api-changes (pull request #1886 )
...
SW-2526 - Update error handling for link SAS account
* Update error handling for link SAS account
* Capture schema validation error and send to Sentry
* Add cases for unhandled otp errors
Approved-by: Joakim Jäderberg
2025-05-12 11:48:31 +00:00
Anton Gunnarsson and Joakim Jäderberg
60af31762b
Merged in fix/make-user-loyalty-optional (pull request #2044 )
...
fix: Make loyalty optional on user
* Optional user loyalty
* merge
Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
2025-05-12 09:00:11 +00:00
Anton Gunnarsson and Michael Zetterberg
a0bef340e9
Format zodError so we don't try to sanitize functions
2025-05-09 10:59:18 +00:00
Anton Gunnarsson
fbeb23c2aa
Merged in chore/remove-env-log (pull request #1966 )
...
Don't log entire process.env
* Don't log entire process.env
* Don't log entire env on logout
Approved-by: Michael Zetterberg
2025-05-06 09:16:46 +00:00
Anton Gunnarsson
aa43d7d059
Merged in fix/sw-2563-pass-lang-to-sas-auth (pull request #1938 )
...
Set ui_locales on SAS auth link
* Set ui_locales on SAS auth link
Approved-by: Joakim Jäderberg
2025-05-05 09:00:05 +00:00
Anton Gunnarsson
d8a48735a4
Merged in fix/sw-2557-sas-english-copy-fixes (pull request #1915 )
...
Fixes for English copy in SAS flow
* Update noBoost message
* Update unlink warning copy
Approved-by: Linus Flood
2025-05-02 12:18:27 +00:00
Anton Gunnarsson
f4fe2e3a4a
Merged in fix/sw-2548-invalid-tier-expiry-for-sas-eb-basic (pull request #1908 )
...
Handle invalid tier expiry 1900-01-01 from SAS
* Handle invalid tier expiry 1900-01-01 from SAS
* Set correct sasTierExpirationDate
Approved-by: Linus Flood
2025-04-30 08:11:35 +00:00
Anton Gunnarsson
b9bf5e6510
Merged in fix/sw-2556-eb-basic-to-eb-member (pull request #1914 )
...
Rename EuroBonus Basic to Member
* Rename EuroBonus Basic to Member
Approved-by: Linus Flood
2025-04-30 07:42:51 +00:00
Anton Gunnarsson
284e6bce3a
Merged in fix/sw-2550-sas-callback-language (pull request #1910 )
...
Use dynamic language in SAS callback url
* Use dynamic language in callback url
Approved-by: Linus Flood
2025-04-30 07:42:30 +00:00
Anton Gunnarsson
a04817277e
Merged in fix/sync-from-lokalise (pull request #1905 )
...
Sync from Lokalise
* Sync from lokalise 2025-04-29
Approved-by: Joakim Jäderberg
2025-04-29 13:59:08 +00:00
Anton Gunnarsson
dcd2dba950
Merged in fix/remove-translation-from-global-error (pull request #1896 )
...
Remove translation from global-error
* Remove translation from global-error
Approved-by: Michael Zetterberg
Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
2025-04-29 08:51:16 +00:00
Anton Gunnarsson
bbbd665a32
Merged in fix/sw-2527-incorrect-toast-when-tier-matching (pull request #1879 )
...
SW-2527 - Fix boosted toast when tier matching
* Compare levels to ensure toast is only displayed when actually boosted
* Fix 200 name
* Update naming
Approved-by: Linus Flood
2025-04-28 13:41:14 +00:00
Anton Gunnarsson
7c191aa875
Merged in fix/tiny-translation-fixes (pull request #1874 )
...
Tiny updates to copy in SAS flow
* Tiny translation fixes
Approved-by: Joakim Jäderberg
2025-04-28 07:35:34 +00:00
Anton Gunnarsson
8f67e20300
Merged in fix/sw-2453-refresh-data-on-tier-match (pull request #1866 )
...
Refresh page if tier match happens on My Pages SAS page
* Refresh page if tier match happens on My Pages SAS page
Approved-by: Joakim Jäderberg
2025-04-28 07:28:58 +00:00
Anton Gunnarsson
26d3d1b1d3
Merged in fix/sw-2502-magic-link-signin-sas-tier-match-scope (pull request #1859 )
...
Add correct scope to magic link sign in for SAS flow
* Add correct scope to magic link sign in
Approved-by: Joakim Jäderberg
2025-04-24 12:30:42 +00:00
Anton Gunnarsson
b354398c69
Merged in fix/improve-sas-error-logging (pull request #1854 )
...
Improve SAS flow logging
* Improve logging
Approved-by: Joakim Jäderberg
2025-04-24 12:30:34 +00:00
Anton Gunnarsson
009d46ebac
Merged in fix/too-many-codes-error (pull request #1814 )
...
Fix SAS OTP rate limited error
* Fix error for too many codes not showing up
Approved-by: Joakim Jäderberg
2025-04-16 11:20:20 +00:00
Anton Gunnarsson
0ab5dc1c9d
Merged in fix/sw-2132-unlink-error (pull request #1816 )
...
Add UnlinkError for when SAS account unlinking fails
* Add UnlinkError for when unlinking fails
Approved-by: Joakim Jäderberg
2025-04-16 11:19:07 +00:00
Anton Gunnarsson
700141f45e
Merged in fix/sw-2413-tier-expiration-validation (pull request #1806 )
...
SW-2413 Update tier expiration validation
* Update tier expiration validation
* Set tierExpires default to null
Approved-by: Christian Andolf
Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
2025-04-16 08:32:20 +00:00
Anton Gunnarsson
3449ccec52
Merged in feat/sw-2232-sas-api-updates (pull request #1786 )
...
SW-2232 Adapt SAS router to API changes
* Adapt sas procedures to api changes
* Remove debug logs
* Capture performLevelUpgrade error
* More sentry logging
* Merge branch 'master' into feat/sw-2232-sas-api-updates
Approved-by: Joakim Jäderberg
2025-04-14 13:42:58 +00:00
Anton Gunnarsson
f87ea51b11
Merged in feature/sw-1881-boosted-by-scandic (pull request #1780 )
...
Show boosted by scandic in SAS Linked Accounts
* Add boostedByScandic property to SAS membership
* Use get profile with extended partner data
* Display correct tier when EB is boosted by SF
Approved-by: Joakim Jäderberg
2025-04-14 13:14:01 +00:00
Anton Gunnarsson
32ac7c8a3d
Merged in fix/sw-2174-enter-click-should-select-radiocard (pull request #1768 )
...
SW-2174 Handle Enter press on RadioCard label
* Handle Enter click on RadioCard label
Approved-by: Linus Flood
2025-04-09 12:13:18 +00:00
Anton Gunnarsson
8dee7b0243
Merged in feat/sw-2260-update-sas-toc-links (pull request #1763 )
...
Update terms and conditions link for sas
* Update terms and conditions link for sas
Approved-by: Joakim Jäderberg
2025-04-09 07:50:58 +00:00