Commit Graph

213 Commits

Author SHA1 Message Date
Matilda Landström
00f040cfbe Merged in fix/SW-2546-country-search (pull request #2049)
fix(SW-2546): fix country destination search

* fix(SW-2546): fix url for countries


Approved-by: Erik Tiekstra
Approved-by: Joakim Jäderberg
2025-05-13 08:48:22 +00:00
Chuma Mcphoy (We Ahead)
81e4150cb3 Merged in fix/nullish-check-on-dynamic-content-headers (pull request #2069)
fix: Allow component to be nullish in dynamic content schemas

* fix: Allow component to be nullish in dynamic content schemas


Approved-by: Erik Tiekstra
2025-05-13 08:41:25 +00:00
Chuma Mcphoy (We Ahead)
8530c2cc93 Merged in fix/nullable-dynamic-content-in-static-page-header (pull request #2058)
fix: update header  dynamic_content schema to allow null values

* fix: update header  dynamic_content schema to allow null values

* fix: update to use nullish


Approved-by: Erik Tiekstra
2025-05-12 12:57:40 +00:00
Anton Gunnarsson
94a00d40b7 Merged in feat/sw-2526-update-sas-error-handling-after-api-changes (pull request #1886)
SW-2526 - Update error handling for link SAS account

* Update error handling for link SAS account

* Capture schema validation error and send to Sentry

* Add cases for unhandled otp errors


Approved-by: Joakim Jäderberg
2025-05-12 11:48:31 +00:00
Simon Emanuelsson
6d1f9cbb28 fix: should not display bedtypes from not available room 2025-05-12 10:26:50 +00:00
Anton Gunnarsson
60af31762b Merged in fix/make-user-loyalty-optional (pull request #2044)
fix: Make loyalty optional on user

* Optional user loyalty

* merge


Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
2025-05-12 09:00:11 +00:00
Joakim Jäderberg
cbbde963dc Merged in fix/my-pages-menu-not-translated (pull request #2045)
fix: my pages menu not translated

* fix: my pages menu not translated
fix: able to pass lang to getIntl()


Approved-by: Michael Zetterberg
2025-05-12 07:57:11 +00:00
Simon Emanuelsson
2adb0e92eb fix: re-add tracking my-stay 2025-05-09 14:53:51 +00:00
Matilda Landström
b696c670c8 Merged in fix/SW-2689-Danish-urls (pull request #2033)
Fix/SW-2689 Danish urls

* fix(SW-2689): update destinations lists


Approved-by: Christian Andolf
Approved-by: Erik Tiekstra
2025-05-09 13:09:21 +00:00
Anton Gunnarsson
a0bef340e9 Format zodError so we don't try to sanitize functions 2025-05-09 10:59:18 +00:00
Bianca Widstam
e38b2931d3 Merged in fix/default-nullish-value-to-array (pull request #2024)
fix: null does not default to empty array causing sanitize error

* fix: null does not default to empty array causing sanitize error


Approved-by: Michael Zetterberg
Approved-by: Anton Gunnarsson
2025-05-09 10:59:05 +00:00
Chuma Mcphoy (We Ahead)
7af4d3be1e Merged in LOY-188-employee-benefit-call-to-actions (pull request #1954)
feat(LOY-188): dynamic content support in content pages headers & use in DTMC employee benefits page

* feat(LOY-188): add dynamic content handling for DTMC employee benefits page header

* fix(LOY-188): change section to div in EmployeeBenefitsCallToActions component

* refactor(LOY-188): switch to ButtonLink

* refactor(LOY-188): replace enum with as const objects in DynamicContentEnum

* chore(LOY-188): change ComponentValue type exports to internal scope in DynamicContentEnum

* fix(EmployeeBenefitsCallToActions): replace div with fragment

* chore(LOY-188): update translations


Approved-by: Christian Andolf
2025-05-08 15:24:22 +00:00
Arvid Norlin
aaffcba94a fix(SW-2659): pass input to userTrackingInfo since lang needs to be passed from client 2025-05-08 11:54:44 +00:00
Hrishikesh Vaipurkar
74a5b5748a Merged in fix/SW-2642-select-hotel-corporate-ch (pull request #2003)
fix: SW-2642 Fixed corporate chq and voucher rates city search

* fix: SW-2642 Fixed corporate chq and voucher rates city search

* fix: SW-2642 Fixed no availability alert for all hotels

* fix: SW-2642 Combined flags to suitable variable

* fix: SW-2642 Fixed map view to show prices


Approved-by: Arvid Norlin
2025-05-08 10:46:05 +00:00
Tobias Johansson
194a401a56 Merged in fix/SW-2631-check-session-expiry (pull request #2004)
fix(SW-2631): check if session is valid otherwise use service token

* fix: check if session is valid otherwise use service token

* fix: only use service token for queries and updated mutations to check for valid user token


Approved-by: Michael Zetterberg
2025-05-08 09:20:48 +00:00
Matilda Landström
15a899f48b Merged in fix/startpage-cards (pull request #1994)
fix: display carousel cards without filtering

* fix: display carousel cards without filtering


Approved-by: Erik Tiekstra
2025-05-08 08:49:23 +00:00
Matilda Landström
ef2d4a3846 Merged in fix/explore-all-hotels (pull request #1998)
Fix/explore all hotels

* fix: update lists

* fix: adds Scandic Nuremberg after api fix

* fix: add sorting based on city name


Approved-by: Erik Tiekstra
2025-05-07 14:19:01 +00:00
Matilda Landström
78cef80de0 Merged in fix/explore-countrypages (pull request #1989)
Fix(SW-2513): Explore all hotels - country page links not showing

* fix: fix issue with country page urls


Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-05-07 10:25:50 +00:00
Michael Zetterberg
b720a894fd feat(SW-2622): pass language to guarantee booking 2025-05-06 15:13:49 +02:00
Matilda Landström
5f38a92b74 fix(2547): filter inActive hotels from booking widget 2025-05-06 13:12:19 +00:00
Matilda Landström
6a2bb5ac2d fix(SW-2547): filter out cities and hotel with isPublished=false 2025-05-06 13:12:18 +00:00
Matilda Landström
e38fceb237 feat(SW-2547): filter out nonActive and nonPublished hotels and cities 2025-05-06 13:12:18 +00:00
Niclas Edenvin
2c03172e39 Don't pass language to status 2025-05-06 14:17:05 +02:00
Michael Zetterberg
c6a0ce86df feat(SW-2605): confirmation page only valid for 1 minute for the session 2025-05-06 11:01:32 +00:00
Niclas Edenvin
e0fe5ff0d5 fix(SW-2614): send language to API
We were missing the language param on some endpoints. We are still
missing it on some, but I left those without when we don't need it, e.g.
when only caring about the IDs in the response.
2025-05-06 10:17:05 +00:00
Michael Zetterberg
b910b6a313 feat(SW-2116): Use refId instead of confirmationNumber 2025-05-05 12:26:37 +00:00
Joakim Jäderberg
5784822a1e Merged in feature/SW-2320-languagebased-hide-for-next-release (pull request #1937)
Language based alternative to HIDE_FOR_NEXT_RELEASE

Approved-by: Anton Gunnarsson
2025-05-05 10:53:28 +00:00
Simon Emanuelsson
db289b80b1 feat: refactor NewDates, clean up legacy code
This reverts commit 0c7836fa59.
2025-05-03 21:45:45 +02:00
Linus Flood
d49ecdae1f Merged in feat/sw-2323-find-booking3 (pull request #1928)
Feat/sw-2323 New Find booking endpoint

* wip

* wip


Approved-by: Anton Gunnarsson
2025-05-02 13:21:00 +00:00
Linus Flood
6979ac0c3b Merged in revert-pr-1925 (pull request #1927)
Revert "Feat/sw 2323 find booking (pull request #1925)"

Approved-by: Anton Gunnarsson
2025-05-02 13:05:42 +00:00
Chuma Mcphoy (We Ahead)
87efb72ff2 Merged in fix/LOY-235-repeated-stays-when-clicking-show-more (pull request #1926)
fix(LOY-235): update pagination params for getPreviousStays and getUpcomingStays

* fix(LOY-235): update pagination parameters for getPreviousStays and getUpcomingStays functions


Approved-by: Erik Tiekstra
2025-05-02 12:49:58 +00:00
Hrishikesh Vaipurkar
e6a3e5dbd8 Merged in feat/SW-2398-ui-update-for-booking-codes (pull request #1862)
feat: SW-2398 UI updates booking codes

* feat: SW-2398 UI updates booking codes

* feat: SW-2398 Rate cards UI changes

* feat: SW-2398 Optimized css with vars and chip code

* feat: SW-2398 Optimized code as review comments

* feat: SW-2398 Optimized code

* feat: SW-2398 Optimized code and mobile UX

* feat: SW-2398 Optimized code

* feat: SW-2398 Fixed UI

* feat: SW-2398 Updated animation


Approved-by: Erik Tiekstra
2025-05-02 12:36:22 +00:00
Linus Flood
f450f2a5db Merge master 2025-05-02 14:01:50 +02:00
Linus Flood
db3e9e6cd9 wip 2025-05-02 13:28:37 +02:00
Arvid Norlin
74d37dad93 feat(SW-2116): RefId instead of confirmationNumber 2025-05-02 12:44:07 +02:00
Linus Flood
7c26e2955e wip 2025-05-02 12:17:18 +02:00
Arvid Norlin
7eeb0bbcac feat(SW-2116): avoid passing entire booking object to Room client component 2025-05-02 11:47:14 +02:00
Christian Andolf
43bdd80dff Merged in fix/SW-2508-new-api-cancel-booking-contract (pull request #1906)
Ending up doing some extra things:

Consolidated booking queries: We had both cancel and cancelMany, but functionally they’re the same, only one accepts an array and the other doesn’t. Didn’t see much point in keeping the single cancel as it wasn’t used anywhere. Thus, I could rename cancelMany to be the one stop method.

remove method for API now properly supports body so we don’t have to hijack the typing in certain places

* fix(SW-2508): now sending additional params to cancel api for new contract


Approved-by: Niclas Edenvin
2025-05-02 07:37:23 +00:00
Anton Gunnarsson
f4fe2e3a4a Merged in fix/sw-2548-invalid-tier-expiry-for-sas-eb-basic (pull request #1908)
Handle invalid tier expiry 1900-01-01 from SAS

* Handle invalid tier expiry 1900-01-01 from SAS

* Set correct sasTierExpirationDate


Approved-by: Linus Flood
2025-04-30 08:11:35 +00:00
Erik Tiekstra
bbec6a659a feat(SW-2492): Hiding meta hreflang tags when HIDE_FOR_NEXT_RELEASE flag is true
Approved-by: Linus Flood
2025-04-30 06:29:13 +00:00
Michael Zetterberg
9aa70f0b37 feat(SW-2470): render correct terms on Enter details 2025-04-29 08:08:21 +00:00
Erik Tiekstra
4ae5da8a04 Feat/SW-2152 seo descriptions
* feat(SW-2152): Added improved meta descriptions for hotel pages
* feat(SW-2152): Added improved meta descriptions for destination pages
* feat(SW-2152): Refactoring metadata description functionality
* feat(SW-2152): Improved truncate function and added cities check to country page description

Approved-by: Michael Zetterberg
Approved-by: Matilda Landström
2025-04-29 06:52:04 +00:00
Joakim Jäderberg
52c99e8767 Merged in fix/SW-2457-destination-page-search-for-countries (pull request #1873)
* fix: able to search for countries on destinationpage
* fix: filter out only desired types when using autocomplete

Approved-by: Linus Flood
2025-04-29 06:19:25 +00:00
Joakim Jäderberg
c1505ce50e Merged in feature/warmup (pull request #1887)
* unified warmup function

Approved-by: Linus Flood
2025-04-29 06:18:14 +00:00
Anton Gunnarsson
bbbd665a32 Merged in fix/sw-2527-incorrect-toast-when-tier-matching (pull request #1879)
SW-2527 - Fix boosted toast when tier matching

* Compare levels to ensure toast is only displayed when actually boosted

* Fix 200 name

* Update naming


Approved-by: Linus Flood
2025-04-28 13:41:14 +00:00
Simon Emanuelsson
ec087a3d15 feat: refactor of my stay 2025-04-28 12:40:52 +00:00
Erik Tiekstra
5beffe4968 feat(SW-1780): Hotel address now leads to map view with hotel active
Approved-by: Michael Zetterberg
Approved-by: Matilda Landström
2025-04-28 09:12:17 +00:00
Anton Gunnarsson
8f67e20300 Merged in fix/sw-2453-refresh-data-on-tier-match (pull request #1866)
Refresh page if tier match happens on My Pages SAS page

* Refresh page if tier match happens on My Pages SAS page


Approved-by: Joakim Jäderberg
2025-04-28 07:28:58 +00:00
Matilda Landström
1f8594e5c8 Merged in feat/SW-2220-destination-list (pull request #1851)
Feat/SW-2220 destination list

* fix(SW-2220): remove old hotels

* fix(SW-2220): add filtering of cities without urls

* fix(SW-2220): destinations English

* fix(SW-2220): update all country files

* refactor(SW-2220): cleanup


Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-04-25 13:14:23 +00:00
Anton Gunnarsson
b354398c69 Merged in fix/improve-sas-error-logging (pull request #1854)
Improve SAS flow logging

* Improve logging


Approved-by: Joakim Jäderberg
2025-04-24 12:30:34 +00:00