Commit Graph

5857 Commits

Author SHA1 Message Date
Erik Tiekstra
e621570f99 fix: Checking for children to decide if we should render paragraph vs div
Approved-by: Matilda Landström
2025-11-28 11:49:02 +00:00
Joakim Jäderberg
3a6abb73c2 Merged in fix/align-react-versions (pull request #3250)
fix: align react versions

* fix: align react versions


Approved-by: Anton Gunnarsson
2025-11-28 10:03:29 +00:00
Christel Westerberg
6b64cb00d6 Merged in fix/correct-rooms-rebook (pull request #3238)
fix(STAY-130): Make sure we pass correct amount of rooms to rebook url

* fix: Make sure we pass correct amount of rooms to rebook url


Approved-by: Erik Tiekstra
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
2025-11-28 09:35:00 +00:00
Linus Flood
9bcb9e8232 Merged in feat/book-623-bw-lang (pull request #3248)
feat(BOOK-623): pass correct lang to booking widget and fix some more error logs

* feat(BOOK-623): pass correct lang to booking widget and fix some more error logs


Approved-by: Joakim Jäderberg
2025-11-28 08:59:39 +00:00
Rasmus Langvad
c65091b36a Merged in feat/SW-3644-storybook-v10 (pull request #3240)
feat(SW-3644): Storybook v10

* Auto update to Storybook v10

* Add scandic theme and logo

* Update yarn.lock

* Update formatting of package.json

* Update vitest config and playwright plugin

* Remove vitest 4 update

* Re-added comment

* Update the Typography component to explicitly return React.ReactNode

* Add an explicit type assertion to the export

* Add an explicit type assertion to the export for Checkbox

* Explicit return type assertion

* Add an explicit type assertion to the export

* Update @types/react and fix ts warnings

* Updated typings


Approved-by: Linus Flood
Approved-by: Matilda Landström
2025-11-28 08:05:40 +00:00
Anton Gunnarsson
27b3f41bff Merged in feat/refactor-enter-details-price-calculation (pull request #3183)
feat: Refactor enter details price calculation

* Refactor getTotalPrice and child functions

* Move price calculations from helper file to specific file


Approved-by: Linus Flood
2025-11-27 13:44:45 +00:00
Bianca Widstam
5ac7e5deac Merged in fix/hotjar-suppress (pull request #3211)
Fix/hotjar suppress

* fix(hotjar): suppress personal info on my pages

* fix(hotjar): suppress more data


Approved-by: Linus Flood
2025-11-27 13:09:37 +00:00
Linus Flood
a2c517db2c Merged in fix/hotel-branding-env (pull request #3239)
Fix/hotel branding env

* feat(env): removed hotel branding env variable

* .


Approved-by: Erik Tiekstra
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
2025-11-27 13:08:42 +00:00
Matilda Landström
86e15a58c6 Merged in lokalise-profiling-consent (pull request #3242)
chore: fetch from Lokalise

* chore: fetch from Lokalise

* fix: change to correct label


Approved-by: Linus Flood
2025-11-27 12:52:32 +00:00
Matilda Landström
9ad9e374e8 Merged in fix/LOY-398-fix-language-select (pull request #3227)
fix(LOY-398): fix language select by creating FormSelect wrapper

* fix(LOY-398): fix language select by creating FormSelect wrapper


Approved-by: Erik Tiekstra
Approved-by: Anton Gunnarsson
2025-11-27 12:06:46 +00:00
Anton Gunnarsson
c69993fa96 Merged in chore/refactor-paymentclient (pull request #3219)
chore: Refactor PaymentClient

* Extract function mustGuaranteeBooking

* Break apart PaymentClient


Approved-by: Joakim Jäderberg
2025-11-27 10:04:10 +00:00
Hrishikesh Vaipurkar
9937dfd002 Merged in fix/BOOK-408-alt-text-needs-to-be-updated- (pull request #3220)
* fix(BOOK-408): Updated logo aria label
* fix(BOOK-408): Added title for links opening in new tab
* fix(BOOK-408): Added translations handling for title

Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
2025-11-27 09:40:38 +00:00
Matilda Landström
1dabd3cdc7 Merged in chore/Lokalise-update-20251127 (pull request #3241)
chore: fetch from Lokalise

* chore: fetch from Lokalise


Approved-by: Linus Flood
2025-11-27 08:34:18 +00:00
Matilda Landström
b122f2ff4f Merged in feat/LOY-490-cleanup-profiling-consent (pull request #3237)
Feat/LOY-490 cleanup profiling consent

* chore(LOY-490): cleanup accordion

* xhore(LOY-490): cleanup signup

* fix(LOY-490): use correct tokens

* fi(LOY-490): change button to correct color

* fix(LOY-490): switch deprecated Link


Approved-by: Chuma Mcphoy (We Ahead)
2025-11-27 07:48:34 +00:00
Christel Westerberg
42b039c4ef Merged in fix/STAY-37-arrow-margin (pull request #3236)
Fix/STAY-37 arrow margin

* fix: mobile padding on button

* fix: remove deprecated button and fix border radius on booking widget button


Approved-by: Erik Tiekstra
2025-11-27 06:12:55 +00:00
Erik Tiekstra
931696de54 fix: Added padding to bottom sheet for tablet sized viewports
Approved-by: Christel Westerberg
Approved-by: Matilda Landström
2025-11-26 14:26:29 +00:00
Erik Tiekstra
6ac8267c31 fix(BOOK-204): Added dynamic h1 to startpage
Approved-by: Christel Westerberg
2025-11-26 14:26:11 +00:00
Erik Tiekstra
05ed0533fb fix(BOOK-477): Added maximum of 2 decimals inside formatPrice functionality
Approved-by: Hrishikesh Vaipurkar
Approved-by: Matilda Landström
2025-11-26 14:25:49 +00:00
Joakim Jäderberg
c4de9a2262 Merged in fix/logging-warmup-background (pull request #3235)
Fix/logging warmup background

* fix: logging in background functions

* fix logging

* fix logging

* fix logging

* fix: add error logging when unable to get from cache

* Merge branch 'master' of bitbucket.org:scandic-swap/web into fix/logging-warmup-background


Approved-by: Linus Flood
2025-11-26 13:03:28 +00:00
Joakim Jäderberg
4174d43e16 Merged in fix/logging-warmup-background (pull request #3232)
Fix/logging warmup background

* fix: logging in background functions

* fix logging

* fix logging

* fix logging


Approved-by: Linus Flood
2025-11-26 12:21:42 +00:00
Matilda Landström
26f3b5bdd0 Merged in feat/LOY-484-consent-alert (pull request #3184)
feat(LOY-484): Change toast to alert for Profiling Consent

* feat(LOY-484): change toast to alert using context

* refactor(LOY-484): remove uneccesary code

* chore(LOY-484): small UI fixes


Approved-by: Chuma Mcphoy (We Ahead)
2025-11-26 12:13:04 +00:00
Matilda Landström
086319e8b1 Merged in feat/LOY-486-consent-prompt-date (pull request #3221)
Feat/LOY-486 consent prompt date

* chore(LOY-486): update name on date

* chore(LOY-486): open links in new tab

* chore(LOY-486): send prompt date + refactor modal

* chore(LOY-486): update README


Approved-by: Chuma Mcphoy (We Ahead)
2025-11-26 12:11:57 +00:00
Linus Flood
f70c431a5e Merged in fix/sentry-imports (pull request #3228)
feat(sentry): changed imports so they work in netlify functions

* feat(sentry): changed imports so they work in netlify functions


Approved-by: Joakim Jäderberg
2025-11-26 10:06:59 +00:00
Linus Flood
a2d9010c8f Merged in fix/redis-onerror (pull request #3218)
feat(BOOK-603): better logging and delete with unlinke intead of del

* feat(BOOK-603): better logging and delete with unlinke intead of del


Approved-by: Joakim Jäderberg
2025-11-26 09:36:38 +00:00
Erik Tiekstra
250b1f2eac fix(BOOK-437): Fixed icon color of the check icon in lists
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-11-26 07:40:28 +00:00
Erik Tiekstra
b41aab56a6 feat(BOOK-101): Added functionality to show active map card when focus is within the hotel card
Approved-by: Bianca Widstam
2025-11-26 07:40:12 +00:00
Bianca Widstam
7cae720498 Merged in fix/BOOK-616-dial-code (pull request #3225)
fix(BOOK-616): remove warning dialcode

* fix(BOOK-616): remove warning dialcode


Approved-by: Matilda Landström
2025-11-26 07:19:07 +00:00
Erik Tiekstra
a3e4c85ec0 fix(BOOK-476): Footer headings are now h2 instead of h3
Approved-by: Matilda Landström
2025-11-25 13:29:21 +00:00
Erik Tiekstra
e84f2f55ac fix(BOOK-558): Fixed issue where city is not prefilled inside the booking widget
Approved-by: Matilda Landström
2025-11-25 13:29:02 +00:00
Anton Gunnarsson
bd21b92dbe Merged in fix/sw-3622-tablet-voucher-container-empty (pull request #3197)
fix(SW-3622): Hide UI glitch while redemption is disabled for partner-sas

* Hide UI glitch while redemption is disabled for partner-sas


Approved-by: Matilda Haneling
2025-11-25 10:47:07 +00:00
Joakim Jäderberg
5477343373 Merged in fix/dont-remove-items-when-unable-to-parse (pull request #3217)
fix: dont remove cache entries when unable to parse api response

* fix: dont remove cache entries when unable to parse api response


Approved-by: Linus Flood
2025-11-25 10:24:33 +00:00
Joakim Jäderberg
c3381e8100 Merged in feat/redis-fix (pull request #3209)
Feat/redis fix

* feat(redis): delete multiple keys in one partition scan

* fix(BOOK-603): make it possible to do multiple deletes in redis at once using one partition scan

* filter out invalid keys

* fix: if no valid keys are present return early

* .

* fix: do redis deletes after scanning through all keys

* fix: do redis deletes after scanning through all keys


Approved-by: Linus Flood
2025-11-25 10:19:19 +00:00
Joakim Jäderberg
1ecbca40a3 Merged in fix/add-logging-when-cache-get-fails (pull request #3215)
fix: add logging when we fail to get cache data

* fix: add logging when we fail to get cache data


Approved-by: Linus Flood
2025-11-25 09:52:45 +00:00
Christel Westerberg
2ae3fcb609 Merged in fix/STAY-17-find-my-booking-errors (pull request #3181)
fix: improve error messages in find my booking flow

* fix: improve error messages in find my booking flow


Approved-by: Linus Flood
Approved-by: Erik Tiekstra
2025-11-24 14:46:39 +00:00
Erik Tiekstra
2346daec25 feat(BOOK-577): Added chatbot functionality for SE
Approved-by: Bianca Widstam
2025-11-24 14:18:35 +00:00
Erik Tiekstra
091c1c3780 fix(BOOK-468): Added inert attribute to SidePeekSEO element to ignore tab navigation and screen readers
Approved-by: Linus Flood
2025-11-24 14:12:10 +00:00
Erik Tiekstra
acb50eb75e fix(BOOK-579): Fixed Marski logo color and Nearby text color
Approved-by: Bianca Widstam
2025-11-24 13:58:09 +00:00
Linus Flood
109f641044 Merged in fix/redis-delete-headers (pull request #3208)
feat(BOOK-603): fixed correct headers when deleting in redis

* feat(BOOK-603): fixed correct headers when deleting in redis
2025-11-24 11:34:28 +00:00
Joakim Jäderberg
8ed16a0119 Merged in feat/redis-fix (pull request #3207)
Feat/redis fix

* feat(redis): delete multiple keys in one partition scan

* fix(BOOK-603): make it possible to do multiple deletes in redis at once using one partition scan


Approved-by: Linus Flood
2025-11-24 10:17:35 +00:00
Matilda Landström
29e81d9995 Merged in fix/LOY-483-only-english (pull request #3194)
Fix/LOY-483: Fix My Pages working in all languages

* fix(LOY-483): add back specific handling of profile pages

* fix(LOY-483): remove limit of 1 profiling consent config


Approved-by: Chuma Mcphoy (We Ahead)
2025-11-24 10:14:57 +00:00
Christel Westerberg
f34e88db7c Merged in fix/STAY-124-change-dates (pull request #3199)
Fix/STAY-124 change dates

* fix: handle change dates for different rate types

* fix: update wrong spelling in cancellation rules

* fix: add hover state on links

* fix: handle multiroom scenario


Approved-by: Erik Tiekstra
2025-11-24 09:51:16 +00:00
Christel Westerberg
168813ec60 Merged in fix/STAY-8-reset-cookie (pull request #3201)
fix: reset BV cookie upon changing guest details

* fix: reset BV cookie upon changing guest details


Approved-by: Erik Tiekstra
2025-11-24 08:43:41 +00:00
Christel Westerberg
9ca7cfc0d3 Merged in fix/STAY-15-validation-messages (pull request #3203)
fix: Show correct validation errors in additionalInfoForm

* fix: Show correct validation errors in additionalInfoForm


Approved-by: Bianca Widstam
Approved-by: Erik Tiekstra
2025-11-24 08:36:17 +00:00
Joakim Jäderberg
8a5fef6d3a Merged in chore/rename-trpc-distribution (pull request #3205)
rename trpc distribution

* rename trpc distribution


Approved-by: Linus Flood
2025-11-24 08:07:53 +00:00
Matilda Landström
b926f2f0eb Merged in feat/LOY-487-profile-consent-accordion (pull request #3192)
feat(LOY-487): add legal text to profiling consent accordion

* feat(LOY-487): add legal text to accordion


Approved-by: Erik Tiekstra
2025-11-24 07:38:05 +00:00
Joakim Jäderberg
aa007afedf Merged in fix/remove-session-on-sas-refresh-error (pull request #3204)
fix(sas auth): remove session when we get a RefreshAccessTokenError

* fix(sas auth): remove session when we get a RefreshAccessTokenError


Approved-by: Linus Flood
2025-11-24 07:35:58 +00:00
Joakim Jäderberg
dd9ffecb02 Merged in fix/reorder-trpc-reporting-middlewares (pull request #3193)
reorder trpc middlewares so that Sentry understands where errors occur

* reorder trpc middlewares so that Sentry understands where errors occur


Approved-by: Linus Flood
2025-11-24 07:34:53 +00:00
Erik Tiekstra
02aac9006e feat(BOOK-469): Enter details design changes with guarantee/non-guarantee flow
Approved-by: Bianca Widstam
2025-11-24 07:24:52 +00:00
Anton Gunnarsson
ea30e59ab7 Merged in fix/sw-3630-hotel-card-scandic-logo-color (pull request #3196)
fix(SW-3630): Update HotelCard Scandic logo color

* Update hotel card scandic logo color


Approved-by: Matilda Haneling
Approved-by: Linus Flood
2025-11-21 12:46:43 +00:00
Erik Tiekstra
a57d0afdc0 fix(BOOK-146): Added scrolling possibility on Sidepeek dialog instead of content to support keyboard scrolling
Approved-by: Bianca Widstam
2025-11-21 09:07:13 +00:00