Commit Graph
100 Commits
Author SHA1 Message Date
Arvid NorlinandLinus Flood f207cf6601 Merged in fix/SW-2886 (pull request #2468)
fix(SW-2886): Increase BookingWidget z-index if any field expanded

* fix(SW-2886): Increase BookingWidget z-index if any field expanded


Approved-by: Tobias Johansson
Approved-by: Christian Andolf
2025-07-01 05:32:10 +00:00
Arvid Norlin 96d9d0f190 Merged in fix/SW-2940 (pull request #2425)
fix (SW-2940): Close ameneties SidePeek when navigating from select-rate

* fix (SW-2940): Close ameneties SidePeek when navigating from select-rate


Approved-by: Tobias Johansson
2025-06-25 12:33:22 +00:00
Arvid Norlin 1802a391ec Merged in fix/SW-2899 (pull request #2433)
fix (SW-2899): correct VAT calculations

* fix (SW-2899): correct VAT calculations

* refactor: add calculateVat util


Approved-by: Christian Andolf
2025-06-25 11:56:30 +00:00
Arvid Norlin 438de66a1f Merged in feat/SW-3076 (pull request #2416)
feat(SW-3076: change phone country code on country select)

* feat(SW-3076: change phone country code on country select)


Approved-by: Simon.Emanuelsson
2025-06-24 09:47:18 +00:00
Arvid Norlin 1cc2bc70c1 Merged in fix/SW-2814 (pull request #2377)
fix(SW-2814): use slide-in animation for smaller devices

* fix(SW-2814): use slide-in animation for smaller devices


Approved-by: Christian Andolf
Approved-by: Erik Tiekstra
2025-06-19 07:06:01 +00:00
Arvid NorlinandMichael Zetterberg 79e669020a wip: new PhoneCountryCode Select 2025-06-03 11:54:04 +00:00
Arvid Norlin f49a13512a Merged in fix/enter-details-header (pull request #2119)
fix: hide address and decrease title size on smaller devices

* fix(SW-2791): hide address and decrease title size on smaller devices


Approved-by: Tobias Johansson
2025-05-16 08:51:49 +00:00
Arvid NorlinandJoakim Jäderberg 805c8a6cef Merged in fix/updated-redirects-3 (pull request #2109)
fix: fixed redirects

* fix: fixed redirects


Approved-by: Joakim Jäderberg
2025-05-15 12:19:10 +00:00
Arvid NorlinandJoakim Jäderberg a8fa32a802 Merged in fix/disable-autocomlete-country-and-phone (pull request #2107)
fix: disable auto-complete for Country and Phone inputs

* fix(SW-2765): disable auto-complete for Country and Phone inputs


Approved-by: Linus Flood
2025-05-15 12:18:42 +00:00
Arvid Norlin 22a9202e7b Merged in feat/redirect-add-logging (pull request #2105)
feat: add scandic-redirect logging

* feat: add scandic-redirect logging


Approved-by: Michael Zetterberg
2025-05-15 09:21:51 +00:00
Arvid Norlin 623495a176 fix(SW-2757): add AnimatePresence to rate card modals to avoid page freeze 2025-05-15 07:09:31 +00:00
Arvid Norlin d0a3d0c228 Merged in fix/updated-redirects (pull request #2098)
fix: updated redirects again

* fix: updated redirects again


Approved-by: Joakim Jäderberg
2025-05-15 04:03:15 +00:00
Arvid Norlin 4f7edf6ad2 Merged in feat/redirect-list-update (pull request #2088)
feat: update redirect lists

* feat: update redirect lists


Approved-by: Joakim Jäderberg
2025-05-14 09:30:12 +00:00
Arvid Norlin 3cd8c59dd3 Merged in fix/global-error-links (pull request #2090)
fix: remove trailing slashes in global-error link hrefs

* fix: remove trailing slashes in global-error link hrefs


Approved-by: Michael Zetterberg
2025-05-14 08:26:10 +00:00
Arvid Norlin f23e6a1213 Merged in fix/Booking-code-german-warning-fixes (pull request #2081)
Fix/Booking code german warning fixes

* fix: correct colors

* fix: correct whitespace
2025-05-13 14:34:38 +00:00
Arvid Norlin c22cd62d21 feat: add trailingSlash middleware 2025-05-13 11:34:26 +00:00
Arvid Norlin 2cdd086ef3 Merged in feat/log-create-booking-data (pull request #2075)
feat: improve logging for booking.create

* feat: improve logging for booking.create


Approved-by: Michael Zetterberg
2025-05-13 11:33:37 +00:00
Arvid Norlin 91f9cebadb Merged in fix/SW-2669 (pull request #2047)
fix(SW-2669): replace % height with dvh to handle iOS address bar

* fix(SW-2669): replace % height with dvh to handle iOS address bar


Approved-by: Tobias Johansson
Approved-by: Erik Tiekstra
2025-05-12 13:25:32 +00:00
Arvid Norlin cbc0175979 Merged in fix/SW-2675 (pull request #2039)
fix(SW-2675): fix safari date picker button positioning bug

* fix(SW-2675): fix safari date picker button positioning bug


Approved-by: Christian Andolf
Approved-by: Matilda Landström
2025-05-12 07:13:21 +00:00
Arvid Norlin 61983dc4e0 Merged in fix/redirect-continue-header (pull request #2008)
fix: add missing x-continue header to properly handle root 404s

* fix: add missing x-continue header to properly handle root 404s


Approved-by: Michael Zetterberg
2025-05-09 11:18:21 +00:00
Arvid Norlin 44613624e5 Merged in fix/correct-redirect-jsons (pull request #2021)
fix: correct sv and fi jsons

* fix: correct sv and fi jsons


Approved-by: Joakim Jäderberg
2025-05-09 08:10:31 +00:00
Arvid NorlinandMichael Zetterberg aaffcba94a fix(SW-2659): pass input to userTrackingInfo since lang needs to be passed from client 2025-05-08 11:54:44 +00:00
Arvid Norlin 5e059bdfc9 Merged in feat/SW-2634 (pull request #1997)
feat: initial redesign of global-error

* feat: initial redesign of global-error


Approved-by: Christian Andolf
Approved-by: Erik Tiekstra
2025-05-07 13:53:46 +00:00
Arvid Norlin 058f6e8c93 Merged in fix/SW-2431-updated-redirects (pull request #1992)
fix(SW-2431): update redirect lists

* fix(SW-2431): update redirect lists


Approved-by: Michael Zetterberg
2025-05-07 11:01:09 +00:00
Arvid NorlinandMichael Zetterberg afda7f851a fix: correct membershipFailedError logic 2025-05-06 04:19:28 +00:00
Arvid NorlinandMichael Zetterberg 77c9206a94 fix: update BookingWidget type based on if hotelId is specified 2025-05-06 04:01:10 +00:00
Arvid NorlinandMichael Zetterberg fa1ace9a2c fix: remove lingering cancel/error message based on sessionStorage 2025-05-06 04:00:32 +00:00
Arvid NorlinandMichael Zetterberg 2f7a3e624b fix: remove placeholder example texts 2025-05-05 12:37:03 +00:00
Arvid NorlinandMichael Zetterberg 79a009fd4b feat: add final url lists 2025-05-03 20:00:14 +00:00
Arvid NorlinandBianca Widstam 0c7836fa59 Merged in fix/SW-2553-sidepeeks (pull request #1919)
Fix/SW-2553 sidepeeks

* fix(SW-2553): apply sidepeek display logic

* chore: move convertToChildType and getPriceType utils

* fix: apply PR requested changes

* fix(SW-2553): fix roomNumber for multiroom

* fix(SW-2553): fix sidepeek for my-stay page


Approved-by: Michael Zetterberg
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-05-02 15:10:34 +00:00
Arvid NorlinandMichael Zetterberg 74d37dad93 feat(SW-2116): RefId instead of confirmationNumber 2025-05-02 12:44:07 +02:00
Arvid NorlinandMichael Zetterberg 7eeb0bbcac feat(SW-2116): avoid passing entire booking object to Room client component 2025-05-02 11:47:14 +02:00
Arvid NorlinandMichael Zetterberg a839d05e09 feat(SW-2116): remove payment-callback rewrite logic 2025-05-02 11:47:14 +02:00
Arvid Norlin 96c1912d63 Merged in fix/SW-2177 (pull request #1907)
fix: combine radiogroups on payment step

* fix: combine radiogroups on payment step


Approved-by: Christian Andolf
2025-04-29 14:08:40 +00:00
Arvid Norlin 59b0ab3d49 Merged in fix/redirect-public-url (pull request #1902)
fix: add getPublicNextURL for redirect url

* fix(SW-2540): add getPublicNextURL for redirect url


Approved-by: Michael Zetterberg
2025-04-29 11:12:56 +00:00
Arvid Norlin 6cf01e8990 Merged in fix/redirect-content-types (pull request #1855)
Fix/redirect content types

* feat(SW-2429): Removed [contentType]>[uid] and use app router based structure for content types

* feat(SW-2429): Added breadcrumbs to follow contenttype folder structure

* fix(SW-2112): reenabling redirect middleware since working with new content-type routing strategy


Approved-by: Michael Zetterberg
2025-04-28 07:02:15 +00:00
Arvid Norlin 007b20bfb6 Merged in chore/svg-prop-warnings (pull request #1830)
fix attribute casing for svgs in jsx to get rid of warnings

* fix attribute casing for svgs in jsx to get rid of warnings


Approved-by: Erik Tiekstra
2025-04-17 06:45:43 +00:00
Arvid Norlin 33065be565 Merged in feat/SW-2111 (pull request #1761)
feat(SW-2111): add initial scandic-redirect

* feat(SW-2111): add initial scandic-redirect

* feat(SW-2112): add scandic-redirect call to middleware

* chore: add redirect jsons per lang

* fix: handle incorrect contentTypes

* fix: handle lang

* refactor: add json streaming

* refactor: wrap redirect call in cacheOrGet

* refactor: review


Approved-by: Michael Zetterberg
2025-04-16 06:29:32 +00:00
Arvid Norlin 39059eb8b2 Merged in fix/SW-2121 (pull request #1747)
SW-2121: Fix issue where closing SidePeeks would trigger other click events

* fix: replace div with Button in BookingWidget to align press events

* fix: replace div with Button in ImageGallery to align press events


Approved-by: Michael Zetterberg
2025-04-07 10:28:51 +00:00
Arvid Norlin b8a976db22 Merged in fix/bookingwidget-children-array (pull request #1738)
fix: add default childrenInRoom [] to fix Booking Widget

* fix: add default childrenInRoom [] to fix Booking Widget


Approved-by: Simon.Emanuelsson
2025-04-04 08:32:59 +00:00
Arvid Norlin 5621797690 Merged in fix/handling-brf0 (pull request #1728)
fix: disabling handling of BRF0 (Free breakfast for L6 and L7 members) since out of scope for the release

* fix: disabling handling of BRF0 (Free breakfast for L6 and L7 members) since out of scope for the release


Approved-by: Simon.Emanuelsson
2025-04-03 14:07:30 +00:00
Arvid Norlin 350748cbbb Merged in fix/hide-breakfastprice-for-breakfastincluded (pull request #1727)
fix: Hide the breakfast package unitprice for bookings with breakfastIncluded

* fix: Hide the breakfast package unitprice for bookings with breakfastIncluded


Approved-by: Niclas Edenvin
2025-04-03 12:52:46 +00:00
Arvid Norlin 540a3bb36f Merged in fix/SW-2135-rate-checkmark (pull request #1724)
fix(SW-2135): add missing checkmark for selected campaign and bookin code rates

* fix(SW-2135): add missing checkmark for selected campaign and bookin code rates


Approved-by: Simon.Emanuelsson
2025-04-03 11:56:18 +00:00
Arvid Norlin 2272bb4403 Merged in fix/SW-2136 (pull request #1720)
fix(SW-2136): correct booking confirmation breakfast logic

* fix(SW-2136): correct booking confirmation breakfast logic


Approved-by: Simon.Emanuelsson
2025-04-03 10:15:19 +00:00
Arvid Norlin 01e160db41 Merged in fix/saved-card-length (pull request #1711)
fix: remove rendering of savedCard.length if 0

* fix: remove rendering of savedCard.length if 0


Approved-by: Simon.Emanuelsson
2025-04-02 14:01:15 +00:00
Arvid Norlin 961e8aea91 Merged in fix/SW-1631-rate-terms-modal (pull request #1699)
fix(SW-1631): add rate terms modal

* fix(SW-1631): add rate terms modal


Approved-by: Simon.Emanuelsson
2025-04-02 09:36:53 +00:00
Arvid Norlin 5cff2e5f36 Merged in feat/SW-1889 (pull request #1670)
Feat/SW-1889

* fix: remove download invoice from confirmation page

* feat: remove EnterDetails Accordions


Approved-by: Simon.Emanuelsson
2025-03-31 13:14:11 +00:00
Arvid NorlinandSimon.Emanuelsson d35a492c8d Merged in fix/ratecard-omnibus (pull request #1645)
fix: rename omnibusRate prop and enable for regular RateCard

Approved-by: Simon.Emanuelsson
2025-03-26 19:08:12 +00:00
Arvid Norlin d5d00bea7a fix: rename omnibusRate prop and enable for regular RateCard 2025-03-26 13:50:52 +01:00
Arvid Norlin c065101b7c Merged in fix/ratecard-adjustments (pull request #1638)
add transparent border to rateCard and make appoximateRate optional

* add transparent border to rateCard and make appoximateRate optional


Approved-by: Simon.Emanuelsson
2025-03-26 09:38:03 +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
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
Arvid Norlin ec60e9abdd Merged in feat/SW-1652-confirmation-page (pull request #1483)
Feat/SW-1652 confirmation page

* feat(SW-1652): handle linkedReservations fetching

* fix: add missing translations

* feat: add linkedReservation retry functionality

* chore: align naming


Approved-by: Simon.Emanuelsson
2025-03-07 12:47:04 +00:00
Arvid Norlin 2813dc6f84 Merged in fix/linkedReservation-typings (pull request #1431)
fix: linkedReservation typings

* fix: correct rinkedReservation typings


Approved-by: Christian Andolf
Approved-by: Simon.Emanuelsson
2025-02-27 09:10:13 +00:00
Arvid Norlin eb74ea6939 Merged in fix/missing-confirmation-page-room-titles (pull request #1424)
fix: add missing room titles

* fix: add missing room titles


Approved-by: Tobias Johansson
2025-02-26 15:25:53 +00:00
Arvid Norlin d5e5b9a526 Merged in feat/SW-1652-confirmation-page-multiroom (pull request #1404)
feat(SW-1652): Fetching additional rooms on confirmation page

* feat(SW-1652): Fetching additional rooms on confirmation page


Approved-by: Tobias Johansson
2025-02-26 12:42:54 +00:00
Arvid Norlin cf3268bda3 Merged in feat/SW-910-membershipnumber-non-happy-path (pull request #1358)
fix(SW-910): handle MembershipFailedError

* fix(SW-910): handle MembershipFailedError


Approved-by: Tobias Johansson
2025-02-24 15:55:31 +00:00
Arvid Norlin f5e0214313 Merged in feat/confirmation-page-initial-multiroom-display (pull request #1334)
feat: initial display of linkedReservations on confirmation page

* feat: initial display of linkedReservations on confirmation page

* refactor: move notFound


Approved-by: Tobias Johansson
2025-02-14 10:05:58 +00:00
Arvid Norlin d6f32bef7c Merged in fix/confirmation-schema (pull request #1329)
fix(SW-1640): adjust linkedReservationsSchema to align with api response

* fix(SW-1640): adjust linkedReservationsSchema to align with api response


Approved-by: Michael Zetterberg
Approved-by: Simon.Emanuelsson
2025-02-13 11:49:38 +00:00
Arvid Norlin d46a85a529 Merged in fix/handle-bed-reselect-navigation (pull request #1321)
fix: adjust allowed step navigation condition

* fix: adjust allowed step navigation condition


Approved-by: Tobias Johansson
2025-02-13 08:39:43 +00:00
Arvid Norlin cb0dfcecad fix (SW-1352): update PriceDetailsTable with avarage price per night 2025-01-14 14:24:06 +01:00
Arvid NorlinandChristel Westerberg 39ebfe50c9 fix: adjust modal padding-bottom 2025-01-13 14:53:48 +00:00
Arvid Norlin f7ec34d86f fix: pass correct location data to session storage 2024-12-20 10:15:01 +01:00
Arvid Norlin 0c7c6ea21a feat: add Price details modal 2024-12-20 09:28:06 +01:00
Arvid Norlin e885b76a12 fix: add regex validation of membership no 2024-12-10 11:51:33 +00:00
Arvid Norlin d67a2919bf fix: limit first/lastname inputs to 30 characters 2024-12-10 10:30:55 +01:00
Arvid Norlin a5a99c1432 fix: replace enter details first-/lastname regex 2024-12-10 10:30:55 +01:00
Arvid Norlin 886be166ef fix: use room.description instead of mainBed.description 2024-12-09 14:18:15 +01:00
Arvid Norlin 083ba28f9e feat: add SignupPromo component 2024-12-05 15:33:25 +01:00
Arvid Norlin ac0d671811 fix(SW-957 SW-958): Make selected EnterDetailsCards clickable 2024-11-21 15:34:44 +01:00
Arvid NorlinandJoakim Jäderberg bdbdfa80ab feat: add useSetOverflowVisibleOnRA hook 2024-11-19 08:48:11 +01:00
Arvid NorlinandJoakim Jäderberg bb49dccc9e fix: use new Popover component in FlexibilityOption 2024-11-19 08:48:11 +01:00
Arvid NorlinandJoakim Jäderberg c0751968b5 feat(SW-612): Add popover component 2024-11-19 08:48:11 +01:00
Arvid NorlinandChristel Westerberg e18a2fdc44 feat: add useSetOverflowVisibleOnRA hook 2024-11-19 08:08:08 +01:00
Arvid NorlinandChristel Westerberg 1004871afb fix: use new Popover component in FlexibilityOption 2024-11-19 08:08:08 +01:00
Arvid NorlinandChristel Westerberg 17df6d6c47 feat(SW-612): Add popover component 2024-11-19 08:08:08 +01:00
Arvid NorlinandChristel Westerberg 58678244fc fix: refactor GuestRoomsPicker to avoid performance bugs 2024-11-14 11:42:24 +01:00
Arvid NorlinandChristel Westerberg 628f79929c fix(SW-779): replace css module with .css file to work with parallel route 2024-11-11 11:17:05 +01:00
Arvid Norlin e8e23a2113 feat: Convert Selected-Room to Steplike design and fix select-rate link 2024-11-07 09:36:45 +01:00
Arvid Norlin 3ea48b3846 fix: make Bed and Breakfast Accordion texts dynamic based on selection 2024-11-04 10:28:02 +01:00
Arvid Norlin 5bddaff04d fix: handle non-escaped newlines 2024-10-18 09:30:06 +02:00
Arvid Norlin 9c940f54e9 fix: add code lost in rebase 2024-10-16 10:34:12 +02:00
Arvid Norlin b1beb7931a fix: remove redundant DialogTrigger from SidePeek 2024-10-16 10:26:10 +02:00
Arvid Norlin 103dcc7f1e feat(SW-472): Add EnterDetails SidePeek 2024-10-16 10:26:10 +02:00
Arvid Norlin 724f429696 feat(SW-341): add hotels listing sidepeeks 2024-10-02 08:55:05 +02:00
Arvid Norlin 2849c69c52 refactor: Move Sidepeek param logic to SidePeekProvider 2024-09-16 21:28:39 +02:00
Arvid NorlinandMichael Zetterberg 9bd250e070 Merged in fix/tracking-sdk-cleanup-logic (pull request #522)
fix: move perfObserver.disconnect()

Approved-by: Michael Zetterberg
2024-08-28 12:58:47 +00:00
Arvid NorlinandMichael Zetterberg 08529e6398 Merged in fix/handle-missing-dateofbirth (pull request #524)
fix: handle profile update when dateOfBirth is missing

Approved-by: Michael Zetterberg
Approved-by: Matilda Landström
2024-08-28 12:43:02 +00:00
Arvid Norlin 9efcaba887 fix: handle profile update when dateOfBirth is missing 2024-08-27 15:47:38 +02:00
Arvid Norlin 4f0c46cd77 fix(SW-309): move perfObserver.disconnect() 2024-08-27 13:52:48 +02:00
Arvid NorlinandMichael Zetterberg 7949039521 Merged in fix/cleanup-metrics-attributes (pull request #494)
fix: remove toString() in metric attributes to avooid silly data like Object: Object

Approved-by: Michael Zetterberg
2024-08-26 13:06:58 +00:00
Arvid NorlinandMichael Zetterberg f2a71fab8e Merged in fix/birth-year (pull request #496)
fix: make year of birth now - 18 years

Approved-by: Michael Zetterberg
2024-08-26 12:20:26 +00:00
Arvid Norlin 3a6db5c7ec fix: make year of birth now - 18 years 2024-08-26 14:15:22 +02:00
Arvid Norlin b56069e009 fix: remove toString() in metric attributes to avooid silly data like Object: Object 2024-08-26 13:30:07 +02:00
Arvid NorlinandMichael Zetterberg ca07c600d1 Merged in feat/add-metrics (pull request #476)
Feat/add metrics

Approved-by: Michael Zetterberg
2024-08-26 10:03:56 +00:00
Arvid Norlin 0b2936159f feat: add metrics 2024-08-26 11:50:35 +02:00
Arvid Norlin fac0d7acdc fix: structure logged data 2024-08-26 11:50:35 +02:00
Arvid Norlin e3ca26d0df feat: add metrics PoC counters to getHotel trpc query 2024-08-26 11:50:35 +02:00
Arvid Norlin 7388df5f5f feat: add metricReader to instrumentation.ts 2024-08-26 11:50:35 +02:00
Arvid Norlin 5b6295779d fix: add apiResponse.text() to logging 2024-08-26 11:50:35 +02:00