Commit Graph

1777 Commits

Author SHA1 Message Date
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
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
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
6ac8267c31 fix(BOOK-204): Added dynamic h1 to startpage
Approved-by: Christel Westerberg
2025-11-26 14:26:11 +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
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
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
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
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
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
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
Erik Tiekstra
a3ee00c603 fix(BOOK-212): Added pathName as separate key to login successful tracking
Approved-by: Bianca Widstam
Approved-by: Matilda Haneling
2025-11-20 13:56:32 +00:00
Linus Flood
fd6909add5 Merged in feat/book-595-gla-tracking (pull request #3187)
feat(BOOK-595): add pageview tracking to gla-callback and get-booking pages

* feat(BOOK-595): add pageview tracking to gla-callback and get-booking pages


Approved-by: Bianca Widstam
2025-11-20 13:50:40 +00:00
Joakim Jäderberg
b1d7fbad88 Merged in chore/upgrade-sentry (pull request #3191)
feat: upgrade sentry and use metrics

* feat: upgrade sentry and use metrics

* remove ununsed deps

* rename span

* .


Approved-by: Linus Flood
2025-11-20 13:24:53 +00:00
Erik Tiekstra
c60f7928ba fix(BOOK-579): Multiple small fixes in regards to hotel branding
Approved-by: Bianca Widstam
Approved-by: Matilda Haneling
2025-11-20 13:07:11 +00:00
Anton Gunnarsson
36cd1a5cdf Merged in fix/sw-3627-pass-user-access-token-payment-callback (pull request #3189)
fix(SW-3627): Pass social session user token to payment callback apge

* Pass social session user token to payment callback apge


Approved-by: Linus Flood
2025-11-20 12:36:40 +00:00
Matilda Landström
bd85dd3b49 Merged in fix/consent-accordion-ui-fix (pull request #3188)
fix(LOY-268): small UI fixes profiling consent accordion

* fix(LOY-268): small UI fixes


Approved-by: Emma Zettervall
2025-11-20 10:16:31 +00:00
Matilda Landström
8a4a4bd970 Merged in feat/LOY-481-remove-benefits-link (pull request #3182)
feat(LOY-481): remove employee benefits link

* feat(LOY-481): remove employee benefits link


Approved-by: Chuma Mcphoy (We Ahead)
2025-11-20 07:26:25 +00:00
Joakim Jäderberg
0e66f1b6de Merged in fix/warmup-not-throwing (pull request #3179)
fix: warmup threw error

* fix: warmup threw error

* .


Approved-by: Linus Flood
2025-11-19 13:49:44 +00:00
Chuma Mcphoy (We Ahead)
ac5fdc64a9 Merged in feat/LOY-428-previous-stay-redesign (pull request #3142)
Feat(LOY-428): Previous Stays Redesign

* feat(LOY-428): Previous stays WIP

* fix(LOY-428): fix alignment issue

* fix(LOY-428): css fixes & imagefallback prop value

* fix(LOY-428): use css vars

* fix(LOY-428): add unit test for relative time text

* chore(LOY-428): remove else if conditions

* fix(LOY-428): named exports & remove duplicate width/height setting

* fix(LOY-428): better formatting of upcoming stays months text

* fix(LOY-428): fewer typography wrappers


Approved-by: Matilda Landström
2025-11-19 12:08:34 +00:00
Joakim Jäderberg
db30588f63 Merged in feature/SW-3595-sas-info-boxes (pull request #3177)
Feature/SW-3595 Add info boxes to SAS start page & Eurobonus alert to select-hotel page on SAS

* wip

* feat(SW-3595): Add info boxes to SAS start page

* Add InfoBox to design-system
* Add background gradient to SAS start page

* update variable naming and conditionalize the eurobonus message on select-hotel

* SAS startpage update default message

* make select-hotel a bit more generic with slot={} instead of alert={}


Approved-by: Anton Gunnarsson
2025-11-19 10:50:04 +00:00
Linus Flood
32e5c8d357 Merged in feat/book-516-refreshtokenerror (pull request #3174)
feat(BOOK-516): clear session if we have a refreshtokenerror

* feat(BOOK-516): clear session if we have a refreshtokenerror


Approved-by: Joakim Jäderberg
2025-11-19 08:26:02 +00:00
Christel Westerberg
a6a259c739 Merged in fix/clear-guest-form (pull request #3168)
fix(STAY-120): Avoid prefilling edit guest details form in MyStay

* fix: Avoid prefilling edit guest details form in MyStay

fix: Avoid prefilling edit guest details form in MyStay


Approved-by: Erik Tiekstra
Approved-by: Elin Svedin
Approved-by: Linus Flood
2025-11-19 08:11:26 +00:00
Matilda Landström
01901ab02e Merged in fix/remove-duplicate-localise-keys (pull request #3171)
fix: remove duplicate Lokalise translations

* fix: remove duplicate Lokalise translations


Approved-by: Chuma Mcphoy (We Ahead)
2025-11-19 07:40:10 +00:00
Linus Flood
4c4957be41 Merged in feat/lokalise-sync-181125 (pull request #3166)
feat(lokalise): sync 18/11-25

* feat(lokalise): sync 18/11-25


Approved-by: Matilda Landström
2025-11-19 07:13:39 +00:00
Linus Flood
711d8b46ef Merged in fix/permanent-filter-redirect (pull request #3170)
feat(BOOK-434): change redirect status from 301 to 307

* feat(BOOK-434): change redirect status from 301 to 307
2025-11-18 13:10:38 +00:00
Hrishikesh Vaipurkar
4c0daf8062 Merged in feat/BOOK-479-scandic-go-hotels-rm-brf- (pull request #3143)
feat(BOOK-479): Updated breakfast UI for ScandicGo hotels

Approved-by: Erik Tiekstra
2025-11-18 13:03:46 +00:00
Linus Flood
93c481fea8 Merged in feat/loy-403-seamless (pull request #3164)
feat(LOY-403): removed seamless login/logout

* feat(LOY-403): removed seamless login/logout


Approved-by: Joakim Jäderberg
2025-11-17 09:58:15 +00:00
Linus Flood
6424291ade Merged in feat/sw-3615-extendedpartner (pull request #3163)
feat(SW-3615): dont fetch extended data when not needed

* feat(SW-3615): dont fetch extended data when not needed


Approved-by: Joakim Jäderberg
2025-11-17 07:24:20 +00:00
Chuma Mcphoy (We Ahead)
494bfe10f3 Merged in feat/profile-consent-feature-branch (pull request #2900)
feat(LOY-268): Feature branch for profiling consent work

* feat: Add feature branch for profile and consent work

* Merged in feat/LOY-268-profile-consent-banner-comp (pull request #2908)

Feat/LOY-358 profile consent banner component

* feat: Add feature branch for profile and consent work

* feat(LOY-268): create banner

* feat(LOY-268): Create personalization banner component


Approved-by: Chuma Mcphoy (We Ahead)

* feat(LOY-268): create banner

* feat(LOY-268): Create personalization banner component

* Merged in feat/profile-consent-contentstack (pull request #2921)

Feat(LOY-389): Profile consent in Contentstack

* feat(LOY-268): create banner

* feat(LOY-268): Create personalization banner component

* chore(LOY-348): add profiling consent as CS entry

* chore(LOY-348): add banner as dynamic content

Approved-by: Chuma Mcphoy (We Ahead)

* Merged in feat/LOY-347-Profile-consent-modal-phase-1 (pull request #2901)

Feat(LOY-347): Profiling Consent Modal (phase 1)

* feat(LOY-347): Profile Consent Modal base functionality

* feat(LOY-347): Add Icon

* feat(LOY-347): Add Benefit Cards to Profile consent modal

* feat(LOY-347): Add accordion to profile consent modal

* fix(LOY-347): scroll behaviour

* Fix(LOY-347): fade in/out animations of profile consent modal

* fix(LOY-347): White Ellipsis Around Icons

* feat(LOY-347): Implement ability to open modal from banner

* fix(LOY-347): minor fixes

* fix(LOY-347): replace old spa icon

* fix(LOY-347): re-add env vars

* fix(LOY-347): File renaming and cleanup

* chore(LOY-347): Update readme

* fix(LOY-347): use correct space var

* fix(LOY-347): Add TODO comment for adding link to accordion

Approved-by: Matilda Landström

* Merged in fix/LOY-386-profiling-consent-modal-contentstack (pull request #2930)

Fix(LOY-386): profiling consent modal contentstack

* feat(LOY-347): Profile Consent Modal base functionality

* feat(LOY-347): Add Icon

* feat(LOY-347): Add Benefit Cards to Profile consent modal

* feat(LOY-347): Add accordion to profile consent modal

* fix(LOY-347): scroll behaviour

* Fix(LOY-347): fade in/out animations of profile consent modal

* fix(LOY-347): White Ellipsis Around Icons

* feat(LOY-347): Implement ability to open modal from banner

* fix(LOY-347): minor fixes

* fix(LOY-347): replace old spa icon

* fix(LOY-347): re-add env vars

* fix(LOY-347): File renaming and cleanup

* fix(LOY-386): Use contentstack content for profile consent modal

* fix(LOY-386): beneift cards schema transform

* chore(LOY-386): remove usememo

* fix(LOY-386): fix modalcontent check

* fix(LOY-386): remove uneeded vars


Approved-by: Matilda Landström

* Merged in feat/LOY-412-profiling-consent-in-signup (pull request #2976)

Feat(LOY-412): profiling consent in signup

* feat(LOY-268): create banner

* feat(LOY-268): Create personalization banner component

* Merged in feat/profile-consent-contentstack (pull request #2921)

Feat(LOY-389): Profile consent in Contentstack

* feat(LOY-268): create banner

* feat(LOY-268): Create personalization banner component

* chore(LOY-348): add profiling consent as CS entry

* chore(LOY-348): add banner as dynamic content

Approved-by: Chuma Mcphoy (We Ahead)

* Merged in feat/LOY-347-Profile-consent-modal-phase-1 (pull request #2901)

Feat(LOY-347): Profiling Consent Modal (phase 1)

* feat(LOY-347): Profile Consent Modal base functionality

* feat(LOY-347): Add Icon

* feat(LOY-347): Add Benefit Cards to Profile consent modal

* feat(LOY-347): Add accordion to profile consent modal

* fix(LOY-347): scroll behaviour

* Fix(LOY-347): fade in/out animations of profile consent modal

* fix(LOY-347): White Ellipsis Around Ico…
* Merged in fix/lokalise-ids (pull request #3013)

fix: add ids to translations in Profiling Consent

* fix: add ids to translations


Approved-by: Erik Tiekstra
Approved-by: Chuma Mcphoy (We Ahead)

* Merged in LOY-436-my-pages-profiling-consent (pull request #3011)

LOY-436: Profiling Consent on My Profile, no api

Approved-by: Chuma Mcphoy (We Ahead)

* Merged in feat/LOY-418-profiling-consent-ui-text-update (pull request #3080)

Feat/LOY-418: Profiling consent ui and text update

* chore(LOY-418): update /consent buttons

* chore(LOY-418): update legal texts


Approved-by: Chuma Mcphoy (We Ahead)

* Merged in feat/LOY-268-profiling-consent-api (pull request #3088)

Approved-by: Chuma Mcphoy (We Ahead)

* Merged in feat/LOY-413-Signup-API-Profiling-Consent (pull request #3105)

Feat/LOY-413 Signup API Profiling Consent

* feat(LOY-413): signup profiling consent

* chore(LOY-413): remove todo

* fix(LOY-413): only pass in profilingConsent if true

* fix(LOY-413): proper spread of profilingConsent in signup input


Approved-by: Christel Westerberg

* Merged in fix/LOY-413-use-v2-for-signup-call (pull request #3112)

fix(LOY-413): use v2 endpoint for profile POST in signup

* fix(LOY-413): use v2 endpoint for profile POST in signup


Approved-by: Erik Tiekstra

* Merged in feat/LOY-268-profiling-consent-improvements (pull request #3094)

Feat/LOY-268: Profiling consent improvements

* Merged in feat/profile-consent-contentstack (pull request #2921)

Feat(LOY-389): Profile consent in Contentstack

* feat(LOY-268): create banner

* feat(LOY-268): Create personalization banner component

* chore(LOY-348): add profiling consent as CS entry

* chore(LOY-348): add banner as dynamic content

Approved-by: Chuma Mcphoy (We Ahead)

* Merged in feat/LOY-347-Profile-consent-modal-phase-1 (pull request #2901)

Feat(LOY-347): Profiling Consent Modal (phase 1)

* feat(LOY-347): Profile Consent Modal base functionality

* feat(LOY-347): Add Icon

* feat(LOY-347): Add Benefit Cards to Profile consent modal

* feat(LOY-347): Add accordion to profile consent modal

* fix(LOY-347): scroll behaviour

* Fix(LOY-347): fade in/out animations of profile consent modal

* fix(LOY-347): White Ellipsis Around Icons

* feat(LOY-347): Implement ability to open modal from banner

* fix(LOY-347): min…
* Merged in fix/update-graphql (pull request #3130)

fix: update graphql

* fix: update graphql


Approved-by: Chuma Mcphoy (We Ahead)

* Merged in feat/LOY-414-prof-consent-tracking (pull request #3127)

Feat/LOY-414 profile consent tracking + credit card ui update

* chore(LOY-414): create track link function

* chore(LOY-414): add cta tracking

* chore(LOY-414): add profileConsent to userInfo datalayer

* chore(LOY-414): update credit card ui

* chore(LOY-414): update tracking specs

* chore(LOY-414): add pageView tracking to modal

Approved-by: Chuma Mcphoy (We Ahead)

* fix: remove old flag

* Merged in fix/LOY-268-prof-consent-button-fix (pull request #3162)

fix(LOY-268): add button as link

* fix(LOY-268): add button as link


Approved-by: Chuma Mcphoy (We Ahead)


Approved-by: Matilda Landström
2025-11-14 13:28:56 +00:00
Christel Westerberg
9260cc0f81 Merged in fix/handle-past-logic (pull request #3161)
fix: Update logic for identifying past stays

* fix: Update logic for identifying past stays


Approved-by: Erik Tiekstra
2025-11-14 12:40:16 +00:00