Commit Graph
100 Commits
Author SHA1 Message Date
Christian Andolf e6e50ade45 Merged in feat/SW-1773-find-my-booking-validation (pull request #1453)
feat(SW-1773): add proper validation to form and query

Approved-by: Linus Flood
Approved-by: Chuma Mcphoy (We Ahead)
2025-03-03 12:24:01 +00:00
Christian Andolf 37a853f399 fix(SW-1773): added defineMessage declarations in order for localise to find the proper schema keys 2025-03-03 08:57:48 +01:00
Christian Andolf c98ac88ac0 feat(SW-1773): add proper validation to form and query 2025-03-03 08:57:48 +01:00
Christian Andolf 5d7815bd28 Merged in feat/SW-1273-find-my-booking-page (pull request #1414)
feat(SW-1273): find my booking page with rudimentary validation and redirect

Approved-by: Michael Zetterberg
Approved-by: Chuma Mcphoy (We Ahead)
2025-02-27 09:17:15 +00:00
Christian Andolf 7a8b926f0a fix(SW-1273): update customer service info with link instead of phone number 2025-02-27 09:57:18 +01:00
Christian Andolf 8f17622f21 fix(SW-1273): move find my booking page to the correct folder after monorepo migration 2025-02-27 09:57:18 +01:00
Christian Andolf 7d3c0c96e3 refactor(SW-1273): move find my booking routes in order to import them directly into next config 2025-02-27 09:57:18 +01:00
Christian Andolf 51f71383d4 fix(SW-1273): usage of Link component
move getLang further down the render to reduce CPU cycles

swap to min-width on button to compensate larger strings

remove useless async declaration
2025-02-27 09:57:18 +01:00
Christian Andolf 85cd815968 feat(SW-1273): find my booking page with rudimentary validation and redirect 2025-02-27 09:57:17 +01:00
Christian Andolf 7711f78ab3 Merged in fix/lint-and-build-error-2025-02-27 (pull request #1429)
fix: remove useless imports and sort them

Approved-by: Linus Flood
Approved-by: Anton Gunnarsson
2025-02-27 08:50:37 +00:00
Christian Andolf 0c1396f2ee fix: remove useless imports and sort them
add missing key in iterator
2025-02-27 09:43:57 +01:00
Christian Andolf ec00a598d2 Merged in fix/LOY-137-fetch-surprises-client (pull request #1363)
fix(LOY-137): now fetches surprises client side in intervals

Approved-by: Chuma Mcphoy (We Ahead)
2025-02-21 14:59:56 +00:00
Christian Andolf 0ba71f205d fix(LOY-137): now fetches surprises client side in intervals 2025-02-21 15:37:59 +01:00
Christian Andolf 7b15687f07 Merged in fix/scandic-friends-tablet-layout (pull request #1372)
fix: fix scandic friends block for tablet view

Approved-by: Chuma Mcphoy (We Ahead)
2025-02-19 15:03:26 +00:00
Christian Andolf 220ce1e93b fix: change header level 2025-02-19 15:31:50 +01:00
Christian Andolf f55ac3999a fix: preamble, title and scripted text has been corrected in sizes and rotate 2025-02-19 15:31:50 +01:00
Christian Andolf 9b88b9d1da fix: fix scandic friends block for tablet view 2025-02-19 15:31:50 +01:00
Christian Andolf cd8b2e4b73 Merged in fix/SW-1671-align-usp-items-scandic-friends (pull request #1371)
fix(SW-1671): align heart markers to the top

Approved-by: Erik Tiekstra
2025-02-18 14:45:28 +00:00
Christian Andolf f14eb05262 Merged in fix/LOY-95-localize-country-names (pull request #1364)
fix(LOY-95): localize and sort country names in select

Approved-by: Chuma Mcphoy (We Ahead)
2025-02-18 14:31:00 +00:00
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 9a443a9cb0 fix(LOY-95): localize and sort country names in select 2025-02-17 17:46:35 +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 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