Commit Graph

241 Commits

Author SHA1 Message Date
Christian Andolf
a02285a3d1 fix(SW-1721): change startpage padding between sections 2025-03-25 12:23:54 +01:00
Erik Tiekstra
2c08b141b2 feat(SW-1534): Added booking code functionality from either searchParams or pageSettings
Approved-by: Christian Andolf
2025-03-25 07:36:43 +00:00
Matilda Landström
bb0478033f Merged in feat/SW-1969-sidepeek-button (pull request #1617)
fix(SW-1969): update sidepeek buttons

* fix(SW-1969): update sidepeek buttons


Approved-by: Christian Andolf
Approved-by: Fredrik Thorsson
2025-03-24 16:13:23 +00:00
Pontus Dreij
710e412414 Merged in feat(SW-1973)-mystay-multiroom-cancellation-scenarios (pull request #1613)
My stay access denied

* feat(SW-1973) updated no access view

* feat(SW-1973) small fixes

* feat(SW-1973) Update copy


Approved-by: Niclas Edenvin
2025-03-24 14:52:00 +00:00
Erik Tiekstra
34bc877092 feat(SW-1842): Making the language switcher links render in the initial HTML for SEO purposes, should also fix SW-1991 and SW-1742.
Approved-by: Matilda Landström
2025-03-24 14:12:48 +00:00
Hrishikesh Vaipurkar
f633ad7fcc Merged in feat/SW-1308-booking-codes-track-b (pull request #1612)
feat: SW-1308 Updated total price and hid approx price

* feat: SW-1308 Updated total price and hid approx price

* feat: SW-1308 Updated typo


Approved-by: Arvid Norlin
2025-03-24 12:58:57 +00:00
Erik Tiekstra
348ae53c1d feat(SW-1957): Mapview on hotel pages is now activated by search params
Approved-by: Matilda Landström
2025-03-24 12:50:28 +00:00
Hrishikesh Vaipurkar
b0674d07f5 Merged in feat/SW-1308-booking-codes-track-b (pull request #1607)
Feat/SW-1308 booking codes track b

* feat: SW-1308 Booking codes track b

* feat: SW-1308 Booking codes Track B implementation

* feat: SW-1308 Optimized after rebase


Approved-by: Arvid Norlin
2025-03-24 11:23:11 +00:00
Matilda Landström
5643bcc62a Merged in feat/SW-1966-SW-1967-room-sidepeek (pull request #1603)
feat(SW-1966) feat(SW-1967): hotelroom sidepeek UI fixes

* feat(SW-1966) feat(SW-1967): hotelroom sidepeek UI fixex


Approved-by: Christian Andolf
Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2025-03-24 11:04:20 +00:00
Linus Flood
b7d7408bce Merged in fix/destinationpages-flag (pull request #1608)
Fix: Move destionation pages behind feature flag

* Fix: Move destionation pages behind feature flag


Approved-by: Erik Tiekstra
2025-03-24 09:33:11 +00:00
Pontus Dreij
74c5b47319 Merged in feat/SW-1737-design-mystay-multiroom (pull request #1565)
Feat/SW-1737 design mystay multiroom

* feat(SW-1737) Fixed member view of guest details

* feat(SW-1737) fix merge issues

* feat(SW-1737) Fixed price details

* feat(SW-1737) removed unused imports

* feat(SW-1737) removed true as statement

* feat(SW-1737) updated store handling

* feat(SW-1737) fixed bug showing double numbers

* feat(SW-1737) small design fixed

* feat(SW-1737) fixed rebase errors

* feat(SW-1737) fixed create booking error with dates

* feat(SW-1737) fixed view multiroom as singleroom

* feat(SW-1737) fixes for multiroom

* feat(SW-1737) fixed bookingsummary

* feat(SW-1737) dont hide modify dates

* feat(SW-1737) updated breakfast to handle number

* feat(SW-1737) Added red color if member rate

* feat(SW-1737) fix PR comments

* feat(SW-1737) updated member tiers svg

* feat(SW-1737) updated how to handle paymentMethodDescription

* feat(SW-1737) fixes after testing mystay

* feat(SW-1737) updated Room type to just use whats used

* feat(SW-1737) fixed access

* feat(SW-1737) refactor my stay after PR comments

* feat(SW-1737) fix roomNumber translation

* feat(SW-1737) removed log


Approved-by: Arvid Norlin
2025-03-24 09:30:10 +00:00
Hrishikesh Vaipurkar
c5e294c7ea Merged in feat/SW-1356-reward-night-booking-2- (pull request #1559)
feat: SW-1356 Reward night bookingflow

* feat: SW-1356 Reward night bookingflow

* feat: SW-1356 Removed extra param booking call

* feat: SW-1356 Optimized as review comments

* feat: SW-1356 Schema validation updates

* feat: SW-1356 Fix after rebase

* feat: SW-1356 Optimised price.redemptions check

* feat: SW-1356 Updated Props naming


Approved-by: Arvid Norlin
2025-03-24 08:54:02 +00:00
Matilda Landström
b972679c6e Merged in feat/SW-1962-text-weight (pull request #1602)
Feat(SW-1962): Fix title weights

* feat(SW-1962): Fix title weights


Approved-by: Christian Andolf
Approved-by: Fredrik Thorsson
2025-03-24 08:52:17 +00:00
Anton Gunnarsson
4ab7117244 Merged in fix/latest-next-14 (pull request #1606)
Bump next to latest 14

* Bump next to latest 14


Approved-by: Linus Flood
2025-03-24 08:35:05 +00:00
Linus Flood
6197c7634f Merged in fix/destinationpages-loading-tweaks (pull request #1605)
Suspense destination pages fixes and some performance improvements

* Suspense destination pages fixes and some performance improvements


Approved-by: Erik Tiekstra
2025-03-24 08:27:16 +00:00
Bianca Widstam
bcf0310872 Merged in fix/polling-status-guarantee (pull request #1601)
fix: refetch data for confirmation number to avoid booking already completed

* fix: refetch data for confirmation number to avoid booking already completed


Approved-by: Christian Andolf
2025-03-24 08:26:07 +00:00
Arvid Norlin
81b44b357c Merged in fix/confirmation-payment-details-text (pull request #1596)
fix: update Payment Details text

* fix: update Payment Details text


Approved-by: Simon.Emanuelsson
2025-03-24 08:04:25 +00:00
Niclas Edenvin
efa7336ebd Merged in feat/sw-1602-preliminary-receipt (pull request #1595)
feat/sw-1602 preliminary receipt

* feat(sw-1602): create page for preliminary receipt

* Add link to my stay page


Approved-by: Pontus Dreij
2025-03-24 07:55:15 +00:00
Chuma Mcphoy (We Ahead)
c4f8ff8bb5 Merged in fix/LOY-173-membership-id-translations (pull request #1593)
fix(LOY-173): update membership ID label translations

* fix(LOY-173): update membership ID label translations


Approved-by: Christian Andolf
2025-03-24 07:49:05 +00:00
Erik Tiekstra
f93afdbfbf Feat/SW-1937 destination overview map mobile
* feat(SW-1937): Added gestureHandling prop to be able to scroll past the map on the overview page

* feat(SW-1937): Added active map card on overview page for smaller viewports

Approved-by: Matilda Landström
2025-03-24 07:34:36 +00:00
Pontus Dreij
542e20e69c Merged in fix/booking-guest-phone (pull request #1579)
fix: phoneNumber doesn't need to be validated from API

* fix: phoneNumber doesn't need to be validated from API


Approved-by: Tobias Johansson
2025-03-21 15:28:34 +00:00
Bianca Widstam
272c492b76 Merged in feat/SW-1943-ancillaries-with-points (pull request #1598)
feat(SW-1943): fix design to pay with points

* feat(SW-1943): fix design to pay with points


Approved-by: Niclas Edenvin
2025-03-21 13:44:14 +00:00
Erik Tiekstra
91e26e30af feat/SW-1756-meeting-package-content-pages
* feat(SW-1230): Changes to script to be able to reload after soft navigation
* feat(SW-1756): Added meeting package widget on content pages

Approved-by: Matilda Landström
2025-03-21 13:31:33 +00:00
Matilda Landström
369cc964f0 Merged in feat/SW-1888-tripadvisor-link-color (pull request #1594)
Feat(SW-1888): Update text colors

* feat(SW-188): Update text colors


Approved-by: Erik Tiekstra
Approved-by: Fredrik Thorsson
2025-03-21 12:23:57 +00:00
Linus Flood
310296b55f Merged in feat/warmup-cache-function (pull request #1581)
Feat/warmup cache function

* WIP

* Fix warmup for all languages

* Cleanup

* Added env flag so we can disable warmup

* Changed time to 04.00 UTC since backend updates their data at 03.00 UTC

* Add return statements

* Merge branch 'master' into feat/warmup-cache-function


Approved-by: Anton Gunnarsson
2025-03-21 09:35:36 +00:00
Fredrik Thorsson
0a1b36f8b7 Merged in fix/SW-1987-length-check-experience-list (pull request #1585)
fix/SW-1987-length-check-experience-list

* fix(SW-1987): add ternary operator


Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-03-21 09:21:42 +00:00
Anton Gunnarsson
c58815ec06 Merged in fix/sas-flow-design-updates (pull request #1567)
Fix typography in SAS flow

* Add missing translation

* Update SAS login page typography

* Update LinkAccountFormTypography

* Update typography in OneTimePasswordForm

* Update typography of SAS link success page

* Update typography of SAS flow errors

* Update typography of SAS unlink success page

* Update typography of SAS error boundary


Approved-by: Linus Flood
2025-03-21 09:05:47 +00:00
Christian Andolf
d406725a65 Merged in fix/SW-1971-close-mobile-menu-footer-link-click (pull request #1583)
fix(SW-1971): now closes mobile menu on clicking the find booking link

Approved-by: Chuma Mcphoy (We Ahead)
2025-03-21 08:22:51 +00:00
Christian Andolf
9a37a2f4c0 fix(SW-1971): now closes mobile menu on clicking the find booking link
removed useless class usage

added customer service url to link
2025-03-21 09:18:59 +01:00
Chuma Mcphoy (We Ahead)
7ca8c97738 Merged in fix/LOY-181-contentpage-sidebar-horizontal-padding-tablet (pull request #1592)
fix(LOY-181): add max-width to sidebar on tablet layouts in static pages

* fix(LOY-181): add max-width to sidebar in static pages


Approved-by: Christian Andolf
2025-03-21 08:16:34 +00:00
Chuma Mcphoy (We Ahead)
85cd247f79 Merged in feat/LOY-183-Make-Other-Password-Inputs-Maskable (pull request #1569)
feat(LOY-183): Make Current & Retype Password Inputs Maskable in My Profile Edit Form

* feat(LOY-183): implement PasswordInput and PasswordToggleButton components

- Added PasswordInput component for password fields with visibility toggle.
- Introduced PasswordToggleButton for toggling password visibility.
- Updated NewPassword component to utilize the new PasswordInput.

* refactor(LOY-183): replace NewPassword component with PasswordInput


Approved-by: Christian Andolf
2025-03-21 08:15:55 +00:00
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