Commit Graph

656 Commits

Author SHA1 Message Date
Christian Andolf
afd9b3b246 Merged in fix/cleanup-profile-pages (pull request #2187)
fix: cleanup profile pages

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-23 13:24:02 +00:00
Erik Tiekstra
1095a65ef7 feat(SW-435): Added hotel subpage for reviews, refactored subpages
Approved-by: Matilda Landström
2025-05-23 10:21:53 +00:00
Joakim Jäderberg
231ea05348 Merged in fix/refetching-availability-on-select (pull request #2204)
don't use rateCode to determine if bookingCode should come from the room or the 'big' input

* don't use rateCode to determine if bookingCode should come from the room or the 'big' input


Approved-by: Linus Flood
2025-05-23 09:55:35 +00:00
Anton Gunnarsson
c27290717b Merged in fix/sw-2767-expire-text-align-right (pull request #2181)
Align tier match expire date right

* Align tier match expire date right


Approved-by: Christian Andolf
2025-05-23 08:15:39 +00:00
Christian Andolf
aa06a0654d fix: cleanup profile pages in renaming to follow naming convention
cleanup profile page html to be valid

replace old temp design system components with new ones

divider is now correctly an hr element

less section elements to be valid html
2025-05-23 09:20:21 +02:00
Christian Andolf
502ffa449d Merged in fix/SW-2170-outline-for-chip (pull request #2199)
fix(SW-2170): add outline for chip for keyboard focus

Approved-by: Erik Tiekstra
2025-05-23 07:19:27 +00:00
Matilda Landström
76cf33a199 Merged in fix/tripadvisor-rating (pull request #2193)
fix(SW-2892): don't show Tripadvisor rating if undefined

* fix: don't show rating if undefined


Approved-by: Bianca Widstam
Approved-by: Christian Andolf
Approved-by: Erik Tiekstra
2025-05-22 15:05:25 +00:00
Christian Andolf
16efce3a43 fix(SW-2170): add outline for chip for keyboard focus
add nonmodal prop to booking code rates dropdown to ensure booking widgets stays sticky when opened
2025-05-22 16:28:58 +02:00
Erik Tiekstra
e6963cd110 fix(SW-2868): Added break-inside: avoid to avoid column-breaks within the item itself.
Approved-by: Matilda Landström
2025-05-22 12:15:52 +00:00
Niclas Edenvin
c3e00327de Merged in fix/join-card-toc-link (pull request #2197)
fix: correct terms & conditions link in join card

* fix: correct terms & conditions link in join card


Approved-by: Linus Flood
2025-05-22 12:14:31 +00:00
Anton Gunnarsson
f46bc8f920 Update @hookform/resolvers
In v5 the zod resolver will automatically infer the type for `useForm`.
It's not recommended to manually specify types.
See https://github.com/react-hook-form/resolvers/releases/tag/v5.0.0
2025-05-22 14:00:39 +02:00
Anton Gunnarsson
9af93fecda Update framer-motion 2025-05-22 14:00:38 +02:00
Anton Gunnarsson
41aa4f26ad Update libphonenumber-js 2025-05-22 14:00:38 +02:00
Anton Gunnarsson
069cdb7aa0 Update react-aria-components 2025-05-22 14:00:37 +02:00
Bianca Widstam
3e0190d5e7 Merged in fix/SW-2676-tracking-select-hotel (pull request #2165)
Fix/SW-2676 tracking select hotel

* fix(SW-2676): add tracking select hotel

* fix(SW-2676): fix tracking text

* fix(SW-2676): create tracking function


Approved-by: Tobias Johansson
2025-05-22 11:44:47 +00:00
Joakim Jäderberg
cc34cdcf74 Merged in fix/SW-2848-RTE-with-copied-divs (pull request #2173)
fix: handle when content has copied divs from episervers RTE

* fix: handle when content has copied divs from episervers RTE


Approved-by: Matilda Landström
2025-05-22 11:03:29 +00:00
Erik Tiekstra
fe71348827 feat(SW-2836): Added bed-size to room sidepeek on hotel pages
Approved-by: Matilda Landström
2025-05-22 11:01:18 +00:00
Matilda Landström
39d97b3070 Merged in fix/en-dash (pull request #2164)
fix(SW-2760): revert removal of en-dash

* fix(SW-2760): revert removal of en-dash


Approved-by: Michael Zetterberg
2025-05-22 10:07:07 +00:00
Bianca Widstam
c4229c2dd2 Merged in fix/SW-2853-tracking-breakfast-ancillaries (pull request #2188)
fix(SW-2853): tracking for breakfast ancillaries

* fix(SW-2853): tracking for breakfast ancillaries

* fix(SW-2853): viewAncillary event fix for breakfast

* fix(SW-2853): pr comment spread room facilities


Approved-by: Tobias Johansson
2025-05-22 10:05:54 +00:00
Simon Emanuelsson
5ca30d02a0 feat: keep inventory of bedselections 2025-05-22 09:37:52 +00:00
Joakim Jäderberg
39b89c5d51 Merged in fix/SW-2890-select-rate-not-updating (pull request #2190)
fix: select-rate didn't update results when switching back to a recent search SW-2890

* fix: select-rate didn't update results when switching back to a recent search


Approved-by: Linus Flood
2025-05-22 09:21:46 +00:00
Christian Andolf
0a7df9de12 Merged in fix/replace-tempdesignsystem-surprises (pull request #2185)
fix: replace temp design system components with design system package in surprises

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-22 08:59:01 +00:00
Matilda Landström
88b6cdf535 Merged in fix/meeting-room-type (pull request #2186)
fix: correct meeting room type

* fix: correct meeting room type


Approved-by: Erik Tiekstra
2025-05-22 08:53:32 +00:00
Linus Flood
2ec309354e Merged in fix/my-stay-webview-2 (pull request #2191)
fix: webview - mystay - check if we have webviewToken

* fix: webview - mystay - check if we have webviewToken

* Cleanup


Approved-by: Joakim Jäderberg
2025-05-22 08:38:20 +00:00
Tobias Johansson
fe1f4b063d Merged in fix/paymentFail-event-fix (pull request #2189)
fix: infinite loop when bookingStatus isTimeout occurs

* fix: infinite loop when bookingStatus isTimeout occurs


Approved-by: Linus Flood
2025-05-22 07:33:13 +00:00
Christian Andolf
76994f6e01 fix: replace temp design system components with design system package in surprises 2025-05-21 17:13:46 +02:00
Hrishikesh Vaipurkar
dfac13f9ad Merged in bug/SW-2881-mobile-browsers-select-rate- (pull request #2183)
bug: SW-2881 Fixed corporate cheques and redemption rate summary mobile

* bug: SW-2881 Fixed corporate cheques and redemption rate summary mobile


Approved-by: Niclas Edenvin
2025-05-21 13:52:45 +00:00
Erik Tiekstra
139dd0ff17 fix(SW-2504): Fixed issue with marker getting active state after closing and clicking cluster marker
Approved-by: Matilda Landström
2025-05-21 12:41:17 +00:00
Hrishikesh Vaipurkar
b3d5326adb Merged in feat/SW-1232-filter-improvements-select-hot (pull request #2168)
feat: SW-1232 Implemented disabling of filters and show hotel count

* feat: SW-1232 Implemented disabling of filters and show hotel count

* feat: SW-1232 Optimised code


Approved-by: Niclas Edenvin
2025-05-21 12:27:11 +00:00
Linus Flood
ad5ec80645 Merged in feat/sw-2855-urls (pull request #2177)
feat: sw-2855 urls

* feat: sw-2855 urls


Approved-by: Joakim Jäderberg
2025-05-21 09:11:02 +00:00
Niclas Edenvin
c55e28a2ac Merged in fix/SW-2651-scroll-multiroom (pull request #2174)
fix(SW-2651): now scrolling after choosing the last room

* fix(SW-2651): now scrolling after choosing the last room


Approved-by: Bianca Widstam
2025-05-21 08:43:49 +00:00
Matilda Landström
6be599e687 Merged in fix/SW-1524-clickable-area (pull request #2125)
Fix/SW-1524: Enter details- expand clickable area

* fix(SW-1524): make whole price area clickable

* fix(SW-1524): add div as fake button


Approved-by: Bianca Widstam
Approved-by: Erik Tiekstra
2025-05-21 07:38:27 +00:00
Erik Tiekstra
e48e90dee4 fix(SW-2376): css specificity to fix carousel buttons position
Approved-by: Chuma Mcphoy (We Ahead)
2025-05-21 07:06:11 +00:00
Matilda Landström
e5836c9e65 Merged in fix/SW-2817-activity-card (pull request #2160)
Fix/SW-2816: activity card span full width

* fix(SW-2816): image span full width

* fix(SW-2817): improve image blurriness


Approved-by: Erik Tiekstra
2025-05-21 06:27:59 +00:00
Michael Zetterberg
f3936f41d8 Merged in fix/label-sync (pull request #2163)
fix: english label sync

* fix: english label sync

* fix: sync from Lokalise


Approved-by: Linus Flood
2025-05-21 04:11:22 +00:00
Chuma Mcphoy (We Ahead)
1b8688c7ee Merged in fix/LOY-105-correct-translation-for-signup-tc (pull request #2167)
fix(LOY-105): use existing translation for t&c text 

* fix(LOY-105): use existing translation for t&c text in signup


Approved-by: Christian Andolf
2025-05-20 14:53:23 +00:00
Bianca Widstam
a560f49c21 Merged in fix/SW-2629-hotelCard-new-design-mobile (pull request #2132)
fix(SW-2629): add new design for mobile

* fix(SW-2629): add new design for mobile

* fix(SW-2629): remove redundant brackets

* fix(SW-2629): pr comments

* fix(SW-2629): hydration error


Approved-by: Christian Andolf
2025-05-20 13:33:17 +00:00
Erik Tiekstra
7becc47fa8 fix(SW-2820): Removed overflow:hidden as it blocks booking widget dropdowns
Approved-by: Linus Flood
2025-05-20 12:38:21 +00:00
Joakim Jäderberg
3de4f9e406 Merged in fix/SW-2827-availability-for-old-dates (pull request #2158)
fix: add error handling for hotel room availability

* fix: add error handling for hotel room availability

* fix: update error codes

* fix: have one error message to rule them all. them as in permutations of invalid dates


Approved-by: Linus Flood
2025-05-20 12:25:36 +00:00
Bianca Widstam
cdfcc3623b Merged in fix/SW-2837-tracking-pageType-enter-details (pull request #2157)
fix(SW-2837): change page type for enter details

* fix(SW-2837): change page type for enter details


Approved-by: Christian Andolf
2025-05-20 09:43:22 +00:00
Christian Andolf
e0a87ec122 Merged in fix/LOY-93-hide-confetti-reduced-motion (pull request #2149)
fix(LOY-93): add quickfix for hiding confetti canvas when reduced motion is turned on

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-20 09:28:09 +00:00
Erik Tiekstra
6d8beebaca fix(SW-2820): full width booking widget on startpage when scrolled down
Approved-by: Linus Flood
2025-05-20 08:02:39 +00:00
Erik Tiekstra
f60d07fd9e Merged in fix/SW-2831-image-gallery-history (pull request #2155)
fix(SW-2831): checking isOpen before rendering Lightbox component to avoid spamming the window history

* fix(SW-2831): checking isOpen before rendering Lightbox component to avoid spamming the window history


Approved-by: Linus Flood
2025-05-20 07:38:13 +00:00
Tobias Johansson
f4ef5a342f Merged in fix/SW-2428-room-preferences-pageview (pull request #2095)
fix(SW-2428): read room packages from search param in select rate tracking

* fix(SW-2428): read room packages from search param in select rate tracking


Approved-by: Bianca Widstam
2025-05-20 07:15:53 +00:00
Tobias Johansson
b641f8387e Merged in fix/SW-2534-booking-widget-fixes (pull request #2129)
fix(SW-2534): Added validation error and fixed initial month in date picker for BW

* Merged in revert-version (pull request #2128)

revert including version in layouts and api responses

* revert including version in layouts and api responses


Approved-by: Linus Flood

* feat: prevent users from selecting the same room when there is no vacancy for it

* Merged in fix/no-my-stay-for-external-bookings (pull request #2126)

fix: Only link web and app bookings to my stay

Approved-by: Joakim Jäderberg

* Merged in fix/bookingwidget-fixes (pull request #2135)

Fix: (#SW-2663) bookingwidget mobile - Space around, border-radius and correct color on date field

* fix: booking widget mobile - padding around booking widget and date color

* Fixed rounded corners

* Reduced minimum size of column


Approved-by: Joakim Jäderberg

* Merged in fix/LOY-105-signupform-error-messages (pull request #2121)

feat(LOY-105): update signup form validation messages

* feat(LOY-105): improve signup form validation messages


Approved-by: Erik Tiekstra

* fix(LOY-199): add missing benefits link

* Merged in feat/SW-2340-aa-tracking-my-stay-pageview- (pull request #2133)

feat: SW-2340 Implemented tracking on my-stay, webview my-stay and receipt page

* feat: SW-2340 Implemented tracking on my-stay, webview my-stay and receipt page

* feat: SW-2340 Updated webview tracking

* feat: SW-2340 Updated receipt tracking


Approved-by: Linus Flood

* Merged in fix/SW-2804-missing-meeting-rooms (pull request #2138)

fix: return [] when we get a 404 for meeting rooms for a hotel

* fix: return [] when we get a 404 for meeting rooms for a hotel


Approved-by: Linus Flood

* feat(auth): limit output in session endpoint

* fix(SW-2376): Vertically centered previous/next buttons inside carousel cards

Approved-by: Matilda Landström

* fix(SW-2055): Surrounded ul inside JsonToHtml with a typography component

Approved-by: Matilda Landström

* fix(SW-2621): Breaking too long words on heading inside destination city pages

Approved-by: Matilda Landström

* Merged in fix/sw-2763-external-scripts (pull request #2104)

fix: try/catch external scripts to avoid them breaking our page #sw-2763

* fix: try/catch external scripts to avoid them breaking our page #sw-2763


Approved-by: Joakim Jäderberg

* fix: handle non loaded surprises in case they're returned as null from server

* feat(SW-2806): booking widget should not be blocked by sitewide alert

* Merged in fix/remove-on-error (pull request #2142)

fix: revert onError on the Script component

* fix: revert onError on the Script component

* Merged in fix/alert-icon (pull request #2139)

fix(SW-2807): alert icons

* fix(SW-2807): fix incorrect icon color on sitewide alert

* fix(SW-2807): change error icon


Approved-by: Erik Tiekstra
Approved-by: Linus Flood

* Merged in feat/SW-2760-SW-552-wellness-openinghours (pull request #2112)

fix(SW-2760, SW-2552): fix opening hours wellness sidepeek

* fix(SW-2760, SW-2552): fix opening hours wellness sidepeek


Approved-by: Erik Tiekstra

* Merged in feat/SW-1749-sidepeek-hotel-cta (pull request #2123)

feat(SW-1749): add link to hotel page in sidepeek

* feat(SW-1749): add link to hotel page in sidepeek


Approved-by: Matilda Landström

* fix(SW-2811): suggest list should follow where-to-field

* fix(SW-2451): placement of suggest list

* Merged in fix/SW-2684-booking-widget-text-overflow (pull request #2048)

fix(SW-2684): truncate overflowing text in booking widget

* fix: truncate overflowing text in booking widget

* fix: change Body to Typography and css selector fix


Approved-by: Hrishikesh Vaipurkar

* Merged in feat/SW-2800-lightbox-history-state (pull request #2147)

feat(SW-2800): closing image gallery and lightbox on using browser navigation

* feat(SW-2800): closing image gallery and lightbox on using browser navigation


Approved-by: Linus Flood

* Merged in fix/enter-details-footer-margin (pull request #2150)

fix: margin to footer on enter details

* fix: margin to footer on enter details

* Merged in fix/SW-2822-missing-meetingroom-images (pull request #2151)

fix: meeting rooms with missing images

* fix: meeting rooms with missing images


Approved-by: Linus Flood


Approved-by: Bianca Widstam
2025-05-20 06:49:27 +00:00
Joakim Jäderberg
3e50132bc9 Merged in fix/SW-2822-missing-meetingroom-images (pull request #2151)
fix: meeting rooms with missing images

* fix: meeting rooms with missing images


Approved-by: Linus Flood
2025-05-20 05:43:43 +00:00
Linus Flood
ac892726e0 Merged in fix/enter-details-footer-margin (pull request #2150)
fix: margin to footer on enter details

* fix: margin to footer on enter details
2025-05-19 14:35:48 +00:00
Erik Tiekstra
41e09f082a Merged in feat/SW-2800-lightbox-history-state (pull request #2147)
feat(SW-2800): closing image gallery and lightbox on using browser navigation

* feat(SW-2800): closing image gallery and lightbox on using browser navigation


Approved-by: Linus Flood
2025-05-19 13:58:20 +00:00
Christian Andolf
822043f433 fix(LOY-93): add quickfix for hiding confetti canvas when reduced motion is turned on
we shouldn't need this fix but currently tsparticles doesn't support this because of a bug in their lib
2025-05-19 15:55:39 +02:00
Tobias Johansson
93a155f1e4 Merged in fix/SW-2684-booking-widget-text-overflow (pull request #2048)
fix(SW-2684): truncate overflowing text in booking widget

* fix: truncate overflowing text in booking widget

* fix: change Body to Typography and css selector fix


Approved-by: Hrishikesh Vaipurkar
2025-05-19 13:45:24 +00:00