Commit Graph

449 Commits

Author SHA1 Message Date
Bianca Widstam
224a41ec74 feat/SW-1546-list-ancillaries-my-stay (pull request #1259)
Feat/SW-1546 list ancillaries my stay

* feat(SW-1546): foundation for listing ancillaries

* feat(SW-1546): foundation for listing ancillaries

* feat(SW-1546): refactor type

* feat(SW-1546): fix date format

* feat(SW-1546): refactor usestate

* feat(SW-1546): refactor typing

* feat(SW-1546): refactor types

* feat(SW-1546): responsive width on modal

* feat(SW-1546): update design

* feat(SW-1546): rebase master

* feat(SW-1546): show points only if logged in

* feat(SW-1546): always show points

* feat(SW-1546): small fix

* feat(SW-1546): remove spread object

* feat(SW-1546): fix import order


Approved-by: Simon.Emanuelsson
2025-02-14 10:37:17 +00:00
Chuma Mcphoy (We Ahead)
7fac673fbc Merged in feat/LOY-116-remove-cta-from-signup-verify-page (pull request #1335)
refactor(LOY-116): consolidate signup auth & remove SignUpVerification component

* refactor(LOY-116): simplify signup authentication and remove SignUpVerification component

- Remove SignUpVerification component and its related files
- Move authentication checks to page-level components
- Consolidate signup flow authentication logic
- Remove unused signup verification link variant

* refactor(LOY-116): remove "sign up verification" from TrackingPosition type


Approved-by: Christian Andolf
2025-02-13 15:28:39 +00:00
Hrishikesh Vaipurkar
eabe45b73c Merged in feat/SW-1557-implement-booking-code-select (pull request #1304)
feat: SW-1577 Implemented booking code city search

* feat: SW-1577 Implemented booking code city search

* feat: SW-1557 Strict comparison

* feat: SW-1557 Review comments fix


Approved-by: Michael Zetterberg
Approved-by: Pontus Dreij
2025-02-13 09:24:47 +00:00
Matilda Landström
c0e4553d9f Merged in feat/SW-1065-meetings-page (pull request #1287)
Feat(SW-1065): Meetings hotel subpage

Approved-by: Erik Tiekstra
2025-02-12 15:13:17 +00:00
Tobias Johansson
b394d54c3f Merged in feat/enter-details-multiroom (pull request #1280)
feat(SW-1259): Enter details multiroom

* refactor: remove per-step URLs

* WIP: map multiroom data

* fix: lint errors in details page

* fix: made useEnterDetailsStore tests pass

* fix: WIP refactor enter details store

* fix: WIP enter details store update

* fix: added room index to select correct room

* fix: added logic for navigating between steps and rooms

* fix: update summary to work with store changes

* fix: added room and total price calculation

* fix: removed unused code and added test for breakfast included

* refactor: move store selectors into helpers

* refactor: session storage state for multiroom booking

* feat: update enter details accordion navigation

* fix: added room index to each form component so they select correct room

* fix: added unique id to input to handle case when multiple inputs have same name

* fix: update payment step with store changes

* fix: rebase issues

* fix: now you should only be able to go to a step if previous room is completed

* refactor: cleanup

* fix: if no availability just skip that room for now

* fix: add select-rate Summary and adjust typings


Approved-by: Arvid Norlin
2025-02-11 14:24:24 +00:00
Pontus Dreij
ec8db51c47 Merged in feat/ancillery-card (pull request #1293)
Created AncillaryCard for SW-1504 and SW-1546

* Created AncillaryCard for SW-1504 and SW-1546

* updated divider

* added dangerouslySetInnerHTML

* Added color="uiTextHighContrast"


Approved-by: Bianca Widstam
2025-02-10 14:01:49 +00:00
Tobias Johansson
450a1d4adc Merged in fix/reverse-date-input-fix (pull request #1294)
Revert "Merged in fix/remove-test-warnings (pull request #1267)"

* Revert "Merged in fix/remove-test-warnings (pull request #1267)"

This reverts commit c62ebb83bb.


Approved-by: Michael Zetterberg
2025-02-10 13:30:03 +00:00
Tobias Johansson
c62ebb83bb Merged in fix/remove-test-warnings (pull request #1267)
fix: change from undefined to empty string to get rid of uncontrolled input warnings in tests

* fix: change from undefined to empty string to get rid of uncontrolled input warnings in tests


Approved-by: Michael Zetterberg
2025-02-06 12:39:32 +00:00
Hrishikesh Vaipurkar
63f456da5a feat: SW-1422 Updated UX for booking code desktop and mobile 2025-02-05 16:18:28 +01:00
Hrishikesh Vaipurkar
6741a0a21c feat: SW-1422 Implemented Switch/Toggle component 2025-02-05 16:16:45 +01:00
Erik Tiekstra
e3b1bfc414 Merged in feat/SW-1454-hotel-listing-city-page (pull request #1250)
feat(SW-1454): added hotel listing

* feat(SW-1454): added hotel listing


Approved-by: Fredrik Thorsson
2025-02-05 13:10:28 +00:00
Erik Tiekstra
68f4a5b86d Merged in feat/SW-1199-subpage-breadcrumbs (pull request #1254)
feat(SW-1199): Added breadcrumbs to subpages

* feat(SW-1199): Added breadcrumbs to subpages


Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-02-05 09:53:07 +00:00
Fredrik Thorsson
b85a3a57ec Merged in feat/SW-1444-destination-page-add-destination-list-component (pull request #1240)
feat/SW-1444 destination page add destination list component

* feat(SW-1444): add list component

* feat(SW-1444): add subtitle to accordion

* feat(SW-1444): refactor component structure

* feat(SW-1444): add desktop breakpoint

* feat(SW-1444): fix typo

* feat(SW-1444): add props

* feat(SW-1444): add query

* feat(SW-1444): updated query

* feat(SW-1444): display data

* feat(SW-1444): fix merge hickup

* feat(SW-1444): change var name

* feat(SW-1444): remove unsued translations

* feat(SW-1444): use country as title

* feat(SW-1444): sort hotels in query

* feat(SW-1444): make responsive

* feat(SW-1444): fetch country url

* feat(SW-1444): update logging

* feat(SW-1444): remove spread


Approved-by: Erik Tiekstra
2025-02-04 14:17:12 +00:00
Linus Flood
0800c877a3 Merged in fix/hotjar-suppress-fixes (pull request #1192)
fix: hotjar - suppress personal data

* fix: hotjar - suppress personal data

* More suppressing
2025-02-04 06:47:36 +00:00
Erik Tiekstra
c25963a3b7 Merged in feat/SW-1066-wellness-subpage (pull request #1239)
Feat/SW-1066 wellness subpage

* feat(SW-1066): added wellness subpage


Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-02-03 13:35:48 +00:00
Erik Tiekstra
dd4a2d8120 Merged in feat/SW-1296-hotel-subpages (pull request #1233)
feat(SW-1296): added Subpage for hotel pages and its routing

* feat(SW-1296): added Subpage for hotel pages and its routing


Approved-by: Fredrik Thorsson
2025-02-03 10:58:53 +00:00
Simon Emanuelsson
1deab000bd fix: cache hotel response 2025-01-30 13:51:47 +01:00
Christian Andolf
e525abda20 fix(SW-1386): correct font sizes and levels for full width campaign 2025-01-29 11:39:11 +01: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
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
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
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
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
Michael Zetterberg
d2ce9c0d7c fix(i18n): prepare for Lokalise 2025-01-13 13:35:03 +01:00
Erik Tiekstra
4bbd02f307 feat(SW-392): Added accordion click tracking for hotel amenities 2025-01-13 08:15:40 +01:00
Erik Tiekstra
14e8e2254c feat(SW-392): Added book a table link click 2025-01-13 08:15:39 +01:00
Fredrik Thorsson
03bd8ac94b fix(SW-1188): remove comment 2025-01-10 13:57:32 +01:00
Fredrik Thorsson
41c955cb07 fix(SW-1188): set height of image wrapper 2025-01-10 13:57:32 +01:00
Fredrik Thorsson
af23702116 fix(SW-1188): add card variant 2025-01-10 13:57:32 +01:00
Christian Andolf
5c6f357c01 fix: corrected intent for button to fix broken padding 2025-01-08 15:26:42 +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
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
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
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
7887df45a3 fix: avoid header creating own stacking context 2025-01-07 09:41:47 +01: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
528652d603 fix(LOY-90): remove duplicate country value 2024-12-18 17:52:43 +01:00
Chuma McPhoy
dddd93a98a fix(LOY-90): use double qutes for object keys + country fixes 2024-12-18 14:43:08 +01:00
Erik Tiekstra
63a77b215d feat(SW-1012): Started implementing restaurant data 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
Christel Westerberg
4872847ecb fix: add special requests to store 2024-12-17 09:44:58 +00:00
Christel Westerberg
ed3879f6d2 fix: update design for select component and remove placeholders 2024-12-17 09:44:58 +00:00
Christel Westerberg
241e354fc5 fix: special requests 2024-12-17 09:44:58 +00:00
Linus Flood
c7897ef546 Added shimmer on breadcrumb skeleton 2024-12-17 08:11:05 +01:00
Linus Flood
742a2820d1 Merge remote-tracking branch 'origin' into feature/tracking 2024-12-13 09:02:37 +01:00
Matilda Landström
21807cfca3 fix(SW-997): add scrollOnClick to Card link 2024-12-12 16:42:19 +01:00
Christian Andolf
e08e960209 chore: add consistent type imports 2024-12-12 11:47:44 +01:00
Pontus Dreij
e913d949bb fix(SW-1116) Removed border on click but kept it on tab 2024-12-11 12:47:04 +01:00