Commit Graph

820 Commits

Author SHA1 Message Date
Linus Flood 5889bdd79d Handle payment fail and cancel events 2025-01-08 15:02:03 +01: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
Linus Flood 20714d0c3b Tracking payment start event 2025-01-08 10:48:43 +01:00
Linus Flood 519795acac feat: tracking - added discount property and some basics for paymentInfo 2025-01-08 08:50:50 +01:00
Christel Westerberg 5901cab440 fix: refactor breadcrumbs to take page type variants to better match margins 2025-01-07 11:41:39 +01:00
Niclas Edenvin 0ac09f37f6 Merged in fix/sw-1177-search-history (pull request #1124)
fix(SW-1177): fix localization problems in search history

* fix(SW-1177): fix localization problems in search history

When saving search history the whole location objects where stored and
also used later. This made the list display in different languages if
the user previously had search for something in another language.
Another issue where that the list where also deduped based on name of
the search item, which meant that there could be multiple history
items for the same entity and the same ID, e.g. `Gothenburg` and
`Göteborg`.


Approved-by: Bianca Widstam
2025-01-07 10:32:32 +00: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
Arvid Norlin 0c7c6ea21a feat: add Price details modal 2024-12-20 09:28:06 +01:00
Simon Emanuelsson 51f422510c feat(SW-865): link to booking without validation 2024-12-19 12:42:21 +01:00
Simon Emanuelsson 9d4998c9c5 feat(SW-885): ancillary and book next stay 2024-12-19 12:42:21 +01:00
Linus Flood 3982b1ba56 Merged in feat/sentry (pull request #1089) 2024-12-19 10:35:20 +00:00
Erik Tiekstra 3939bf7cdc feat(SW-664): Hotel listing component and queries for content pages 2024-12-18 12:20:57 +01:00
Tobias Johansson 118f1afafa Merged in feat/SW-1023-bed-type-information (pull request #1056)
Feat/SW-1023 bed type information

* feat(SW-1023): add bed type info

* fix: formatting of bed type string

* fix(SW-1023): refactored bed type info and added default value to children beds

* fix(SW-1023): fixes from PR


Approved-by: Christel Westerberg
Approved-by: Simon.Emanuelsson
2024-12-18 09:47:06 +00:00
Pontus Dreij 71b11f33ac fix(SW-952): New HotelCard for Map in mobile 2024-12-17 16:33:00 +01:00
Christel Westerberg 8328493289 fix: align placeholder handling for all hotel images in zod 2024-12-17 16:13:58 +01:00
Pontus Dreij 0c62cb6d96 Merged in feat/SW-977-update-bookingwidget-with-hotel-name (pull request #1071)
Feat/SW-977 update bookingwidget with hotel name

Approved-by: Fredrik Thorsson
2024-12-17 14:47:43 +00:00
Pontus Dreij 24ef1e98e0 feat(SW-977): Add more controls if Json is valid 2024-12-17 15:29:20 +01:00
Fredrik Thorsson 8c914815cb feat(SW-1012): change enum name 2024-12-17 14:12:37 +01:00
Fredrik Thorsson abebfb1feb feat(SW-1012): format opening hours 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
Fredrik Thorsson 53c1588e4c feat(SW-1012): remove accidentally added files 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
Christian Andolf 42bb71cf2f feat(SW-1063): add member price modal 2024-12-17 10:58:44 +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 9247ea0e9c fix(LOY-64): abstract membershipbadge to its own component 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 457f2b942d feat(LOY-64): add ActiveRedeemedBadge UI for on site tier rewards 2024-12-13 14:57:16 +01:00
Pontus Dreij eb2a0a4cb9 Fix: Added optional merchantInformationData 2024-12-13 14:03:13 +01:00
Pontus Dreij 50fc8a183c Fix: created util to handle searchParams for hotelreservation 2024-12-13 12:19:47 +01:00
Linus Flood 742a2820d1 Merge remote-tracking branch 'origin' into feature/tracking 2024-12-13 09:02:37 +01:00
Christel Westerberg 8534405358 fix: reset searchparams after errorcode from planet 2024-12-13 08:20:36 +01:00
Christel Westerberg 658afd0327 fix: handle cases with counterRateCode missing 2024-12-13 08:20:36 +01:00
Pontus Dreij 3dae3e69cc Merged in fix/SW-1168-list-correct-hotels-for-map (pull request #1076)
fix(SW-1168) Show only hotel cards that are visible on map

Approved-by: Michael Zetterberg
2024-12-13 07:13:33 +00:00
Pontus Dreij e1bc7c25e0 fix(SW-1168) Fixed comments for map 2024-12-12 20:30:41 +01:00
Matilda Landström 21807cfca3 fix(SW-997): add scrollOnClick to Card link 2024-12-12 16:42:19 +01:00
Pontus Dreij c3e56d5b49 fix(SW-1168) Show only hotel cards that are visible on map 2024-12-12 14:51:54 +01:00
Christian Andolf e08e960209 chore: add consistent type imports 2024-12-12 11:47:44 +01:00
Pontus Dreij 3c9aaa3dd3 fix(SW-1115) trigger search 2024-12-11 13:02:12 +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 6babb667e4 fix(LOY-10): move types to type folder 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
Christian Andolf 0d607d7cc7 fix: hide new cs rewards model behind feature flag 2024-12-10 16:26:20 +01:00
Christel Westerberg 4210218852 fix: persist selection of bed and breakfast if same room 2024-12-10 15:42:44 +01:00
Pontus Dreij d4e4c4a0d0 fix(SW-1143): Added loading/skeleton to select hotel 2024-12-10 13:40:55 +01:00
Pontus Dreij 463354f10b Merged in fix/SW-1111-issues-with-map-select-hotel (pull request #1057)
Fix/SW-1111 issues with map select hotel

Approved-by: Bianca Widstam
2024-12-10 12:40:13 +00:00
Pontus Dreij ad0a6cea7b fix(SW-1111) import type 2024-12-10 13:20:46 +01:00