Commit Graph

689 Commits

Author SHA1 Message Date
Erik Tiekstra 9aa5c294a3 fix(SW-2759): Sticky position for mobile map toggle button on hotel pages
Approved-by: Christian Andolf
Approved-by: Matilda Landström
2025-06-02 09:37:59 +00:00
Erik Tiekstra 5d6776c383 feat(SW-2042): Synced sidebar ui with design
Approved-by: Christian Andolf
Approved-by: Matilda Landström
2025-06-02 09:37:39 +00:00
Christian Andolf d36754e24d Merged in fix/ref-errors-typography (pull request #2240)
fix: rendering errors when applying components to children that are already applying to children

Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-06-02 08:36:02 +00:00
Erik Tiekstra 651a388fa3 fix(SW-2378): Added restriction to the map options to avoid showing grey area in the map
Approved-by: Christian Andolf
2025-06-02 08:12:07 +00:00
Matilda Landström 50a6f4e28c Merged in feat/SW-1880-pool-depth (pull request #2233)
feat/SW-1880-pool-depth

* feat(SW-1880): update pool depth

* fix(SW-1880): handle non existing values


Approved-by: Erik Tiekstra
2025-06-02 07:31:30 +00:00
Anton Gunnarsson 7e97b74c18 Merged in chore/remove-unused-code (pull request #2229)
Remove unused code

* Remove unused scandic-web files

* Remove unused exports


Approved-by: Joakim Jäderberg
2025-05-30 12:41:18 +00:00
Christian Andolf d8ac5614e2 fix: rendering errors when applying components to children that are already applying to children 2025-05-28 14:43:03 +02:00
Niclas Edenvin 44e648e758 Merged in fix/SW-2292-new-hotel-header (pull request #2253)
fix(SW-2292): new design for hotel header on enter details

* fix(SW-2292): new design for hotel header on enter details


Approved-by: Michael Zetterberg
2025-05-28 12:19:11 +00:00
Erik Tiekstra bb5e7b65bb feat(SW-2144): added back-to-top button on destination map views
Approved-by: Matilda Landström
2025-05-28 08:54:27 +00:00
Niclas Edenvin 1d733c5ca3 Merged in fix/SW-2887-complete-booking-button-always-enabled (pull request #2227)
fix(SW-2887): don't disable the booking button
The complete button shouldn’t be disabled based on validation. This was already correct in desktop, but now it’s also correct in mobile.

* fix(SW-2887): don't disable the booking button


Approved-by: Tobias Johansson
Approved-by: Christian Andolf
2025-05-28 08:11:29 +00:00
Christian Andolf 76e377d5d5 Merged in fix/update-footer-variables (pull request #2239)
fix: match footer to design documents with typography and colors

Approved-by: Erik Tiekstra
2025-05-27 13:44:44 +00:00
Christian Andolf ade0279c8d fix: match footer to design documents with typography and colors 2025-05-27 13:46:43 +02:00
Christian Andolf ec31dcda1a Merged in fix/SW-2172-accessibility-issues-sidepeek-and-other-buttons (pull request #2202)
fix(SW-2172): update sidepeek buttons to use new ones for accessibility

Approved-by: Erik Tiekstra
2025-05-27 11:31:41 +00:00
Erik Tiekstra 368e8ad7b5 fix(SW-435): Now using our Image component instead of NextImage
Approved-by: Linus Flood
2025-05-27 10:56:16 +00:00
Christian Andolf 8e1a83ee7d fix(SW-2172): update sidepeek buttons to use new ones for accessibility
updated enter details header overlay to match design

updated change room button to use new one for accessibility

other minor fixes to match design
2025-05-27 12:05:04 +02:00
Simon Emanuelsson 39855d3c8a fix: trigger memberPrice modal for membership number too 2025-05-27 10:22:31 +02:00
Christian Andolf 46faf93aba Merged in fix/hotel-card-fixes (pull request #2209)
fix: update typography including missing header element in hotel cards

Approved-by: Tobias Johansson
Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
2025-05-27 07:32:48 +00:00
Christian Andolf 883fd23949 Merged in fix/LOY-52-remove-spinner-stay-cards (pull request #2232)
fix(LOY-52): remove spinner on stay cards to prevent loading to spin indefinitely when opening link in a new tab

Approved-by: Linus Flood
2025-05-27 07:31:47 +00:00
Hrishikesh Vaipurkar e2c1b066be Merged in feat/SW-2407-mystay-tc-to-modal (pull request #2082)
Feat/SW-2407 mystay tc to modal

* feat: SW-2407 Moved terms in modal view for my stay

* feat: SW-2407 Updated modal to show terms for reward nights and corporate cheque stay

* feat: SW-2407 Optimised code

* feat: SW-2407 Optimised code


Approved-by: Niclas Edenvin
2025-05-27 07:00:02 +00:00
Erik Tiekstra 731000519b fix(SW-995): Made the room cards to have the same height as its neighbors
Approved-by: Matilda Landström
2025-05-27 05:33:06 +00:00
Christian Andolf 6f585a2c1e fix(LOY-52): remove spinner on stay cards to prevent loading to spin indefinitely when opening link in a new tab 2025-05-26 17:19:03 +02:00
Christian Andolf 642a6881e2 fix: update typography including missing header element in hotel cards
add responsive sizes to hotel card image

removed non-existing class
2025-05-26 16:56:54 +02:00
Matilda Landström cf6c794c59 Merged in feat/SW-2901-hotel-pins (pull request #2206)
feat(SW-2901): add dynamic hotel markers

* feat(SW-2901): add dynamic hotel markers

* fix(SW-2901): update type


Approved-by: Christian Andolf
Approved-by: Erik Tiekstra
2025-05-26 13:56:03 +00:00
Erik Tiekstra 7e17e9cf4c fix(SW-2681): Fixed position of scripted text and using design system components
Approved-by: Matilda Landström
2025-05-26 12:32:53 +00:00
Erik Tiekstra d73f8d844e feat(SW-1960): Improved scrolling and tabnavigation on hotel pages
Approved-by: Matilda Landström
2025-05-26 12:32:18 +00:00
Erik Tiekstra a8e52c6c8a fix(SW-1608): Hotel listing synced with design
Approved-by: Matilda Landström
2025-05-26 11:49:51 +00:00
Matilda Landström a790a52067 Merged in fix/SW-2725 (pull request #2217)
fix(SW-2725): change to correct icon color (burgundy)

* fix(SW-2725): change to correct icon color (burgundy)


Approved-by: Erik Tiekstra
2025-05-26 10:35:51 +00:00
Erik Tiekstra c963891ca7 fix(SW-2758): Using ?s queryparameter again to handle sidepeeks on hotel pages
Approved-by: Matilda Landström
2025-05-26 09:09:52 +00:00
Christian Andolf ea90e8c920 Merged in fix/update-typography-footer (pull request #2210)
fix: update typography footer

Approved-by: Chuma Mcphoy (We Ahead)
2025-05-26 08:05:00 +00:00
Tobias Johansson f77202f58b Merged in fix/SW-2249-missing-currency (pull request #2159)
fix(SW-2249): Added default currency to summary and price details modal

* fix(SW-2249): Added default currency to summary and price details modal


Approved-by: Hrishikesh Vaipurkar
2025-05-26 06:51:57 +00:00
Christian Andolf 6e089c6ca3 fix: update typography footer 2025-05-23 16:14:39 +02:00
Simon Emanuelsson 2ddf31cbed fix: remove autofilldetector since rhf update caused watch to behave differently 2025-05-23 13:57:32 +00:00
Bianca Widstam fed24b9012 Merged in SW-2728-mystay-totalpoints (pull request #2201)
fix(SW-2728): add totalpoints to mystay

* fix(2728): add totalpoints to mystay

* fix(SW-2728): add totalPoints everywhere


Approved-by: Anton Gunnarsson
2025-05-23 13:46:27 +00:00
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