Chuma Mcphoy (We Ahead) and Christian Andolf
f5c5172555
Merged in fix/carousel-card-gap (pull request #1343 )
...
refactor: Adjust default carousel card gap
Approved-by: Christian Andolf
2025-02-17 08:49:36 +00:00
Chuma McPhoy and Christian Andolf
7c519979bb
refactor: Adjust carousel card gap
2025-02-17 09:41:58 +01:00
Chuma Mcphoy (We Ahead)
b2add701e5
Merged in fix/LOY-143-hide-see-all-link (pull request #1341 )
...
fix(LOY-143): properly hide see all link for carosel cards
* fix(LOY-143): Improve link handling in CarouselCards schema
Approved-by: Christian Andolf
2025-02-14 12:19:46 +00:00
Chuma Mcphoy (We Ahead)
38cce4b136
Merged in feat/SW-1542-carousel-functionality (pull request #1311 )
...
feat(SW-1542): Carousel component
* feat(SW-1542): add Embla Carousel component and use in CarouselCards
* fix(SW-1542): remove max-width constraint for card on ipad
* fix(SW-1542): Add padding to start page content container
* refactor(SW-1542): Improve Embla Carousel type imports
* refactor(SW-1542): Remove unnecessary carousel wrapper div
* refactor(SW-1542): Modularize Carousel component structure
* refactor(SW-1542): Remove carousel dots display
* feat(SW-1542): Add carousel dots navigation
* refactor(SW-1542): Update Carousel component styling and types
* refactor(SW-1542): Remove uneeded useCallback from Carousel navigation methods
* refactor(SW-1542): Modify CarouselContextProps type to exclude className
* refactor(SW-1542): Optimize React imports in Carousel components
* refactor(SW-1542): Consolidate Carousel component and remove CarouselRoot
* refactor(SW-1542): Update Carousel navigation methods to use function-based scroll checks
* refactor(SW-1542): Add explicit children prop support to CarouselContent component
* refactor(SW-1542): Add children prop support to CarouselItem component
Approved-by: Christian Andolf
2025-02-14 10:53:14 +00:00
Chuma Mcphoy (We Ahead)
7fac673fbc
Merged in feat/LOY-116-remove-cta-from-signup-verify-page (pull request #1335 )
...
refactor(LOY-116): consolidate signup auth & remove SignUpVerification component
* refactor(LOY-116): simplify signup authentication and remove SignUpVerification component
- Remove SignUpVerification component and its related files
- Move authentication checks to page-level components
- Consolidate signup flow authentication logic
- Remove unused signup verification link variant
* refactor(LOY-116): remove "sign up verification" from TrackingPosition type
Approved-by: Christian Andolf
2025-02-13 15:28:39 +00:00
Chuma Mcphoy (We Ahead)
3c4d08a894
Merged in feat/1525-info-card-themes (pull request #1300 )
...
feat(SW-1525): Add theme support for InfoCard component
* feat(1525): Add theme support for InfoCard component
* refactor(1525): Update InfoCard theme typing
Approved-by: Christian Andolf
2025-02-11 10:40:23 +00:00
Chuma Mcphoy (We Ahead)
bd779a15a4
Merged in fix/add-mobile-variant-section-link-in-carousel-cards (pull request #1281 )
...
feat: add mobile section link to CarouselCards
* feat: add mobile section link to CarouselCards
Approved-by: Christian Andolf
2025-02-07 15:06:22 +00:00
Chuma Mcphoy (We Ahead)
7c8d6cbc2e
Merged in feat/SW-1384-filter-functionality (pull request #1262 )
...
feat(SW-1384): Implement filtering for CarouselCards component
* feat(SW-1384): Implement filtering for CarouselCards component
* fix(SW-1384): Simplify CarouselCards filters scrolling styles
* refactor(SW-1384): Simplify CarouselCards filtering logic
Approved-by: Christian Andolf
2025-02-06 14:32:55 +00:00
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