Commit Graph

161 Commits

Author SHA1 Message Date
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
Anton Gunnarsson
fc866c0e4d Merged in feat/sw-1493-revised-comparison-block (pull request #1236)
feat(SW-1493): Revised SAS comparison block

* Base of new TierDetails for SAS tier comparison

* Add backgrounds and content to TierDetails

* Implement new cms schema for SasTierComparison

* Override gap in jsontohtml styling to 0

* Add animations to comparison details

* Redesign again

* Update content model to new design

* Add border to bottom item in tier match list

* Wrap interpolate-size in @supports to be safe

* Merge branch 'master' into feat/sw-1493-revised-comparison-block


Approved-by: Joakim Jäderberg
2025-02-03 08:42:16 +00:00
Christian Andolf
0ead1ead62 fix: bap is now true full width 2025-01-31 14:45:12 +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
Simon Emanuelsson
13a164242f fix: clean up hotel and its typings 2025-01-30 13:50:02 +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
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
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
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
Matilda Landström
577a4ca35e Merged in feat/SW-1333-hotel-endpoint (pull request #1206)
Feat(SW-133): Add additionalData endpoint

Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2025-01-27 11:39:13 +00:00
Anton Gunnarsson
eacca33847 Merged in feature/tier-matching-component (pull request #1175)
SAS Tier matching comparison block (SW-921)

Approved-by: Joakim Jäderberg
Approved-by: Matilda Landström
2025-01-22 08:15:31 +00: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
Erik Tiekstra
5018cba623 feat(SW-1269): added dynamic content to collection page 2025-01-14 14:56:18 +01:00
Michael Zetterberg
dd71ff8fa7 fix(i18n): prepare for Lokalise 2025-01-14 13:11:06 +01: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
Michael Zetterberg
0477d2375b chore: refactor points 2025-01-13 13:37:12 +01:00
Michael Zetterberg
d2ce9c0d7c fix(i18n): prepare for Lokalise 2025-01-13 13:35:03 +01: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
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
Christel Westerberg
139accb8ed fix: align price formatting 2025-01-02 13:46:51 +01:00
Arvid Norlin
0c7c6ea21a feat: add Price details modal 2024-12-20 09:28:06 +01:00
Linus Flood
e0c5b59860 Merged master into feat/1268-mask-private-data 2024-12-19 10:21:17 +00:00
Linus Flood
ec0a87aed7 feat/sw-1266: mask private info in hotjar recordings 2024-12-19 11:00:00 +01:00
Erik Tiekstra
3939bf7cdc feat(SW-664): Hotel listing component and queries for content pages 2024-12-18 12:20:57 +01:00
Linus Flood
711bf4b2d3 feat/valid-session: check valid user/session from token instead of making a slow request to api 2024-12-17 15:15:55 +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
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
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
c94d36afb2 fix(LOY-10): type import 2024-12-11 09:40:41 +01:00