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
Anton Gunnarsson
5cb19dfccd
Merged in feat/sw-1313-show-sas-points (pull request #1682 )
...
SW-1313 - Add support for getting SAS EB points
Approved-by: Joakim Jäderberg
2025-04-08 11:03:38 +00:00
Anton Gunnarsson
c56a0b8ce9
Merged in feat/sw-1975-get-profile-v2 (pull request #1651 )
...
Use get Profile V2 endpoint
Approved-by: Linus Flood
2025-04-08 06:26:00 +00:00
Anton Gunnarsson
67905198c6
Merged in fix/sas-english-copy (pull request #1695 )
...
Update english copy for SAS related flows
* Update english copy for SAS related flows
* Add new copy to all languages
* Add use client directive to loading to use translations
Approved-by: Joakim Jäderberg
2025-04-02 11:49:12 +00:00
Anton Gunnarsson
30c01a6000
Merged in feat/feature-flag-sas-point-transfer (pull request #1686 )
...
Add feature flag for SAS point transfer
* Add feature flag for specifically SAS point transfer
Approved-by: Linus Flood
2025-04-01 07:55:46 +00:00
Anton Gunnarsson
93aafe5525
Merged in fix/lint-issues (pull request #1678 )
...
Fix lint issues in design-system and scandic-web
* Remove unused color prop from LogoAndIllustrationProps to fix lint issues
* Fix lint issues in web
* Fix logos type
Approved-by: Joakim Jäderberg
2025-03-31 12:27:32 +00:00
Anton Gunnarsson
650dd79c26
Merged in fix/sw-2032-sas-flow-styling-issues (pull request #1669 )
...
Fix styling issues in SAS flow
* Fix styling issues in SAS flow
Approved-by: Linus Flood
2025-03-28 14:30:04 +00:00
Anton Gunnarsson
f417599e12
Merged in fix/sas-partner-pages-icons (pull request #1667 )
...
Add missing react-material-symbols import to partner layout
* Add missing react-material-symbols to partner layout
Approved-by: Linus Flood
2025-03-28 13:49:29 +00:00
Anton Gunnarsson
b535b53901
Merged in feat/shared-ts-config (pull request #1610 )
...
Add typescript-config package with shared configs
* Move web config to shared
* Move design-system ts config to typescript-config package
* Move redis-api tsconfig to typescript-config package
* Sort tsconfig keys
* Update react-library tsconfig
Move declaration and declarationMap from base
Add sourceMap
This fixes Go-to-Definition, debugging and similar in packages/apps where it is consumed
* Update base config module and moduleResolution
Approved-by: Michael Zetterberg
Approved-by: Christian Andolf
2025-03-28 07:07:24 +00:00
Anton Gunnarsson
df2fb49d1e
Merged in fix/sw-1980-sas-comparison-block-link (pull request #1641 )
...
Update link in SASTierComparison to use pageLink reference
* Update link in SASTierComparison to use pageLink reference
Approved-by: Linus Flood
2025-03-27 15:27:12 +00:00
Anton Gunnarsson and Linus Flood
4ab7117244
Merged in fix/latest-next-14 (pull request #1606 )
...
Bump next to latest 14
* Bump next to latest 14
Approved-by: Linus Flood
2025-03-24 08:35:05 +00:00
Anton Gunnarsson
c58815ec06
Merged in fix/sas-flow-design-updates (pull request #1567 )
...
Fix typography in SAS flow
* Add missing translation
* Update SAS login page typography
* Update LinkAccountFormTypography
* Update typography in OneTimePasswordForm
* Update typography of SAS link success page
* Update typography of SAS flow errors
* Update typography of SAS unlink success page
* Update typography of SAS error boundary
Approved-by: Linus Flood
2025-03-21 09:05:47 +00:00
Anton Gunnarsson
e0b7c3be7b
Merged in fix/preload-my-pages-menu-data (pull request #1582 )
...
Fix/preload my pages menu data
* Preload my pages navigation data
* Remove unused suspense boundary
Approved-by: Linus Flood
2025-03-20 09:42:33 +00:00
Anton Gunnarsson
8d1e9954d4
Merged in fix/sas-unlink-missing-intl (pull request #1534 )
...
Add missing intl keys for SAS unlink flow
Approved-by: Linus Flood
2025-03-19 09:12:36 +00:00
Anton Gunnarsson
d0b6f3f8b3
Merged in feat/sw-1314-transfer-sas-points (pull request #1508 )
...
SW-1314 Transfer SAS points
Approved-by: Linus Flood
2025-03-18 10:07:05 +00:00
Anton Gunnarsson and Linus Flood
d5b47be2f2
Merged in fix/handle-cache-delete-without-hit (pull request #1556 )
...
Don't return from cache deleteKey
* Don't return from cache deleteKey
Approved-by: Linus Flood
2025-03-17 16:19:55 +00:00
Anton Gunnarsson
dabfe0424b
Merged in fix/update-my-pages-sas-url (pull request #1533 )
...
Update My Pages SAS url
* Update My Pages SAS url
Approved-by: Linus Flood
2025-03-14 08:31:19 +00:00
Anton Gunnarsson
29f0eb4f21
Merged in feat/sw-1732-trigger-tier-match (pull request #1408 )
...
SW-1732 Trigger SAS tier match
* Add endpoint for SAS tier match
* Add comment about future fix
* Move tier match to background request on my-pages/*
* Log result from tier match
* Clean up name etc
* Fix tier matched toast
Approved-by: Joakim Jäderberg
2025-03-13 14:12:31 +00:00
Anton Gunnarsson
01740e3300
Merged in feat/turborepo (pull request #1451 )
...
Turborepo
Approved-by: Linus Flood
2025-03-12 08:18:38 +00:00
Anton Gunnarsson
393546d35d
Merged in feat/sw-1291-show-sas-membership-data (pull request #1503 )
...
Show SAS membership data in Linked Accounts
* Rip out old styling
* Desktop version of new linked accounts design
* Use new design system tokens
* Refactor SASLinkedAccount to handle all states
* Improve small screen styling
* Add intl etc
* Skeletons
* Tiny fixes
* Add i18n keys to all languages
Approved-by: Linus Flood
2025-03-10 10:13:18 +00:00
Anton Gunnarsson
202d84218c
Merged in fix/sas-tier-comparison-center-button (pull request #1489 )
...
Increase specificity of ctaButton class to ensure it applies
Approved-by: Joakim Jäderberg
2025-03-06 12:36:00 +00:00
Anton Gunnarsson
47785aa07a
Merged in feat/sw-1825-my-pages-sas-link-visibility (pull request #1479 )
...
* Use SAS membership for my pages sas link visibility
Approved-by: Joakim Jäderberg
2025-03-06 09:45:08 +00:00
Anton Gunnarsson
c92529fcde
Merged in fix/sw-1828-tier-comparison-title-fix (pull request #1485 )
...
Fix styling issues in SASTierComparison
* Fix styling issues in SASTierComparison
- Center title
- Use props for tier title font styles
Approved-by: Matilda Landström
2025-03-06 08:38:58 +00:00
Anton Gunnarsson
916912a170
Merged in fix/sw-1826-tier-comparison-layout-bug (pull request #1482 )
...
Fix tier comparison on very small screens
* Fix tier comparison on very small screens
Approved-by: Joakim Jäderberg
2025-03-05 13:26:19 +00:00
Anton Gunnarsson
43d3713f59
Merged in feat/SW-1810-prevent-starting-link-flow-when-linked (pull request #1469 )
...
Prevent SAS link flow when already linked
* Implement check for checking sas_eb membership when starting link flow
Approved-by: Joakim Jäderberg
2025-03-05 08:17:02 +00:00
Anton Gunnarsson
00fa7819b4
Merged in feat/membership-schema-update (pull request #1459 )
...
Update membership schema to adapt for API changes
Approved-by: Michael Zetterberg
2025-03-04 08:00:33 +00:00
Anton Gunnarsson
6804b52d31
Merged in fix/unpin-framer-motion-version (pull request #1444 )
...
Unpin framer-motion version
Approved-by: Linus Flood
2025-02-28 13:54:29 +00:00
Anton Gunnarsson
15fa01cbb2
Merged in fix/unpin-zod-version (pull request #1419 )
...
Unpin zod version
Approved-by: Linus Flood
2025-02-26 12:46:26 +00:00
Anton Gunnarsson and Linus Flood
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
Anton Gunnarsson
204bbbbcd4
Merged in fix/sas-link-flow-links (pull request #1389 )
...
Set correct links in SAS link flow
Approved-by: Joakim Jäderberg
2025-02-21 12:26:38 +00:00
Anton Gunnarsson
340f6d1714
Merged in feat/SW-1488-unlink-sas-account (pull request #1349 )
...
Implement unlink SAS flow
Approved-by: Joakim Jäderberg
2025-02-20 15:09:06 +00:00