Commit Graph

198 Commits

Author SHA1 Message Date
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
Fredrik Thorsson
8f0763285c Merged in fix/SW-1895-update-hotel-listning-to-show-all (pull request #1535)
fix(SW-1895): always display full list of cities or countries

* fix(SW-1895): always display full list of cities or countries


Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-03-17 07:45:12 +00:00
Erik Tiekstra
ca93046aad feat/SW-550 sitemap route
* feat(SW-550): Added rewrites to handle sitemap paths

* feat(SW-550): Added sitemap-index generation

* feat(SW-550): Added sitemap xml file generation

* feat(SW-550): Added feature flag 'HIDE_FOR_NEXT_RELEASE' to sitemap routes


Approved-by: Linus Flood
2025-03-17 07:17:08 +00:00
Linus Flood
f0b245bdfe Merged in fix/cache-time-test-env (pull request #1544)
fix: lower cache time in test env

* fix: lower cache time in test env


Approved-by: Erik Tiekstra
2025-03-17 07:02:15 +00:00
Linus Flood
f17406d34f Merged in fix/reward-remove-cache (pull request #1542)
fix(reward): remove cache from profile service

* fix(reward): remove cache from profile service


Approved-by: Anton Gunnarsson
2025-03-14 14:38:38 +00:00
Michael Zetterberg
f7e100d45c fix: translation mapping typos 2025-03-14 15:11:49 +01:00
Michael Zetterberg
33239f1f91 feat(SW-1730): add button to room sidepeek on hotelpage to select rate page for the hotel 2025-03-14 13:57:26 +00:00
Arvid Norlin
540402b969 Merged in feat/SW-1813 (pull request #1516)
Feat/SW-1813

* feat(SW-1652): handle linkedReservations fetching

* feat: add linkedReservation retry functionality

* chore: align naming

* feat(SW-1813): Add booking confirmation PriceDetailsModal


Approved-by: Simon.Emanuelsson
2025-03-14 13:49:22 +00:00
Michael Zetterberg
66682be4d2 fix: types for timer in platform agnostic way 2025-03-14 13:15:11 +00:00
Linus Flood
f954deaf22 Merged in fix/delete-fuzzy (pull request #1538)
Support for delete keys fuzzy

* Support for delete keys fuzzy

* Added some logs


Approved-by: Anton Gunnarsson
2025-03-14 12:50:34 +00:00
Tobias Johansson
c0b543f18d Merged in feat/SW-1437-price-change-scenario (pull request #1532)
Feat/SW-1437 price change scenario

* wip price change scenario

* feat(SW-1437): added updated room prices to summary

* fix: spinner not centered on page

* fix: feedback fixes


Approved-by: Arvid Norlin
Approved-by: Simon.Emanuelsson
2025-03-14 12:39:50 +00:00
Bianca Widstam
abd401c4f4 Merged in feat/SW-1368-1369-Guarantee-late-arrival (pull request #1512)
Feat/SW-1368 1369 Guarantee late arrival

* feat(SW-1368-SW-1369): guarantee late arrival for confirmation page and my stay

* feat(SW-1368-SW-1369): guarantee late arrival updated design

* feat(SW-1368-SW-1369): add translations

* feat(SW-1368-SW-1369): add translations

* feat(SW-1368-SW-1369): fix merge with master

* feat(SW-1368-SW-1369): add translations

* feat(SW-1368-SW-1369): add redirect with refId

* feat(SW-1368-SW-1369): if booking completed redirect to confirmation page

* feat(SW-1368-SW-1369): fix comments pr

* feat(SW-1368-SW-1369): fix comments pr

* feat(SW-1368-SW-1369): fix rebase master

* feat(SW-1368-SW-1369): fix duplicate flex rate check

* feat(SW-1368-SW-1369): if any room is flex, card must be used

* feat(SW-1368-SW-1369): move callback route

* feat(SW-1368-SW-1369): top align checkbox

* feat(SW-1368-SW-1369): top align checkbox


Approved-by: Tobias Johansson
Approved-by: Niclas Edenvin
2025-03-14 10:43:14 +00:00
Linus Flood
8ca862e32c Merged in fix/netlify-function-sitemap (pull request #1536)
fix: sitemap netlify function now running

* fix: sitemap netlify function now running

* Merge branch 'master' into fix/netlify-function-sitemap


Approved-by: Bianca Widstam
2025-03-14 08:51:48 +00:00