Commit Graph

693 Commits

Author SHA1 Message Date
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
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
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
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
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
Matilda Landström
51036d2f70 Merged in feat/LOY-485-remove-api-attributes (pull request #3190)
feat(LOY-485): remove isLackingCribs and isLackingExtraBeds

* feat(LOY-485): remove isLackingCribs and


Approved-by: Linus Flood
2025-11-20 14:18:42 +00:00
Bianca Widstam
ebd6e1dc2c Merged in fix/BOOK-119-accessibility-redemption-radiogroup (pull request #3172)
fix(BOOK-119): reward nights accessible radiogroup

* fix(BOOK-119): reward nights accessible radiogroup

* fix(BOOK-119): pr comment focus

* fix(BOOK-119): added roomtype name to the radiogroup for accessibility improvment


Approved-by: Matilda Haneling
Approved-by: Erik Tiekstra
2025-11-20 13:28:21 +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
Linus Flood
5eaaea527f Merged in feat/sw-3623-fetchretry (pull request #3180)
feat(SW_3623): remove fetch-retry

* feat(SW_3623): remove fetch-retry


Approved-by: Joakim Jäderberg
2025-11-20 13:24:34 +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
Matilda Haneling
5fd379892e Merged in fix/book-500-disable-booking-widget-overlay (pull request #3149)
fix(BOOK-500): disable scrolling of backdrop on mobile booking modal

* BOOK-500: fixed scrolling issue behind open booking widget

* fix(BOOK-500): added customized hook for scrollLock

* BOOK-500: gave hook functions more descriptive names


Approved-by: Erik Tiekstra
2025-11-20 07:22:17 +00:00
Anton Gunnarsson
fc02c957d2 Merged in chore/add-tests-to-getTotalPrice (pull request #3178)
chore: Add tests to getTotalPrice

* Add tests to getTotalPrice


Approved-by: Joakim Jäderberg
2025-11-19 14:30:51 +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
Matilda Haneling
624a106964 Merged in fix/book-510-rearrange-special-needs-filter-and-code (pull request #3115)
BOOK-510: updated booking chip/special needs filter order on mobile

* BOOK-510: updated booking chip/special needs filter order on mobile

* BOOK-510: updated the close button to IconButton to fix styling issues on iOS

* book-510: added aria-label

* BOOK-510: refctored solution

* small spacing fixes

* fix(BOOK-510) updated aria-label


Approved-by: Erik Tiekstra
2025-11-19 08:21:42 +00:00
Linus Flood
a1bb07186c Merged in feat/remove-fetch-user (pull request #3173)
feat(booking): remove fetching of user just for logging

* feat(booking): remove fetching of user just for logging


Approved-by: Joakim Jäderberg
Approved-by: Matilda Landström
2025-11-19 08:21: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
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
Hrishikesh Vaipurkar
f23652b929 Merged in feat/BOOK-434-users-should-redirect-to- (pull request #3154)
* feat(BOOK-434): Moved redirect to middleware layer
* feat(BOOK-434): Updated to handle no filters available scenario

Approved-by: Erik Tiekstra
2025-11-14 09:51:44 +00:00
Linus Flood
3d121be74a Merged in feat/book-570-select-rate-scroll (pull request #3160)
feat(BOOK-570): fix scroll issue when selecting a rate for the first time

* feat(BOOK-570): fix scroll issue when selecting a rate for the first time


Approved-by: Joakim Jäderberg
2025-11-14 09:51:29 +00:00
Anton Gunnarsson
289adfe98b Merged in fix/sw-3606-move-heart-icon-to-shared (pull request #3155)
fix(SW-3606): Move heart icon to shared

* Move heart icon to shared


Approved-by: Linus Flood
Approved-by: Matilda Landström
2025-11-14 08:32:45 +00:00
Erik Tiekstra
b0f2276b0b fix(BOOK-559): Using same ContactInformation component on hotel pages and booking flow inside the hotel details sidepeek
Approved-by: Bianca Widstam
2025-11-13 14:32:17 +00:00
Bianca Widstam
f52d210240 Merged in fix/design-system-remove-preamble (pull request #3153)
remove deprecated preamble, replace with typography

* remove deprecated preamble, replace with typography


Approved-by: Linus Flood
2025-11-13 13:56:22 +00:00
Linus Flood
0a513fce9c Merged in feat/book-566-select-rate-design (pull request #3156)
feat(BOOK-566): align rates if room title breaks on two rows

* feat(BOOK-566): align rates if room title breaks on two rows


Approved-by: Anton Gunnarsson
2025-11-13 13:53:36 +00:00
Anton Gunnarsson
6ed5dd1394 Merged in feat/add-config-flag-for-saved-credit-cards (pull request #3151)
feat(SW-3611): Add config flag for saved credit cards

* Add config flag for saved credit cards


Approved-by: Linus Flood
2025-11-13 13:20:05 +00:00
Chuma Mcphoy (We Ahead)
0b28893e71 Merged in feat/LOY-422-new-upcoming-stays (pull request #3121)
feat(LOY-422): Upcoming Stays Redesign

* feat(LOY-422): Upcoming Stays Redesign

* feat(LOY-422): Carousel next/previous arrows

* chore(LOY-422): add new material icon

* refactor(LOY-422): restructure new and old upcoming stays

* fix(LOY-422): handle less than 1 case

* chore(LOY-422): remove uneeded id

* chore(LOY-422): remove intl label for date edge case


Approved-by: Matilda Landström
2025-11-13 13:05:24 +00:00
Bianca Widstam
66fd7696f7 Merged in fix/BOOK-562-update-disabled-color-fields (pull request #3150)
fix(BOOK-562): update disable color

* fix(BOOK-562): update disable color


Approved-by: Matilda Landström
2025-11-13 13:02:51 +00:00
Bianca Widstam
c1cae0db40 Merged in fix/height-input-select-fields (pull request #3146)
fix height value for input and select fields

* fix height value for input and select fields


Approved-by: Joakim Jäderberg
2025-11-13 10:26:58 +00:00
Linus Flood
4b3dbadf24 Merged in feat/sw-3610-basicProfile (pull request #3144)
Feat(SW-3610): basic profile endpoint on protected layouts

* Basic profile in protected layouts

* .


Approved-by: Anton Gunnarsson
2025-11-13 07:35:16 +00:00
Erik Tiekstra
ce469bc4b4 Feat/BOOK-117 svg accessibility
* feat(BOOK-117): Added aria-label to Scandic Friends levels
* feat(BOOK-117): Added aria-label to hotel logos
* feat(BOOK-117): Added alt text to app download images
* feat(BOOK-117): Added same logo component to footer as the one in the header
* feat(BOOK-117): Added aria attributes to icons similar to how we handled MaterialIcon aria attributes

Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-11-13 06:34:18 +00:00
Linus Flood
3a45e6cfe3 Merged in feat/cleanup-logs (pull request #3141)
feat(logs): cleanup of token expired logs

* feat(logs): cleanup of token expired logs


Approved-by: Matilda Landström
2025-11-12 14:52:56 +00:00
Bianca Widstam
f04fc46ba0 Merged in fix/BOOK-485-campaign (pull request #3140)
fix/BOOK-485-campaign-rate-select-rate

* fix/BOOK-485-campaign-rate-select-rate


Approved-by: Linus Flood
2025-11-12 14:33:32 +00:00
Linus Flood
19495eed28 Merged in feat/basic-user (pull request #3135)
feat(SW-3610): Get basic user from api

* feat(SW-3610): Get basic user from api

* .

* Optional profileid


Approved-by: Anton Gunnarsson
2025-11-12 14:00:56 +00:00
Erik Tiekstra
88644597df chore: Replaced deprecated Spacing variables with current values
Approved-by: Matilda Landström
2025-11-12 12:56:22 +00:00
Christel Westerberg
8dce04b931 Merged in fix/STAY-22-GLA-check (pull request #3134)
fix: Let API handle logic for if a booking is guaranteeable or not

* fix: Let API handle logic for if a booking is guaranteeable or not


Approved-by: Bianca Widstam
Approved-by: Erik Tiekstra
2025-11-12 12:40:23 +00:00
Joakim Jäderberg
593cb04a5a Merged in fix/SW-3608-make-user-properties-optional (pull request #3133)
fix(SW-3608): make user properties, that are based on audience, optional

* fix(SW-3608): make user properties, that are based on audience, optional

* fix(SW-3608): make user properties, that are based on audience, optional

* .


Approved-by: Anton Gunnarsson
2025-11-12 12:20:47 +00:00
Anton Gunnarsson
9fbbd3a91b Merged in chore/add-tests-for-getCorporateChequePrice (pull request #3114)
chore: Add tests for getCorporateChequePrice

* Add tests for getRequestedAdditionalPrice

* simplify types

* Add tests for getCorporateChequePrice


Approved-by: Joakim Jäderberg
2025-11-12 08:33:14 +00:00
Bianca Widstam
2c044de187 Merged in feat/BOOK-485-campaign-rate-my-stay (pull request #3120)
feat(BOOK-485): add campaign tag on my stay and update design

* feat(BOOK-485): add campaign tag on my stay and update design

* feat(BOOK-485): update rightAligned


Approved-by: Erik Tiekstra
2025-11-12 08:19:24 +00:00
Linus Flood
78ac93d836 Merged in feat/book-530-selectrate-tracking (pull request #3128)
feat(BOOK-530): fixed noAvailableRooms tracking on select rate page

* feat(BOOK-530): fixed noAvailableRooms tracking on select rate page


Approved-by: Bianca Widstam
2025-11-11 14:17:02 +00:00
Bianca Widstam
9175331e4d Merged in fix/BOOK-499-striketrough-price-total (pull request #3122)
fix(BOOK-499): fix total price strikethrough rate

* fix(BOOK-499): fix total price strikethrough rate


Approved-by: Erik Tiekstra
2025-11-11 14:05:25 +00:00
Joakim Jäderberg
bc5a606289 Merged in feature/turbopack (pull request #3117)
Feature/turbopack

* .

* .

* pin import-in-the-middle

* update marker

* revert back to using *.graphql.ts


Approved-by: Linus Flood
2025-11-11 09:51:40 +00:00
Joakim Jäderberg
0490badbb1 Merged in fix/document-undefined (pull request #3118)
Fix/document undefined

* fix: check if document is undefined

* fix: check if document is undefined


Approved-by: Linus Flood
2025-11-11 07:21:29 +00:00
Erik Tiekstra
c93e2b6f0b feat(BOOK-212): Refactored LoginButton and added successful tracking functionality
Approved-by: Linus Flood
2025-11-11 06:57:49 +00:00
Linus Flood
1b35618eb2 Merged in feat/sw-3596-cache (pull request #3106)
feat(SW-3598): Don't call redis api if cachetime=0

* feat(SW-3596): no cache if ttl=0

* Fixed on set as well

* No cache if redemption

* Revert no cache if redemption


Approved-by: Joakim Jäderberg
2025-11-11 06:52:47 +00:00