Commit Graph

210 Commits

Author SHA1 Message Date
Christian Andolf
0666b62a4c Merged in fix/LOY-192-fix-surprises-toasts-webview (pull request #1591)
fix(LOY-192): fix toasts for surprises in webviews

Approved-by: Chuma Mcphoy (We Ahead)
2025-03-21 08:03:06 +00:00
Linus Flood
91a9f68be0 Merged in fix/image-caching (pull request #1586)
fix/images: changed default cache time from 1 minute to 31 days. Reduced size of swan icons

* fix/images: changed default cache time from 1 minute to 31 days. Reduced size of swan icons

* More performance improvements

* Priority on hero image on startpage


Approved-by: Anton Gunnarsson
2025-03-21 07:58:44 +00:00
Bianca Widstam
3c1eee88b1 Merged in feat/SW-1370/Guarantee-my-stay-ancillaries (pull request #1545)
Feat/SW-1370/Guarantee my stay ancillaries

* feat(SW-1370): guarantee for ancillaries

* feat(SW-1370): remove console log

* feat(SW-1370): add translations

* feat(SW-1370): small fix

* feat(SW-1370): fix must be guaranteed

* feat(SW-1370): fix logic and comments pr

* feat(SW-1370): fix comments pr

* feat(SW-1370): fix comments pr

* feat(SW-1370): add translation

* feat(SW-1370): add translation and fix pr comment

* feat(SW-1370): fix pr comment

* feat(SW-1370): fix encoding path refId issue

* feat(SW-1370): refactor AddAncillaryStore usage and introduce context provider

* feat(SW-1370): refactor

* feat(SW-1370): refactor ancillaries

* feat(SW-1370): fix merge


Approved-by: Simon.Emanuelsson
2025-03-21 07:29:04 +00:00
Pontus Dreij
2bc14a6eeb Merged in feat(SW-1993)-tracking-mystay-cancellation (pull request #1588)
Feat(SW-1993) tracking mystay

* feat(SW-1993) added trackEvent for cancelStay and mypagelink

* feat(SW-1993) implement trackCancelStay and trackMyStayPageLink


Approved-by: Linus Flood
2025-03-21 07:24:01 +00:00
Pontus Dreij
096cf700f4 Merged in fix/dates-create-booking-output (pull request #1589)
fix: fixed bug with wrong schema

* fix: fixed bug with wrong schema


Approved-by: Niclas Edenvin
2025-03-20 19:05:51 +00:00
Christian Andolf
ac8df04c49 fix(LOY-192): fix toasts for surprises in webviews 2025-03-20 16:27:24 +01:00
Matilda Landström
68c000aa0f Merged in feat/SW-1951 (pull request #1575)
Feat(SW-1951): Fix heading styling bug in hotel subpages

Approved-by: Erik Tiekstra
2025-03-20 12:50:24 +00:00
Niclas Edenvin
cfdbdfc0bc Build please 2025-03-20 10:19:25 +00:00
Niclas Edenvin
6fb71dea1b fix: Price types has changed to doubles in the API 2025-03-20 10:19:25 +00:00
Pontus Dreij
8f9e268802 Merged in feat(SW-1944)-update-url-to-mystay (pull request #1566)
feat(SW-1944) Update to correct URL to my stay (for my pages/my stays and confirmation page)

* feat(SW-1944) Update to correct URL to my stay (for my pages/my stays and confirmation page)

* feat(SW-1944) updated to RefId

* feat(SW-1944) updated myStay path

* feat(SW-1944) updated refId check


Approved-by: Christian Andolf
2025-03-20 09:55:24 +00:00
Anton Gunnarsson
e0b7c3be7b Merged in fix/preload-my-pages-menu-data (pull request #1582)
Fix/preload my pages menu data

* Preload my pages navigation data

* Remove unused suspense boundary


Approved-by: Linus Flood
2025-03-20 09:42:33 +00:00
Matilda Landström
8b2628a1d9 Merged in feat/add-missing-translations (pull request #1584)
fix: add missing translations

* fix: add missing translations


Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2025-03-20 08:18:19 +00:00
Simon.Emanuelsson
8a9be52fa2 Merged in fix/duplicate-rooms (pull request #1573)
fix: we showed duplicate rooms because every bed represents a room

Approved-by: Michael Zetterberg
2025-03-20 08:08:39 +00:00
Tobias Johansson
ac493fe325 Merged in feat/SW-1149-handle-status-polling (pull request #1562)
Feat/SW-1149 handle status polling

* feat(SW-1149): move terms and conditions sections to separate component and added copy

* feat(SW-1149): Added client component to handle success callback for payment flow

* fix: check for bookingCompleted status as well

* feat(SW-1587): use alert instead of toast for showing payment errors

* fix: added enum for payment callback status

* fix: proper way of checking for multiple statuses

* fix: update schema type

* fix: use localised link to customer service

* fix: update to use enum for status strings


Approved-by: Arvid Norlin
2025-03-20 07:38:29 +00:00
Simon Emanuelsson
cf91d3d947 fix: we showed duplicate rooms because every bed represents a room 2025-03-19 19:36:47 +01:00
Erik Tiekstra
200ed55a2c fix(SW-1954): Renamed app download icons to correct lang
Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-03-19 13:27:32 +00:00
Pontus Dreij
fb321cdb13 Merged in feat(SW-1274)-modify-date-my-stay (pull request #1528)
Feat(SW-1274) modify date my stay

* feat(SW-1676): Modify guest details step 1

* feat(SW-1676) Integration to api to update guest details

* feat(SW-1676) Reuse of old modal

* feat(SW-1676) updated modify guest

* feat(SW-1676) cleanup

* feat(SW-1274) modify stay modal and datepicker

* feat(SW-1274) DatePicker from modify dates

* feat(SW-1274) Modify dates fixes and merge conflicts

* feat(SW-1274) handle modify for multiroom

* feat(SW-1274) update manage stay

* feat(SW-1274) fixed some comments

* feat(SW-1274) use Modal instead

* feat(SW-1274) fixed formatChildBedPreferences

* feat(SW-1274) removed any as prop

* feat(SW-1274) fix rebase conflicts

* feat(SW-1274) fix flicker on modify modal

* feat(SW-1274) CalendarButton

* feat(SW-1274) fixed gap variable

* feat(SW-1274) simplified code

* feat(SW-1274) Split up DatePicker on mode

* feat(SW-1274) Updated file structure for datepicker


Approved-by: Arvid Norlin
2025-03-19 13:11:03 +00:00
Chuma Mcphoy (We Ahead)
b0aea68ee5 Merged in fix/LOY-180-hide-filter-modal (pull request #1568)
fix(LOY-180): remove use of FilterRewardsModal

* fix(LOY-180): remove use of FilterRewardsModal


Approved-by: Christian Andolf
2025-03-19 12:07:02 +00:00
Chuma Mcphoy (We Ahead)
1ed6dc4e08 Merged in fix/LOY-173-membercard-translations (pull request #1577)
fix(LOY-173): update translations for "next level" in multiple languages

* fix(LOY-173): update translations for "next level" in multiple languages


Approved-by: Christian Andolf
2025-03-19 11:55:10 +00:00
Christian Andolf
7ddca4acba Merged in fix/change-ref-id-to-query-param (pull request #1578)
fix: my stay now uses ref id in query param rather than path param to support legacy

* fix: my stay now uses ref id in query param rather than path param to support legacy


Approved-by: Michael Zetterberg
2025-03-19 11:39:16 +00:00
Hrishikesh Vaipurkar
3efa303d20 feat: SW-1589 Updated to .nullish() 2025-03-19 11:21:31 +01:00
Hrishikesh Vaipurkar
cb5c3bfcef feat: SW-1589 Obtain bookingCode from booking object via store 2025-03-19 11:01:56 +01:00
Hrishikesh Vaipurkar
eb2c4511c2 feat: SW-1589 Booking code booking creation 2025-03-19 09:36:34 +00:00
Linus Flood
dd3fed9423 Merged in fix/cache-service-token (pull request #1571)
fix(servicetoken): cache it when using unstable_cache

* fix(servicetoken): cache it when using unstable_cache

* Refactor and using cacheOrGet as get/set

* Refactor

* Use expiresAt from cached token


Approved-by: Anton Gunnarsson
2025-03-19 09:16:11 +00:00
Anton Gunnarsson
8d1e9954d4 Merged in fix/sas-unlink-missing-intl (pull request #1534)
Add missing intl keys for SAS unlink flow

Approved-by: Linus Flood
2025-03-19 09:12:36 +00:00
Erik Tiekstra
9688232b2d feat(SW-1907): Not rendering preamble when at least one filter is active on destination pages
Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-03-19 08:46:44 +00:00
Erik Tiekstra
b2b197b1ef Feat/SW-1519 remove deprecated hotel data from schema
* feat(SW-1519): Removed displayWebpage from hotel schema

* feat(SW-1519): Removed gallery from hotel schema

* feat(SW-1519): Removed conferencesAndMeetings from hotel schema

* feat(SW-1519): Removed healthAndWellness from hotel schema

* feat(SW-1519): Removed restaurantImages from hotel schema

* feat(SW-1519): Removed restaurantsOverviewPage from hotel schema


Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-03-19 06:28:13 +00:00
Christian Andolf
2fc33966ac Merged in fix/LOY-141-add-surprises-to-webview (pull request #1561)
fix(LOY-141): add suprises to webview

Approved-by: Chuma Mcphoy (We Ahead)
2025-03-18 12:33:37 +00:00
Linus Flood
0e0b065dd9 Merged in feat/SW-598 (pull request #1554)
feat: pass specialRequest.comment to create booking

* feat: pass specialRequest.comment to create booking


Approved-by: Simon.Emanuelsson
2025-03-18 10:43:28 +00:00
Linus Flood
fc219aaec0 Merged in fix/handle-no-meetingrooms (pull request #1563)
Fix/handle no meetingrooms

* feat/meeting-rooms: handle no meeting rooms

* Cleanup


Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
2025-03-18 10:36:40 +00:00
Anton Gunnarsson
d0b6f3f8b3 Merged in feat/sw-1314-transfer-sas-points (pull request #1508)
SW-1314 Transfer SAS points

Approved-by: Linus Flood
2025-03-18 10:07:05 +00:00
Christian Andolf
afb367c478 fix(LOY-141): add suprises to webview 2025-03-18 10:56:21 +01:00
Fredrik Thorsson
d4fe8baa49 Merged in feat/SW-1899-destination-city-mobile-map-active-pins (pull request #1557)
feat(SW-1899): active hotel pin on carousel scroll

* feat(SW-1899): active hotel pin on carousel scroll


Approved-by: Erik Tiekstra
2025-03-18 09:44:17 +00:00
Erik Tiekstra
f096b70c45 feat(SW-1472): adjustments to destination page tracking
Approved-by: Matilda Landström
2025-03-18 07:09:40 +00:00
Erik Tiekstra
da3a7c1865 feat(SW-1464): Added meeting url instead of hotel url for hotellisting with meeting information
Approved-by: Matilda Landström
2025-03-18 07:01:56 +00:00
Anton Gunnarsson
d5b47be2f2 Merged in fix/handle-cache-delete-without-hit (pull request #1556)
Don't return from cache deleteKey

* Don't return from cache deleteKey


Approved-by: Linus Flood
2025-03-17 16:19:55 +00:00
Christian Andolf
6d0f47fd4f Merged in fix/SW-1942-case-in-sensitive-find-my-booking (pull request #1552)
fix(SW-1942): fixed find my booking to be case-insensitive on form input

Approved-by: Chuma Mcphoy (We Ahead)
2025-03-17 15:34:00 +00:00
Chuma Mcphoy (We Ahead)
0a150a4eca Merged in fix/remove-deafult-centering-behaviour-in-carousels (pull request #1543)
refactor(SW-1941): clean up custom Carousel component centering

* refactor: clean up custom Carousel component centering

- Removed unused centerContent class from carousel.module.css.
- Simplified CarouselContent component by eliminating unnecessary state and effect hooks.
- Updated HotelCardCarousel to include responsive breakpoints for scrolling behavior.

* refactor: simplify scrolling options in HotelCardCarousel

- Updated the HotelCardCarousel component to streamline scrolling options by removing responsive breakpoints and setting containScroll to false.


Approved-by: Matilda Landström
2025-03-17 15:28:24 +00:00
Christian Andolf
5e98ffe38d fix(SW-1942): fixed find my booking to be case-insensitive on form input 2025-03-17 16:07:23 +01:00
Christian Andolf
38f3b0e6a4 Merged in fix/access-booking-fixes (pull request #1550)
fix: add some more informative messages when booking cant be accessed

Approved-by: Chuma Mcphoy (We Ahead)
2025-03-17 14:54:37 +00:00
Linus Flood
f183125bc6 Merged in fix/cache-fixes (pull request #1555)
fix/cache: reduce cachetime when null response from CS. Fix fuzzy delete

* fix/cache: reduce cachetime when null response from CS. Fix fuzzy delete


Approved-by: Anton Gunnarsson
2025-03-17 14:39:59 +00:00
Erik Tiekstra
c5ad3cba34 feat(SW-1940): Added functionality to see hotel on map from city pages
Approved-by: Fredrik Thorsson
2025-03-17 13:18:38 +00:00
Erik Tiekstra
05addfa0bb feat(SW-1885): Added noindex/nofollow to pages with searchparams when generating metadata to avoid duplicate content issues
Approved-by: Linus Flood
2025-03-17 13:15:13 +00:00
Christian Andolf
b65bdce277 fix: add some more informative messages when booking cant be accessed
upped cookie length from 30 seconds to 10 minutes

added default values to prevent the default required error message to appear in form
2025-03-17 14:09:08 +01:00
Chuma Mcphoy (We Ahead)
e530905d8d Merged in fix/filter-modal-translations (pull request #1527)
Fix(LOY-55): Add missing reward filter modal translations

* fix(SW-1842): Add translations for reward categories

* fix: update Norwegian translation for copyright notice


Approved-by: Christian Andolf
2025-03-17 12:12:53 +00:00
Bianca Widstam
21aea22e48 Merged in fix/api-change-remove-points-packages (pull request #1547)
Fix/api change remove points packages

* fix/remove-points

* fix: translate if points is currency


Approved-by: Niclas Edenvin
Approved-by: Simon.Emanuelsson
2025-03-17 10:59:17 +00:00
Simon.Emanuelsson
1d49b834ff Merged in feat/SW-1353 (pull request #1513)
feat: add multiroom tracking to booking flow

Approved-by: Linus Flood
2025-03-17 09:35:12 +00:00
Erik Tiekstra
aca3c7f398 feat(SW-1712): Preperation to accept multiple different icon identifiers for filters on startpage and destination overview page
Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
2025-03-17 08:58:29 +00:00
Simon Emanuelsson
1812591903 feat: add multiroom tracking to booking flow 2025-03-17 09:47:42 +01:00
Fredrik Thorsson
c99060363c Merged in fix/SW-1898-mobile-hotel-map-card-list (pull request #1537)
fix/SW-1898-mobile-hotel-map-card-list

* fix(SW-1898): call reInit


Approved-by: Erik Tiekstra
2025-03-17 07:53:32 +00:00