Commit Graph

676 Commits

Author SHA1 Message Date
Chuma McPhoy
da31539610 refactor(LOY-62): implement code review feedback 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
Erik Tiekstra
14e8e2254c feat(SW-392): Added book a table link click 2025-01-13 08:15:39 +01:00
Matilda Landström
57bc08aae2 Merged in feat/SW-1090-amenities-meetings-sidepeeks (pull request #1114)
Feat/SW-1090: Sidepeek amenities and meetings

Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2025-01-10 15:18:21 +00:00
Tobias Johansson
999aa376fb BREAKING CHANGE(booking API schema changes): Merged in feat/SW-1342-booking-api-updates (pull request #1160)
fix: update booking status schema and affected code

* fix: update booking api schema and affected code

* fix: update meta prop in booking response schema


Approved-by: Arvid Norlin
2025-01-10 08:36:00 +00:00
Chuma McPhoy
1cd400a977 fix: add "Member-voucher" to rewardType enum in CouponReward schema 2025-01-10 09:19:42 +01:00
Christian Andolf
9584478b34 feat(LOY-63): redeem campaign 2025-01-09 09:47:26 +01:00
Matilda Landström
85c9ec5b3b Merged in feat/SW-1084-spa-page (pull request #1117)
Feat/SW-1084 Spa page option on Hotel page

* chore(SW-1084): add separate spa page from CS for hotel page

* fix(SW-1084): Cleanup


Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2025-01-08 15:08:24 +00:00
Bianca Widstam
a620be9331 Merged in fix/SW-1145-occupancy-room-api-change (pull request #1148)
Fix/SW-1145 occupancy room api change

* fix(SW-1145): change occupancy to min and max

* fix(SW-1145): small edit

* fix(SW-1145): refactor to transform total room occupancy

* fix(SW-1145): remove space

* fix(SW-1145): small fix

* fix(SW-1145): change to max for readability


Approved-by: Erik Tiekstra
Approved-by: Linus Flood
2025-01-08 14:22:01 +00:00
Tobias Johansson
1018b3ebcd Merged in feat/SW-1169-map-bedtype-icons (pull request #1113)
Feat/SW-1169 map bedtype icons

* feat(SW-1169): Added bed icons

* fix(SW-1169): update fill rule property

* fix(SW-1169): update clip rule prop

* feat(SW-1169): Added way of rendering bed type icons with extra beds

* feat(SW-1169): update room schema to map mainBed to enum

* feat(SW-1169): update bedtype icon color

* feat(SW-1169): transform unknown bed types to BedTypeEnum.Other

* test: update mock data with new schema


Approved-by: Christel Westerberg
2025-01-08 13:26:56 +00:00
Tobias Johansson
6ca56f3138 Merged in feat/SW-822-handle-breakfast-included (pull request #1138)
Feat/SW-822 handle breakfast included

* feat(SW-822): Added flag for breakfast included and hide breakfast step if included

* fix: check if window is defined to avoid error during SSR

* fix: remove return if rate definition is not found because its expected if input is undefined


Approved-by: Christel Westerberg
Approved-by: Arvid Norlin
2025-01-08 12:34:20 +00:00
Christel Westerberg
5901cab440 fix: refactor breadcrumbs to take page type variants to better match margins 2025-01-07 11:41:39 +01:00
Christel Westerberg
c42a03803c fix: add all pages as possible references 2025-01-07 10:46:56 +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
Christel Westerberg
1f516c7c20 fix: handle undefined values schemas 2025-01-02 13:46:51 +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
Arvid Norlin
0c7c6ea21a feat: add Price details modal 2024-12-20 09:28:06 +01:00
Pontus Dreij
df1e4da001 Merged in fix/schema-error-included (pull request #1107)
fix: schema error included

Approved-by: Niclas Edenvin
2024-12-19 15:13:28 +00:00
Pontus Dreij
54086c40fc fix: Changed to default 2024-12-19 15:33:23 +01:00
Linus Flood
3982b1ba56 Merged in feat/sentry (pull request #1089) 2024-12-19 10:35:20 +00:00
Niclas Edenvin
a3f8c954e2 Merged in fix/detailed-facilities-validation (pull request #1108)
fix(SW-1260): allow unrecognized hotel facilities

* fix(SW-1260): allow unrecognized hotel facilities

Before this we only allowed hotel facilities that we know about (ID:s in
an enum). Now we instead allow everything, but filter away the ones we
don't know about.


Approved-by: Christel Westerberg
2024-12-19 09:29:24 +00:00
Erik Tiekstra
3087bd918b fix(SW-1211): Fixed issue where special alerts are showing when either startDate or endDate is missing 2024-12-19 09:21:33 +01:00
Pontus Dreij
70d9533b13 fix: schema error included 2024-12-18 16:48:10 +01:00
Erik Tiekstra
3af542b075 fix(SW-664): Fixed issue with params when fetching data from API in relation to Hotellisting 2024-12-18 14:29:29 +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
66649ba6af feat/user: use our wrapped cache instead of reacts cache 2024-12-17 17:22:50 +01:00
Christel Westerberg
8328493289 fix: align placeholder handling for all hotel images in zod 2024-12-17 16:13:58 +01:00
Linus Flood
431ab477eb Fixes bookingwidget skeleton and memoize fetching of creditcards 2024-12-17 14:31:52 +01:00
Fredrik Thorsson
66f6762b99 feat(SW-1012): remove title components 2024-12-17 14:12:37 +01:00
Fredrik Thorsson
0c1a4896d0 feat(SW-1012): add ternary expression for hotel images 2024-12-17 14:12:37 +01:00
Fredrik Thorsson
baf4055938 feat(SW-1012): update query 2024-12-17 14:12:37 +01:00
Fredrik Thorsson
9f3c5f6040 feat(SW-1012): remove duplicate icon 2024-12-17 14:12:37 +01:00
Erik Tiekstra
63a77b215d feat(SW-1012): Started implementing restaurant data 2024-12-17 14:12:37 +01:00
Erik Tiekstra
05006506f0 feat(SW-1012): Added possibility for multiple include params for hotels 2024-12-17 14:12:37 +01:00
Fredrik Thorsson
854563d099 fix(SW-1141): remove fallback 2024-12-17 10:31:24 +01:00
Matilda Landström
39c3a8bf76 fix: Add missing tracking in graphql 2024-12-16 15:45:28 +01:00
Linus Flood
2dd21f4c4a Merged master into feat/membership-cards-improvements 2024-12-16 12:32:00 +00:00
Linus Flood
1862b16c8c feat/membershipcard: utilize memoiozed function to fetch membership cards 2024-12-16 13:06:27 +01:00
Matilda Landström
674c22c9aa chore(SW-872): add breadcrumbs to hotel pages 2024-12-16 11:47:16 +01:00
Linus Flood
f91d74294e Merge remote-tracking branch 'origin' into feature/tracking 2024-12-16 09:11:28 +01:00
Linus Flood
fd91b96c99 Fixed tracking on Confirmation page 2024-12-16 08:18:21 +01:00
Chuma McPhoy
457f2b942d feat(LOY-64): add ActiveRedeemedBadge UI for on site tier rewards 2024-12-13 14:57:16 +01:00
Tobias Johansson
aa8cfe86c4 fix: added placeholder meta data 2024-12-13 10:02:28 +01:00
Tobias Johansson
6dc807d0b2 fix: added default image for hotel images 2024-12-13 09:58:09 +01:00
Linus Flood
742a2820d1 Merge remote-tracking branch 'origin' into feature/tracking 2024-12-13 09:02:37 +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