Commit Graph
60 Commits
Author SHA1 Message Date
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 AndolfandChristel 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
Christian Andolf e6e163af3c Merged in fix/reduce-flow-content-inside-label (pull request #782)
fix: only phrasing content is allowed inside label element

Approved-by: Simon.Emanuelsson
2024-11-01 13:44:30 +00:00
Christian Andolf a37cd3ff44 fix: only phrasing content is allowed inside label element 2024-11-01 14:31:40 +01:00
Christian Andolf cfc400a619 Merged in fix/remove-useless-attributes (pull request #804)
fix: removed useless itemprop and old data attributes

Approved-by: Erik Tiekstra
2024-11-01 13:31:07 +00:00
Christian Andolf b035fdd53e fix: removed useless itemprop and old data attributes
removed references to removed classes
2024-11-01 14:26:42 +01:00
Christian Andolf 9936fc393d Merged in fix/coupon-reward-not-surprise (pull request #811)
fix: coupon rewards are no longer strictly surprises

Approved-by: Chuma Mcphoy (We Ahead)
2024-11-01 13:21:49 +00:00
Christian Andolf 931828e15e fix: coupon rewards are no longer strictly surprises 2024-11-01 14:17:57 +01:00
Christian Andolf f26fa8b8d7 Merged in fix/remove-faulty-attributes-svg (pull request #783)
fix: remove props that could be set as invalid attributes on svg

Approved-by: Chuma Mcphoy (We Ahead)
2024-10-29 10:17:22 +00:00
Christian Andolf cf0449ae8e Merged in fix/remove-ids-from-svgs (pull request #778)
fix: remove ids from svgs to prevent duplicate ids when rendering icon multiple times

Approved-by: Simon.Emanuelsson
2024-10-29 09:37:11 +00:00
Christian Andolf ec89a6e7a8 Merged in fix/reduce-flow-content-in-buttons (pull request #775)
fix: only phrasing content is allowed inside buttons meaning no div or p elements, these are now replaced by span

Approved-by: Christel Westerberg
Approved-by: Simon.Emanuelsson
2024-10-28 14:43:53 +00:00
Christian Andolf d587943c77 Merged in fix/remove-space-phone-number-link (pull request #776)
fix: remove spaces in phone number in link because of bad schema

Approved-by: Chuma Mcphoy (We Ahead)
Approved-by: Matilda Landström
2024-10-28 12:37:52 +00:00