Commit Graph
100 Commits
Author SHA1 Message Date
Chuma Mcphoy (We Ahead) f3e6318d49 Merged in feat/SW-1383-content-card-start-page (pull request #1252)
feat(SW-1383): Implement ContentCard for the Start Page

* feat(SW-1383): Implement ContentCard

- Add ContentCard component
- Use within CarouselCards component

* fix(SW-1383): adjust carousel and content card styling

* refactor(SW-1383): optimize ContentCard component styling and props

* feat(SW-1383): move ContentCard image check out of component

* feat(SW-1383): Add optional link prop to ContentCard component

* refactor(SW-1383): Make ContentCard component linkable


Approved-by: Christian Andolf
Approved-by: Erik Tiekstra
2025-02-05 11:29:53 +00:00
Chuma Mcphoy (We Ahead) 2e311be924 Merged in feat/SW-1384-filterable-carousel-cards (pull request #1235)
feat(SW-1384): add CarouselCards block to start page

* feat(SW-1384): add filterable carousel cards block to start page

* fix(SW-1384): remove unnecessary link prop from SectionHeader

* fix(SW-1384): remove uneeded undefined

* fix(SW-1384): better type safety

* feat(SW-1384): Add see all link to filterable carousel cards section header

* refactor(SW-1384): Replace FilterableCarouselCards with CarouselCards block

* fix(SW-1384): Remove CardsEnumType type definition

* fix(SW-1384):Implement code review feedback to CarouselCards

* refactor(SW-1384): Convert CarouselCardFilterEnum to const enum with type


Approved-by: Christian Andolf
2025-02-04 10:59:17 +00:00
Chuma Mcphoy (We Ahead) 09011a2484 Merged in fix/extended-page-link-schema (pull request #1241)
fix: handle optional web property in extended page link schema

* fix: handle optional web property in page link transformation


Approved-by: Christian Andolf
2025-02-03 13:02:13 +00:00
Chuma Mcphoy (We Ahead) f9d1736195 Merged in fix/remove-infocardblock-from-content-page (pull request #1238)
fix: remove InfoCardBlock references from Content Page CardsGrid fragment

* fix: remove InfoCardBlock references from CardsGrid fragment


Approved-by: Erik Tiekstra
2025-02-03 07:20:37 +00:00
Chuma Mcphoy (We Ahead) b57174647f Merged in SW-1382-start-page-offers-section (pull request #1221)
SW-1382 start page offers section

* feat(SW-1382): Add InfoCard component to CardsGrid and StartPage

* feat(SW-1382): Add dynamic image positioning for InfoCard in CardsGrid

* refactor(SW-1382): Update InfoCard data transformation and prop naming

* fix(SW-1382): Add flex display to InfoCard image container


Approved-by: Christian Andolf
Approved-by: Erik Tiekstra
2025-01-29 10:21:33 +00:00
Chuma McPhoy c976d187be fix(LOY-62): conditionally render ScriptedRewardText based on showRedeem flag 2025-01-14 10:17:22 +01:00
Chuma McPhoy 655103a0b5 refactor(LOY-62): revert to switch case for ScriptedRewardText label text 2025-01-14 10:17:22 +01:00
Chuma McPhoy da31539610 refactor(LOY-62): implement code review feedback 2025-01-14 10:17:22 +01:00
Chuma McPhoy e0d8315565 fix(LOY-62): use correct voucher rewardType value 2025-01-14 10:17:22 +01:00
Chuma McPhoy dc7e6df006 chore(LOY-62): Add case and translations for vouchers 2025-01-14 10:17:22 +01:00
Chuma McPhoy 0edd615925 feat(LOY-62): Add ScriptedRewardText component 2025-01-14 10:17:22 +01:00
Chuma McPhoy 1cd400a977 fix: add "Member-voucher" to rewardType enum in CouponReward schema 2025-01-10 09:19:42 +01:00
Chuma McPhoy cc7461bf3c fix: update breadcrumbs styling for full width variants 2025-01-07 16:33:11 +01:00
Chuma McPhoy 07fc8357c1 fix: update breadcrumbs max width for loyalty pages 2025-01-07 15:56:15 +01:00
Chuma McPhoy f2e29ae049 refactor(LOY-48): update date property names in tracking data across contentstack queries 2025-01-03 15:51:16 +01:00
Chuma McPhoy 61f3c8ecd3 fix(LOY-48): unify domainLanguage assignment across all contentstack queries 2024-12-20 14:30:58 +01:00
Chuma McPhoy 78094b7c10 fix(contentPage): update domainLanguage assignment to use lang variable 2024-12-20 14:22:41 +01:00
Chuma McPhoy ea27bb01e2 refactor(LOY-48): add signup specific content page tracking 2024-12-20 10:10:55 +00:00
Chuma McPhoy 528652d603 fix(LOY-90): remove duplicate country value 2024-12-18 17:52:43 +01:00
Chuma McPhoy dddd93a98a fix(LOY-90): use double qutes for object keys + country fixes 2024-12-18 14:43:08 +01:00
Chuma McPhoy 6168e0a034 fix(LOY-44): signup flow translations fixes 2024-12-18 09:26:52 +01:00
Chuma McPhoy 01c0d5c35e fix(LOY-64): lowercase s on membershipbadge 2024-12-13 14:57:16 +01:00
Chuma McPhoy 9d9084f60d fix(LOY-64): memoize getCurrentRewards call 2024-12-13 14:57:16 +01:00
Chuma McPhoy 079d8dbf33 fix(LOY-64): lint fix 2024-12-13 14:57:16 +01:00
Chuma McPhoy 9247ea0e9c fix(LOY-64): abstract membershipbadge to its own component 2024-12-13 14:57:16 +01:00
Chuma McPhoy 839655d4df fix(LOY-64): use memberId in conditonal 2024-12-13 14:57:16 +01:00
Chuma McPhoy aa9e2e0a1b chore(LOY-64): remove unused import 2024-12-13 14:57:16 +01:00
Chuma McPhoy c33f125332 chore(LOY-64): better organisation of reward types and data 2024-12-13 14:57:16 +01:00
Chuma McPhoy 87ff783c87 fix(LOY-64): remove uneeded css 2024-12-13 14:57:16 +01:00
Chuma McPhoy 457f2b942d feat(LOY-64): add ActiveRedeemedBadge UI for on site tier rewards 2024-12-13 14:57:16 +01:00
Chuma McPhoy 53c33fef13 fix(LOY-10): My pages sidebar UI tweaks 2024-12-12 14:06:31 +01:00
Chuma McPhoy d50758104d fix(SW-1089): add updated translations 2024-12-11 15:53:06 +01:00
Chuma McPhoy f5fbb44ec7 fix(SW-1089): move text with anchor links outside of label 2024-12-11 15:12:29 +01:00
Chuma McPhoy ccb61c27c0 feat(SW-1089): add link for terms and conditions 2024-12-11 15:12:29 +01:00
Chuma McPhoy 7b7b5717d5 fix(LOY-10): proper formatting 2024-12-11 09:40:41 +01:00
Chuma McPhoy 4aab9c01ef fix(LOY-10): remove unsused import 2024-12-11 09:40:41 +01:00
Chuma McPhoy f403ac62df fix(LOY-10): use RewardIcon in redeem modal 2024-12-11 09:40:41 +01:00
Chuma McPhoy f5665eb93a fix(LOY-10): remove type cast from isValidRewardId 2024-12-11 09:40:41 +01:00
Chuma McPhoy c94d36afb2 fix(LOY-10): type import 2024-12-11 09:40:41 +01:00
Chuma McPhoy 5933380bd8 fix(LOY-10): provide fallback icon for current rewards 2024-12-11 09:40:41 +01:00
Chuma McPhoy 5464efb7a8 fix(LOY-10): remove uneeded css and icon wrapper 2024-12-11 09:40:41 +01:00
Chuma McPhoy 6babb667e4 fix(LOY-10): move types to type folder 2024-12-11 09:40:41 +01:00
Chuma McPhoy d897bd81ac chore(LOY-10): rename folder to CurrentRewards 2024-12-11 09:40:41 +01:00
Chuma McPhoy 13551417ed feat(LOY-10): dynamic icons based on reward id 2024-12-11 09:40:41 +01:00
Chuma McPhoy 80f7e8e7f8 fix(LOY-53): scroll to top of current rewards on page change 2024-12-10 09:48:59 +01:00
Chuma McPhoy 5a2b726ffc fix(LOY-53): hide pagination if less than one page 2024-12-10 09:48:59 +01:00
Chuma McPhoy 28d4d752e9 feat(LOY-53): CurrentRewards - replace show more functionality with pagination 2024-12-10 09:48:59 +01:00
Chuma McPhoy ca0bac2fee fix(SW-360): update signup routes based on requst from content team 2024-12-03 07:16:27 +01:00
Chuma McPhoy b80d75a63a fix(SW-1095): default to swedish country code if page in english 2024-11-29 12:18:24 +01:00
Chuma McPhoy da824ee2b4 fix(SW-1095): add type to imports 2024-11-29 10:39:10 +01:00
Chuma McPhoy 4da0918469 fix(SW-1095): set country code based on url lang when phone input empty 2024-11-29 10:34:07 +01:00
Chuma McPhoy 4311def182 fix(SW-360): remove placeholder prop to fix ios select input bug 2024-11-26 11:57:40 +01:00
Chuma McPhoy c14fe6bc86 refactor(SW-360): extract password validation outside main NewPassword component to minimize re-renders. 2024-11-26 10:30:24 +01:00
Chuma McPhoy c8eaae7928 fix(SW-360): change button to signup to trigger shouldFocusError 2024-11-26 10:30:24 +01:00
Chuma McPhoy 3967ec6040 chore(SW-360): proper formatting of AriaInputWithLabel 2024-11-26 10:30:24 +01:00
Chuma McPhoy 79f48adbf5 fix(SW-360): scroll to first validation + remove unused translations 2024-11-26 10:30:24 +01:00
Chuma McPhoy 03db7cec16 chore(SW-360): remove unused translation 2024-11-26 10:30:24 +01:00
Chuma McPhoy 0d972367df fix(SW-360): remove container queries to fix stacking context bug affecting dropdowns in signup 2024-11-26 10:30:24 +01:00
Chuma McPhoy 6f980fe9cd refactor(SW-360): review feedback 2024-11-26 10:30:24 +01:00
Chuma McPhoy 0865a553cd fix(SW-360): set default validate behaviour to onBlur on signup page 2024-11-26 10:30:24 +01:00
Chuma McPhoy a68e37c26f fix(SW-898): remove redundant schema and add transform in signupInput 2024-11-19 15:45:00 +01:00
Chuma McPhoy 5c571c3c0c feat(SW-898): add pending ui text to signup button 2024-11-19 15:45:00 +01:00
Chuma McPhoy cfaa92260a chore(SW-898): pr comments 2024-11-19 15:45:00 +01:00
Chuma McPhoy bc5a01fdf4 fix(SW-898): formatting 2024-11-19 15:45:00 +01:00
Chuma McPhoy 6958db3ca5 refactor(SW-898): replace signup server action with TRPC 2024-11-19 15:45:00 +01:00
Chuma McPhoy d65be1845a fix(SW-890): more reliable checking of user 2024-11-15 12:57:32 +01:00
Chuma McPhoy 5fef56cc97 fix(SW-890): better feature flag handling 2024-11-15 12:22:40 +01:00
Chuma McPhoy fd6c15ed78 feat: add env var for signup flow 2024-11-15 12:22:40 +01:00
Chuma McPhoy 876370e817 fix(SW-739): pr review fixes 2024-11-13 10:21:07 +01:00
Chuma McPhoy 31a94cfa6a feat: update current & surprise queries to support new endpoint 2024-11-13 10:21:07 +01:00
Chuma McPhoy 48af26a772 feat(SW-739): use new allTiers endpoint and add feature flag 2024-11-13 10:21:07 +01:00
Chuma McPhoy 35a527be05 chore(SW-739): cleanup reward endpoint related code 2024-11-13 10:21:07 +01:00
Chuma McPhoy 7d9b541616 fix: preserve country code in phone number 2024-11-11 12:34:27 +01:00
Chuma McPhoy 246c26ca85 feat: display months with text instead of number 2024-11-05 15:47:28 +01:00
Chuma McPhoy 1b7106deef fix(SW-649): move getDaysInMonth outside component function scope 2024-11-05 15:47:28 +01:00
Chuma McPhoy 8763346f9d fix(SW-649): let react-hook-form do date state handling 2024-11-05 15:47:28 +01:00
Chuma McPhoy 7ed2e1d5d0 refactor(SW-649): reusable getDaysInMonth function 2024-11-05 15:47:28 +01:00
Chuma McPhoy 6a31aca0b1 fix(SW-649): remove superfluous variable 2024-11-05 15:47:28 +01:00
Chuma McPhoy aa20c3569b fix(SW-667): add ErrorMessage 2024-11-05 15:47:28 +01:00
Chuma McPhoy 33fd052c04 refactor(SW-649): DateSelect component state refactoring 2024-11-05 15:47:28 +01:00
Chuma McPhoy 461cabab22 fix(SW-695): use small chevron icon 2024-11-05 10:54:00 +01:00
Chuma McPhoy 1774248e94 fix(SW-695): smaller chevron size 2024-11-05 10:54:00 +01:00
Chuma McPhoy 43b1c309ce fix(SW-695): apply breadcrumb variant & smaller HomeIcon size 2024-11-05 10:54:00 +01:00
Chuma McPhoy 6c56fbc313 fix(SW-667): update translations based on content team requirements 2024-10-29 10:39:07 +01:00
Chuma McPhoy 365cb15f90 chore(SW-667): move formatMessage call to array 2024-10-29 10:39:07 +01:00
Chuma McPhoy d15e76de46 chore(SW-667): remove unused css 2024-10-29 10:39:07 +01:00
Chuma McPhoy 8219ff1931 fix(SW-667): proper contact padding on mobile + translations 2024-10-29 10:39:07 +01:00
Chuma McPhoy 2fddc503c5 feat(SW-667): read more section to join loyalty sidebar 2024-10-29 10:39:07 +01:00
Chuma McPhoy 830727f20d fix(SW-369): display contact section in loyalty sidebar on mobile 2024-10-25 15:39:13 +02:00
Chuma McPhoy 6ce6bbd60b chore(SW-369): preamble css 2024-10-25 10:26:54 +02:00
Chuma McPhoy 5e3b2fb8fa fix(SW-369): center on mobile 2024-10-25 10:26:54 +02:00
Chuma McPhoy df2203b97f feat(SW-369): show sidebar on loyalty + loyalty & content page layout refactor 2024-10-25 10:26:54 +02:00
Chuma McPhoy bbab8aa4f8 fix(SW-360): better phone parsing in server action 2024-10-24 11:00:47 +02:00
Chuma McPhoy 212af2105e fix(SW-360): switch email translation 2024-10-24 11:00:47 +02:00
Chuma McPhoy fc12915345 fix(SW-360): remove uneeded code 2024-10-24 11:00:47 +02:00
Chuma McPhoy e25a974426 fix(SW-360): more context to how we handle triggers 2024-10-24 11:00:47 +02:00
Chuma McPhoy 62eb5a9bb5 fix(SW-360): remove default date 2024-10-24 11:00:47 +02:00
Chuma McPhoy eaf9c2f5f2 refactor(SW-360): trigger validation on submnission 2024-10-24 11:00:47 +02:00
Chuma McPhoy 1056eee7e9 feat(SW-360): trigger validation on form submission 2024-10-24 11:00:47 +02:00
Chuma McPhoy 94744a4260 chore(SW-360): use signup naming 2024-10-24 11:00:47 +02:00