Christian Andolf
8462b17cdd
fix(SW-1671): align heart markers to the top
...
make sure usp lists are evenly squared columns
2025-02-18 15:28:36 +01:00
Christian Andolf
0b9298027c
Merged in feat/LOY-135-change-redeem-desc-to-rte (pull request #1350 )
...
feat(LOY-135): change redeem description to be RTE
Approved-by: Erik Tiekstra
2025-02-17 14:12:16 +00:00
Christian Andolf
a192d32f7e
feat(LOY-135): change redeem description to be RTE
2025-02-17 15:05:32 +01:00
Christian Andolf
577271c577
Merged in chore/no-unused-vars-lint-rule (pull request #1339 )
...
chore: add no unused vars lint rule
Approved-by: Michael Zetterberg
2025-02-17 09:54:33 +00:00
Christian Andolf
06d861fb6f
chore: add no unused vars lint rule
2025-02-17 10:43:54 +01:00
Christian Andolf
2d5111fed3
Merged in feat/LOY-61-add-confirm-close-to-redeem (pull request #1322 )
...
feat(LOY-61): add confirmation box to close when redeemed a reward
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-17 08:41:01 +00:00
Christian Andolf
4f0c4a0acb
fix(LOY-61): only invalidate current rewards if reward is redeemed or confirm close redeemed reward
2025-02-17 09:34:54 +01:00
Christian Andolf
b656023bac
feat(LOY-61): add confirmation box to close when redeemed a reward
2025-02-17 09:34:54 +01:00
Christian Andolf
962836606e
Merged in fix/LOY-88-hide-expiration-date-if-missing (pull request #1338 )
...
fix(LOY-88): expiration date is now not defaulted to todays date if it's missing, instead nothing is shown
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-17 08:34:18 +00:00
Christian Andolf
bc81b18e85
fix(LOY-88): expiration date is now not defaulted to todays date if it's missing, instead nothing is shown
2025-02-17 09:07:32 +01:00
Christian Andolf
81643883ff
Merged in fix/SW-1615-usp-list-now-grows-vertically (pull request #1336 )
...
fix(SW-1615): usp list for scandic friends block now grows vertically instead of horizontally
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-14 15:43:34 +00:00
Christian Andolf
3044bc87d1
Merged in fix/LOY-138-remove-membership-id-surprises (pull request #1337 )
...
fix(LOY-138): remove membership id from showing in surprises
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-14 07:51:08 +00:00
Christian Andolf
03e9e5c9ca
fix(LOY-138): remove membership id from showing in surprises
2025-02-13 16:44:40 +01:00
Christian Andolf
c74cb7da58
fix(SW-1615): usp list for scandic friends block now grows vertically instead of horizontally
2025-02-13 16:23:22 +01:00
Christian Andolf
bc23314275
Merged in fix/LOY-136-dont-invalidate-rewards-until-redeem-close (pull request #1308 )
...
fix(LOY-136): rewards are no longer invalidated and refetched when redeeming rewards, instead it happens when modal is closed
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-13 11:30:36 +00:00
Christian Andolf
4832688254
fix(LOY-136): rewards are no longer invalidated and refetched when redeeming rewards, instead it happens when modal is closed
2025-02-13 12:22:11 +01:00
Christian Andolf
409ba5bf4c
Merged in feat/LOY-134-add-informative-reward-modal (pull request #1307 )
...
feat(LOY-134): display informative rewards and modal
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-13 10:13:35 +00:00
Christian Andolf
509c83868d
feat(LOY-134): display informative rewards and modal
2025-02-13 10:16:02 +01:00
Christian Andolf
98e3afe9db
Merged in fix/LOY-119-hide-redeemed-rewards (pull request #1292 )
...
fix(LOY-119): hiding redeemed rewards
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-11 12:09:44 +00:00
Christian Andolf
4459d5762c
fix(LOY-119): hiding redeemed rewards
...
some smaller cleanup on coupon property to avoid optional checks
2025-02-11 13:02:29 +01:00
Christian Andolf
1d4993fb7f
Merged in fix/LOY-89-more-user-friendly-surprise-error-message (pull request #1298 )
...
fix(LOY-89): add a more user friendly error message for when unwrapping surprises
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-11 09:13:56 +00:00
Christian Andolf
72049ed88b
fix(LOY-89): add a more user friendly error message for when unwrapping surprises
2025-02-11 10:08:40 +01:00
Christian Andolf
818daed5b8
Merged in fix/full-width-campaign-full-height (pull request #1277 )
...
fix: full width campaign is now full height on mobile
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-07 15:02:15 +00:00
Christian Andolf
5f2b86b6c4
fix: full width campaign is now full height on mobile
2025-02-07 15:55:44 +01:00
Christian Andolf
fae0b124a5
Merged in feat/SW-1543-hide-join-scandic-friends-logged-in (pull request #1261 )
...
feat(SW-1543): join scandic friends block is now hidden for logged in users
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-07 14:50:35 +00:00
Christian Andolf
69d57b73a2
feat(SW-1543): move auth check within component to be suspended
2025-02-07 15:43:51 +01:00
Christian Andolf
ced8dd5d99
fix: startpage blocks now default to an array
2025-02-07 15:43:51 +01:00
Christian Andolf
c622a65a8a
feat(SW-1543): join scandic friends block is now hidden for logged in users
2025-02-07 15:43:51 +01:00
Christian Andolf
9fafb33d26
Merged in feat/SW-1391-join-scandic-friends-startpage (pull request #1260 )
...
feat(SW-1391): add join scandic friends block
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-06 15:05:06 +00:00
Christian Andolf
053ce3f4de
fix: startpage background is now white by default and jsf block is back to original design
2025-02-06 14:59:16 +01:00
Christian Andolf
4d63cc57c5
feat(SW-1391): add join scandic friends block
2025-02-06 14:33:37 +01:00
Christian Andolf
e7fbcd8a80
Merged in fix/non-transparent-table-header (pull request #1243 )
...
fix: sticky table header no longer has transparent background
Approved-by: Erik Tiekstra
2025-02-03 14:00:39 +00:00
Christian Andolf
a5776d7256
fix: sticky table header no longer has transparent background
2025-02-03 14:00:57 +01:00
Christian Andolf
b2a3fca54a
Merged in fix/full-size-header (pull request #1237 )
...
fix: header on startpage is now full width
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-03 09:43:41 +00:00
Christian Andolf
0ead1ead62
fix: bap is now true full width
2025-01-31 14:45:12 +01:00
Christian Andolf
e4e69bd55b
Merged in fix/LOY-104-compare-all-levels-page-bugs (pull request #1234 )
...
fix(LOY-104): reduce text in tables to not break mobile design
Approved-by: Erik Tiekstra
2025-01-31 13:36:01 +00:00
Christian Andolf
d02c1d5266
fix: header on startpage is now full width
2025-01-31 14:34:07 +01:00
Christian Andolf
137d2cf499
fix(LOY-104): reduce text in tables to not break mobile design
...
adjusted padding to show points required on one row
2025-01-30 16:36:29 +01:00
Christian Andolf
8e37374258
Merged in fix/LOY-115-missing-next-level-translation (pull request #1230 )
...
fix(LOY-115): add missing translation for next level
Approved-by: Chuma Mcphoy (We Ahead)
2025-01-30 14:26:15 +00:00
Christian Andolf
809ac63586
fix(LOY-115): add missing translation for next level
2025-01-30 15:18:01 +01:00
Christian Andolf
cffde6f9c3
Merged in fix/merge-start-page-blocks (pull request #1229 )
...
fix: merge start page blocks
Approved-by: Chuma Mcphoy (We Ahead)
2025-01-29 15:25:48 +00:00
Christian Andolf
fed2674e2f
fix: merge start page blocks
2025-01-29 16:19:41 +01:00
Christian Andolf
5007a71d57
Merged in feat/SW-1386-startpage-bap (pull request #1219 )
...
feat(SW-1386): add full width campaign to start page
Approved-by: Erik Tiekstra
Approved-by: Chuma Mcphoy (We Ahead)
2025-01-29 13:05:34 +00:00
Christian Andolf
672389e85c
fix(SW-1386): sorted out width on blocks and fixed some padding stuff
2025-01-29 13:55:51 +01:00
Christian Andolf
73c06e21c5
fix(SW-1386): fix image sizes to be more responsive and fill it's container correctly
2025-01-29 11:39:11 +01:00
Christian Andolf
2f22186d18
fix(SW-1386): transform full width campaign data
2025-01-29 11:39:11 +01:00
Christian Andolf
e525abda20
fix(SW-1386): correct font sizes and levels for full width campaign
2025-01-29 11:39:11 +01:00
Christian Andolf
75ee9933ab
fix(SW-1386): add destination page links to graphql schema
2025-01-29 11:39:11 +01:00
Christian Andolf
07d222c355
feat(SW-1386): buttons can now correctly be links
2025-01-29 11:39:11 +01:00
Christian Andolf
b0c24d8945
feat(SW-1386): add full width campaign to start page
2025-01-29 11:39:09 +01:00
Christian Andolf
444e2d4bcb
Merged in fix/LOY-39-redeem-back-button-returns-to-initial-step (pull request #1220 )
...
fix(LOY-39): fix redeem back button to actually go back to initial step
Approved-by: Chuma Mcphoy (We Ahead)
2025-01-28 11:15:30 +00:00
Christian Andolf
091b851d41
fix(LOY-39): fix redeem back button to actually go back to initial step
2025-01-27 16:43:35 +01:00
Christian Andolf
3579ada786
Merged in feat/SW-1388-startpage-header (pull request #1203 )
...
feat(SW-1388): add hero image and heading to startpage
* feat(SW-1388): add hero image and heading to startpage
* fix(SW-1388): spacing variables for padding
* fix(SW-1388): use inset value instead
Approved-by: Erik Tiekstra
2025-01-24 13:04:19 +00:00
Christian Andolf
127bb6a0a7
Merged in feat/SW-1381-new-startpage-page (pull request #1197 )
...
feat(SW-1381): add initial start page
* feat(SW-1381): add initial start page
* fix: remove unused startpage template
remove translation key for middleware error page
* fix(SW-1381): add tracking SDK and feature flag to hide start page
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
Approved-by: Chuma Mcphoy (We Ahead)
2025-01-23 10:18:21 +00:00
Christian Andolf
7ba0441ed4
Merged in fix/LOY-39-refetch-rewards-when-redeemed (pull request #1109 )
...
fix(LOY-39): refetch rewards when redeemed
Approved-by: Chuma Mcphoy (We Ahead)
2025-01-20 08:58:09 +00:00
Christian Andolf
72e4b7bb9b
fix(LOY-39): revert coupon property change
2025-01-20 09:53:17 +01:00
Christian Andolf
633d259ce0
fix(LOY-39): refetch rewards when redeemed
...
update expiration date text
possible to redeem rewards with coupon code
2025-01-20 09:53:17 +01:00
Christian Andolf
9c2d9ec528
Merged in fix/redeem-translations (pull request #1161 )
...
fix: added some missing redeem flow translations and fixed copy on button
Approved-by: Fredrik Thorsson
Approved-by: Chuma Mcphoy (We Ahead)
2025-01-09 16:01:29 +00:00
Christian Andolf
56276a6f19
fix: added some missing redeem flow translations and fixed copy on button
2025-01-09 16:54:29 +01:00
Christian Andolf
6d58114d5a
Merged in fix/toast-close-button-padding (pull request #1151 )
...
fix: corrected intent for button to fix broken padding
Approved-by: Chuma Mcphoy (We Ahead)
2025-01-09 15:53:43 +00:00
Christian Andolf
ca50079a4a
Merged in feat/LOY-63-redeem-campaign (pull request #1122 )
...
feat(LOY-63): redeem campaign
Approved-by: Chuma Mcphoy (We Ahead)
2025-01-09 08:51:56 +00:00
Christian Andolf
9452f24df9
feat(LOY-63): add promo code badge to campaign redeem
2025-01-09 09:47:26 +01:00
Christian Andolf
6941c1d006
fix(LOY-63): move redeem flows to separate folder
...
add use client directive
2025-01-09 09:47:26 +01:00
Christian Andolf
9584478b34
feat(LOY-63): redeem campaign
2025-01-09 09:47:26 +01:00
Christian Andolf
5c6f357c01
fix: corrected intent for button to fix broken padding
2025-01-08 15:26:42 +01:00
Christian Andolf
f531350e2e
Merged in fix/svg-cleanup (pull request #1111 )
...
fix: clean up svgs on ids, masks and other redundant stuff
Approved-by: Chuma Mcphoy (We Ahead)
2024-12-19 10:45:15 +00:00
Christian Andolf
63c8102600
fix: clean up svgs on ids, masks and other redundant stuff
2024-12-19 09:44:11 +01:00
Christian Andolf and Christel Westerberg
42bb71cf2f
feat(SW-1063): add member price modal
2024-12-17 10:58:44 +01:00
Christian Andolf
f5fb64729c
Merged in chore/add-import-type-rule (pull request #1052 )
...
chore: add consistent type imports
Approved-by: Pontus Dreij
Approved-by: Simon.Emanuelsson
Approved-by: Matilda Landström
2024-12-12 11:06:10 +00:00
Christian Andolf
e08e960209
chore: add consistent type imports
2024-12-12 11:47:44 +01:00
Christian Andolf
4b51b5aff6
Merged in fix/hide-cs-rewards-flag (pull request #1065 )
...
fix: hide new cs rewards model behind feature flag
Approved-by: Michael Zetterberg
Approved-by: Chuma Mcphoy (We Ahead)
2024-12-11 08:55:46 +00:00
Christian Andolf
0d607d7cc7
fix: hide new cs rewards model behind feature flag
2024-12-10 16:26:20 +01:00
Christian Andolf
14f1d35860
Merged in fix/add-redeem-translations (pull request #1043 )
...
fix: add missing redeem translation keys
Approved-by: Chuma Mcphoy (We Ahead)
2024-12-06 13:13:06 +00:00
Christian Andolf
a9d3805334
fix: add missing redeem translation keys
2024-12-06 13:58:25 +01:00
Christian Andolf
abf6ed1fcc
Merged in feat/LOY-23-benefit-modal (pull request #1008 )
...
feat(LOY-23): new modal implementation for redeem benefit
Approved-by: Chuma Mcphoy (We Ahead)
2024-12-06 12:54:43 +00:00
Christian Andolf
1a4dddb3fe
fix: hide redeem button with feature flag
2024-12-06 12:56:54 +01:00
Christian Andolf
7be90facd0
feat(LOY-23): redeem benefit modal
2024-12-06 12:56:54 +01:00
Christian Andolf
65d160d56d
Merged in fix/LOY-39-add-surprises-to-benefits (pull request #1029 )
...
fix(LOY-39): add unwrapped surprises to benefits
Approved-by: Chuma Mcphoy (We Ahead)
2024-12-05 09:30:43 +00:00
Christian Andolf
94d53e1da3
fix(LOY-39): add unwrapped surprises to benefits
2024-12-04 11:28:25 +01:00
Christian Andolf
3c8a83ac59
Merged in fix/add-priority-logo (pull request #1009 )
...
fix: set priority on logo above the fold for preloading
Approved-by: Erik Tiekstra
2024-12-04 09:42:22 +00:00
Christian Andolf
90337fc84b
fix: set priority on logo above the fold for preloading
2024-12-04 10:38:31 +01:00
Christian Andolf
dde953c270
Merged in fix/incorrect-letter-spacing (pull request #982 )
...
fix: corrected some letter-spacing values since percentage is not allowed
Approved-by: Matilda Landström
2024-11-29 09:23:10 +00:00
Christian Andolf
b6e974ad4e
fix: corrected some letter-spacing values since percentage is not allowed
2024-11-29 09:17:03 +00:00
Christian Andolf
a60c048476
Merged in fix/SW-993-full-width-toast-mobile (pull request #965 )
...
fix(SW-993): toast is now full width on mobile
Approved-by: Matilda Landström
Approved-by: Chuma Mcphoy (We Ahead)
2024-11-26 13:43:03 +00:00
Christian Andolf
257900b7a8
fix(SW-993): toast is now full width on mobile
...
updated sonner to latest version
increased default duration of toast to 5 sec
2024-11-26 13:27:26 +00:00
Christian Andolf
39dff4cd3d
Merged in fix/SW-992-center-empty-stays-text (pull request #969 )
...
fix(SW-992): center empty stays text
Approved-by: Matilda Landström
2024-11-25 13:35:25 +00:00
Christian Andolf
d612aa83d8
fix(SW-992): center empty stays text
2024-11-25 10:51:03 +01:00
Christian Andolf
4d8bbfdd78
Merged in fix/SW-696-new-surprises-endpoint (pull request #889 )
...
fix(SW-696): add unwrap to surprises
Approved-by: Chuma Mcphoy (We Ahead)
2024-11-21 13:06:23 +00:00
Christian Andolf
848338248f
fix(SW-696): remove redundant filter, add translation
2024-11-21 12:19:46 +01:00
Christian Andolf
e294d39fdf
fix(SW-696): add unwrap metrics
2024-11-21 12:19:46 +01:00
Christian Andolf
3aedc4ff25
fix(SW-696): split up surprises into more components for readability
...
add tsparticles for confetti
2024-11-21 12:19:46 +01:00
Christian Andolf
0824f7ce26
fix(SW-696): add unwrap to surprises
...
add animations to sliding cards
various minor fixes
2024-11-21 12:19:46 +01:00
Christian Andolf
e6a70a0a8a
Merged in fix/SW-315-design-fixes-my-pages (pull request #825 )
...
fix(SW-315): formatting numbers via locale, fixed a few padding issues
Approved-by: Michael Zetterberg
Approved-by: Simon.Emanuelsson
2024-11-08 08:32:18 +00:00
Christian Andolf
f6b3cf8b92
chore: replace function expression with inline statement
...
replace destructuring for better static analysis
remove unused variables
2024-11-08 09:25:28 +01:00
Christian Andolf
28c30b2416
fix(SW-315): formatting numbers via locale, fixed a few padding issues
2024-11-08 09:25:28 +01:00
Christian Andolf
a350b58d7d
Merged in revert-pr-823 (pull request #837 )
...
Revert "chore: npm audit fix 2024-11-04 (pull request #823 )"
Approved-by: Michael Zetterberg
2024-11-05 10:57:11 +00:00
Christian Andolf
4171a8d1a7
Revert "chore: npm audit fix 2024-11-04 (pull request #823 )"
2024-11-05 10:49:37 +00:00
Christian Andolf
038ae1256f
Merged in chore/npm-audit-2024-11-04 (pull request #823 )
...
chore: npm audit fix 2024-11-04
Approved-by: Matilda Landström
2024-11-04 10:42:59 +00:00
Christian Andolf
24e95ab720
chore: update next file that gets updated when running dev locally
2024-11-04 11:29:50 +01:00
Christian Andolf
74a7e287eb
chore: npm audit fix 2024-11-04
2024-11-04 10:57:08 +01:00