Commit Graph

710 Commits

Author SHA1 Message Date
Erik Tiekstra
ca42876eb8 Merged in feat/SW-1453-city-listing-on-country-page (pull request #1222)
feat(SW-1453): added city listing component

* feat(SW-1453): added city listing component


Approved-by: Christian Andolf
Approved-by: Fredrik Thorsson
2025-01-29 10:09:51 +00:00
Tobias Johansson
a7468cd958 Merged in feat/SW-1379-multiroom-summary (pull request #1198)
Feat/SW-1379 multiroom summary

* fix: added early return in hotel query and added missing type annotations

* feat(SW-1379): update summary to support multiple rooms and add tests

* fix: added check for room number when using isMember for member prices

* fix: remove mocked array

* fix: minor bug fixes in rate details popup

* fix: translation key


Approved-by: Pontus Dreij
Approved-by: Arvid Norlin
2025-01-29 09:25:43 +00:00
Matilda Landström
0dee660609 Merged in feat/SW-1207-parking-teaser (pull request #1217)
Feat(SW-1207): Add parking elevator pitch to hotel sidepeek

* feat(SW-1207): Add parking elevator pitch to hotel sidepeek

* fix(SW-1207): remove optional from parking elevator pitch


Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2025-01-28 13:23:47 +00:00
Niclas Edenvin
ef22fc4627 This creates the alternative hotels page. It is mostly a copy of the select hotel page, and most of the contents of the pages lives under the same component in /components.
Merged in feat/sw-397-alternative-hotels (pull request #1211)

Feat/sw 397 alternative hotels

* fix(SW-397): create alternative hotels page

* update types

* Adapt to new changes for fetching data

* Make bookingcode optional

* Code review fixes


Approved-by: Simon.Emanuelsson
2025-01-28 12:08:40 +00:00
Erik Tiekstra
5b0b82da80 Merged in feat/SW-1450-destination-pages (pull request #1215)
feat(SW-1450): removed country reference from destination city pages

* feat(SW-1450): removed country reference from destination city pages


Approved-by: Fredrik Thorsson
2025-01-27 13:38:02 +00:00
Bianca Widstam
95e8c5ff6c Merged in fix/add-lang-to-availability-call (pull request #1210)
fix/SW-1514/add-lang-to-availability-call

* fix/add-lang-to-availability-call


Approved-by: Pontus Dreij
Approved-by: Matilda Landström
2025-01-27 12:16:32 +00: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
Erik Tiekstra
bf76c6277f Merged in feat/support-for-all-page-links (pull request #1212)
Feat/support for all page links

* feat: added all page link connections to queries

* feat: updated output files


Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-01-27 11:21:37 +00:00
Bianca Widstam
527e691157 Merged in fix/bookingCode-optional (pull request #1214)
fix: bookingCode optional

* fix: bookingCode optional


Approved-by: Pontus Dreij
2025-01-27 09:53:39 +00:00
Pontus Dreij
3b68d3471e fix: Removed double check 2025-01-27 10:24:00 +01:00
Pontus Dreij
4bc459f0a4 fix: Update getRoomsAvailability 2025-01-27 10:22:29 +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
Erik Tiekstra
a88a033e30 Merged in feat/SW-1450-destination-page-cs-components (pull request #1204)
feat(SW-1450): added components in destination pages from cs

* feat(SW-1450): added components in destination pages from cs

* feat(SW-1450): added correct refs and removed classNames


Approved-by: Fredrik Thorsson
2025-01-24 12:06:43 +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
Fredrik Thorsson
545edf3545 Merged in feat/SW-682-hotel-page-update-navigation-headers (pull request #1193)
feat/SW-682-hotel-page-update-navigation-headers

* feat(SW-682): fetch tab values

* feat(SW-682): change key name


Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-01-22 10:34:14 +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
Erik Tiekstra
f962400474 Merged in feat/SW-1449-destination-page (pull request #1195)
Feat/SW-1449 destination page

* feat(SW-1449): Added destination country page

* feat(SW-1449): added destination city page


Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-01-21 13:57:19 +00:00
Matilda Landström
554b73696d Merged in feat/SW-1001-multiple-activity-cards (pull request #1191)
Feat(SW-1001): Multiple activity cards on hotel page

* chore(SW-1001): render all activity cards

* chore(SW-1001): add sidepeek CTA text to CS

* feat(SW-1001): add slug from CS


Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2025-01-21 10:25:55 +00:00
Linus Flood
d02dc51dcc Merged in fix/cache-time-hotels-test-env (pull request #1194)
fix: cache time 5 minutes for hotels data in test env

* fix: cache time 5 minutes for hotels data in test env
2025-01-21 09:29:09 +00:00
Erik Tiekstra
7ac200bd7c Merged in feat/SW-1442-destination-overview-page (pull request #1188)
feat(SW-1442): added destination overview page

* feat(SW-1442): added destination overview page


Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-01-20 12:21:04 +00:00
Tobias Johansson
8a3314b6d5 fix(SW-1342)!: Merged in fix/SW-1342-get-booking-schema-fix (pull request #1170)
BREAKING CHANGE: should be released to prod together with commit: 999aa376fb and requires Booking API to be released 

fix(SW-1342)!: update booking schema to allow nullable and optional fields for confirmationNumber and description

* fix!: update booking schema to allow nullable and optional fields for confirmationNumber and description


Approved-by: Arvid Norlin
2025-01-20 09:24:36 +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
Linus Flood
c701c067b4 Merged in feat/cache-hoteldata-time (pull request #1189)
feat: hoteldata - cache 5 minutes in test env

* feat: hoteldata - cache 5 minutes in test env

* Removed console log

* Renamed variable


Approved-by: Joakim Jäderberg
2025-01-20 07:52:38 +00:00
Linus Flood
e9deb25d06 Merged in hotfix/contentstack-link (pull request #1182)
hotfix: fix external link in buttonSchema

* hotfix: fix external link in buttonSchema

* Merged master into hotfix/contentstack-link
2025-01-15 12:00:35 +00:00
Christel Westerberg
a3331850a2 fix: avoid localizing currencies and default missing value to N/A 2025-01-14 16:20:08 +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
Fredrik Thorsson
23ff0970e9 feat(SW-543): rename footnote 2025-01-14 10:40:41 +01:00
Fredrik Thorsson
2f8e1b6c79 feat(SW-543): update footnote 2025-01-14 10:40:41 +01:00
Fredrik Thorsson
aee238761f feat(SW-543): clean up 2025-01-14 10:40:41 +01:00
Fredrik Thorsson
eab1386ee7 feat(SW-543): update contact config function 2025-01-14 10:40:41 +01:00
Fredrik Thorsson
4c99bb2b18 feat(SW-543): restore requests 2025-01-14 10:40:41 +01:00
Fredrik Thorsson
a7aefcded1 feat(SW-543): update requests 2025-01-14 10:40:41 +01:00
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