Commit Graph

686 Commits

Author SHA1 Message Date
Simon Emanuelsson
1deab000bd fix: cache hotel response 2025-01-30 13:51:47 +01:00
Simon Emanuelsson
13a164242f fix: clean up hotel and its typings 2025-01-30 13:50:02 +01:00
Pontus Dreij
eef7c222aa feat(SW-718) refactor: optimize rate selection and room scrolling 2025-01-30 11:19:22 +01:00
Pontus Dreij
ab7b826cd2 feat(SW-718) created useRoomFilteringStore 2025-01-30 11:19:22 +01:00
Pontus Dreij
68d7e869db feat(SW-718) updates after PR comments 2025-01-30 11:19:22 +01:00
Pontus Dreij
bfdc62d263 feat(SW-718): fix comments 2025-01-30 11:19:22 +01:00
Pontus Dreij
c8ed172f0e feat(SW-718) Added type FilterValues 2025-01-30 11:19:22 +01:00
Pontus Dreij
2a6c88d897 feat(SW-718): Created store for selectRate 2025-01-30 11:19:22 +01:00
Pontus Dreij
328cbbe0e1 feat(SW-718) Fixed filtering with multirooms 2025-01-30 11:19:22 +01:00
Pontus Dreij
edcf146ce1 feat(SW-718) Refactor select rate to support multiroom 2025-01-30 11:19:22 +01:00
Pontus Dreij
7d716dcf4a feat(SW-718): parse room from searchParams 2025-01-30 11:19:22 +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
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
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
Pontus Dreij
7343d873c2 Merged in fix/SW-1103-page-loading (pull request #1181)
Fix/SW-1103 page loading

* feat(SW-1103): Move backend req behinde suspense

* fix/SW-1103 fix merge conflicts


Approved-by: Joakim Jäderberg
2025-01-24 10:16:30 +00:00
Fredrik Thorsson
879a2e9cfd Merged in feat/SW-1445-destination-page-overview-dynamic-map (pull request #1201)
feat/SW-1445 destination page overview dynamic map

* feat(SW-1445): add dynamic map to destination overview page

* feat(SW-1445): fix typo

* feat(SW-1445): refactor form


Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-01-24 09:06:35 +00:00
Linus Flood
cea4e3f3fe Merged in fix/tracking-requests (pull request #1208)
Added siteversion to all events and fixed payment status

* Added siteversion to all events and fixed payment status

* Fixed bug


Approved-by: Erik Tiekstra
2025-01-24 07:49:00 +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
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
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
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
69b69af03c Merged in feat/enter-details-tracking (pull request #1185)
Feat/enter details tracking

* feat: fixed bug in enter details tracking

* Sidepeek events, lowestroomPrice and analyticsRateCode

* Cleanup and fixed bug

* Fixed analyticsratecode

* Merge master

* merge master

* Removed console logs

* Added ancillaries tracking to enter details

* Added ancillary on confirmation page

* Removed console log

* Merge branch 'master' into feat/enter-details-tracking

* Refactor searchparams

* Hard code values for breakfast ancillary


Approved-by: Joakim Jäderberg
2025-01-17 07:42:44 +00:00
Pontus Dreij
33f0696c47 Merged in fix/SW-1111-r2 (pull request #1169)
fix(SW-1111) Fix issues with map

Approved-by: Niclas Edenvin
2025-01-17 06:15:55 +00:00
Erik Tiekstra
626db96bf9 feat(SW-392): Added adobeSDK with page and hotel data 2025-01-15 14:46:14 +01:00
Christel Westerberg
a3331850a2 fix: avoid localizing currencies and default missing value to N/A 2025-01-14 16:20:08 +01:00
Matilda Landström
72301df4e7 chore(SW-1373): add room elevator pitch 2025-01-14 14:44:17 +01:00
Christel Westerberg
bcae63e3fc fix: rename children to childrenInRoom 2025-01-14 12:25:17 +01:00
Christel Westerberg
b2935114e3 refactor: url management in hotel reservation flow 2025-01-14 11:09:42 +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
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
Pontus Dreij
185dc3e8cc fix(SW-1111) Fix issues with map 2025-01-10 14:52:59 +01:00
Linus Flood
08d5405cf1 PR Fixes 2025-01-10 11:36:23 +01:00
Linus Flood
d57e3db34b Merge remote-tracking branch 'origin' into feat/tracking-payment 2025-01-10 09:13:04 +01:00
Fredrik Thorsson
d4d9e540f1 feat(SW-495): set scripted top title as optional 2025-01-10 08:54:45 +01:00
Fredrik Thorsson
8a0c1244ae feat(SW-495): move healthfacilities enum 2025-01-10 08:54:45 +01:00
Fredrik Thorsson
50d6929b4a feat(SW-495): remove fallback value 2025-01-10 08:54:45 +01:00
Fredrik Thorsson
cc00aab7ee feat(SW-495): update heading on facility cards 2025-01-10 08:54:45 +01:00
Linus Flood
014eea054f Fixed same string value for childBedPreference on confirmation page 2025-01-10 08:40:26 +01:00
Erik Tiekstra
d11b9e8aee feat(SW-395): Added tracking to header and footer 2025-01-10 08:15:14 +01:00
Christian Andolf
9584478b34 feat(LOY-63): redeem campaign 2025-01-09 09:47:26 +01:00