Commit Graph

3406 Commits

Author SHA1 Message Date
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
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 6fabfe2367 fix: lint error in test 2025-01-08 14:14:38 +01: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
Tobias Johansson 18dd08f10e Merged in feat/SW-619-signup-non-happy (pull request #1083)
Feat/SW-619 signup non happy

* feat(SW-619): Added tests for Date input

* feat(SW-619): Updated date input to not allow date below 18 years old, also added form validation and tests to cover this change

* fix

* feat(SW-619): add info banner if membership verification fails

* fix(SW-619): update test description


Approved-by: Christel Westerberg
Approved-by: Arvid Norlin
2025-01-08 12:31:30 +00:00
Bianca Widstam a056b36443 Merged in fix/SW-1330-filter-tooltip-mobile (pull request #1146)
fix(SW-1330): add space and fix touchable tooltip for ipad

* fix(SW-1330): add space and fix touchable tooltip for ipad


Approved-by: Pontus Dreij
Approved-by: Niclas Edenvin
2025-01-08 12:05:15 +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
Tobias Johansson c7e38af5c9 Merged in feat/enter-details-store-tests (pull request #1134)
Feat/enter details store tests

* test: add unit tests for useEnterDetailsStore and update Jest environment

* test: added more useEnterDetailsStore tests


Approved-by: Christel Westerberg
2025-01-08 07:47:51 +00:00
Bianca Widstam 93e1c740a1 Merged in fix/SW-1334-filter-option-navigation (pull request #1144)
fix(SW-1334): filter option saved when navigation back

* fix(SW-1334): filter option saved when navigation back


Approved-by: Niclas Edenvin
2025-01-08 07:47:06 +00:00
Chuma McPhoy cc7461bf3c fix: update breadcrumbs styling for full width variants 2025-01-07 16:33:11 +01:00
Chuma McPhoy 07fc8357c1 fix: update breadcrumbs max width for loyalty pages 2025-01-07 15:56:15 +01:00
Niclas Edenvin 501c6be22a Merged in fix/sw-1242-tripadvisor-not-clickable (pull request #1139)
fix(SW-1242): increase touch target of trip advisor icon

* fix(SW-1242): increase touch target of trip advisor icon


Approved-by: Pontus Dreij
2025-01-07 12:52:23 +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
Niclas Edenvin 053ef4a1c9 Merged in fix/sw-1120-pet-costs (pull request #1125)
fix(sw-1120): include pet cost in total

* fix(sw-1120): include pet cost in total


Approved-by: Bianca Widstam
2025-01-07 10:39:28 +00: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 3b88f38ac6 fix: loyalty card links not seen as external 2025-01-07 10:46:56 +01:00
Christel Westerberg c42a03803c fix: add all pages as possible references 2025-01-07 10:46:56 +01:00
Bianca Widstam 97f11a2488 Merged in fix/SW-1329-SW-1122-select-room-card-alignment (pull request #1137)
fix(SW-1329)(SW-1122): remove min-height and set default height of price card to minimum of price cards

* fix(SW-1329)(SW-1122): remove min-height and set default height of price card to minimum of price cards


Approved-by: Niclas Edenvin
2025-01-07 09:45:50 +00:00
Christel Westerberg 7887df45a3 fix: avoid header creating own stacking context 2025-01-07 09:41:47 +01:00
Niclas Edenvin b5b59329f4 Merged in fix/sw-1248-sort-unavailable-rooms (pull request #1126)
fix(SW-1248): show unavailable rooms last

* fix(SW-1248): show unavailable rooms last


Approved-by: Hrishikesh Vaipurkar
2025-01-07 08:35:42 +00:00
Niclas Edenvin dca02b90f0 Merged in fix/sw-1127-image-fixes (pull request #1123)
Fix/sw-1127 image fixes for lightbox

* fix(SW-1127): move back to top button behind lightbox

* fix(SW-1127): don't loop lightbox thumbnails

* fix(SW-1127): nicer animation in the gallery

This both fixes a bug in the gallery where the animation in the carousel
didn't work so good and also animates the images different directions
depending on if the user go left or right.


Approved-by: Matilda Landström
2025-01-07 07:56:17 +00: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
Christel Westerberg 139accb8ed fix: align price formatting 2025-01-02 13:46:51 +01:00
Christel Westerberg 4f58784a22 Merged in test (pull request #1133)
Adding new .env file with seamless login endpoints, so we can remove them in Netlify

Approved-by: Tobias Johansson
2025-01-02 12:37:53 +00:00
Christel Westerberg 0579fa205f fix: point to test subdomain instead of test2 2025-01-02 11:29:09 +01:00
Niclas Edenvin fb20138dd5 Merged in fix/sw-1144-prefill-rate (pull request #1121)
fix(SW-1144): preselect room and rate from URL

* fix(SW-1144): preselect room and rate from URL

* Add brackets
2024-12-27 14:58:27 +01:00
Linus Flood baba84c5f6 Adding new .env file with seamless login endpoints, so we can remove them in Netlify 2024-12-20 15:00:27 +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
Christel Westerberg a6f14e09cf fix: add adults to breakfast copy 2024-12-20 10:09:38 +00:00
Joakim Jäderberg 1f61bdc060 chore: Update sentry config 2024-12-20 11:04:46 +01:00
Arvid Norlin f7ec34d86f fix: pass correct location data to session storage 2024-12-20 10:15:01 +01:00
Christel Westerberg f7e396ff50 fix: avoid stingifying undefined to session storage 2024-12-20 09:46:09 +01: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
Simon.Emanuelsson 4ef1afbbbf Merged in feat/SW-858 (pull request #1078)
feat(SW-885): ancillary and book next stay, feat(SW-865): link to booking without validation

Approved-by: Tobias Johansson
2024-12-19 13:11:36 +00: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
Christian Andolf f531350e2e Merged in fix/svg-cleanup (pull request #1111)
fix: clean up svgs on ids, masks and other redundant stuff

Approved-by: Chuma Mcphoy (We Ahead)
2024-12-19 10:45:15 +00:00
Linus Flood 3982b1ba56 Merged in feat/sentry (pull request #1089) 2024-12-19 10:35:20 +00: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
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
Christian Andolf 63c8102600 fix: clean up svgs on ids, masks and other redundant stuff 2024-12-19 09:44:11 +01: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