Sync defaultMessage from lokalise
* Enhance translation sync functionality and tests
- Added logging for found component files during sync.
- Introduced tests for handling complex components with replacements.
- Updated regex in syncIntlFormatMessage to support optional second arguments.
- Removed unused test files.
* feat(syncDefaultMessage): add script for syncing default message with lokalise
* feat(syncDefaultMessage): add script for syncing default message with lokalise
Approved-by: Matilda Landström
fix: wrap MyStay component in BookingFlowConfig to handle RSC problem where config is not set
* fix: wrap MyStay component in BookingFlowConfig to handle RSC problem where config is not set
Approved-by: Bianca Widstam
Feat/LOY-377 margin top
* changed Title to Typography, added some css
* feat(LOY-377): Changed variants based on isUserLoggedIn in LoyaltyPageBreadcrubs and removed the previous added padding
* feat(LOY-377): Changed p to h1. Sends the variants to the skeleton aswell
Approved-by: Linus Flood
Approved-by: Matilda Landström
* feat(BOOK-54): Destination filters now matching on id instead of slug in preparation for filters from Contentstack
Approved-by: Chuma Mcphoy (We Ahead)
fix(STAY-67): redirect to webview after guarantee on my stay
* fix(STAY-67): redirect to webview after guarantee on my stay
* fix(STAY-67): add callback page for guarantee on webview
Approved-by: Linus Flood
Setup booking-confirmation page in SAS
* Setup booking-confirmation page in SAS
move booking-confirmation tracking to booking-flow
* remove unused param
* Add test cards to documentation
* Fix payment callback page to use correct status
Approved-by: Anton Gunnarsson
Approved-by: Hrishikesh Vaipurkar
Chore/SW-2878 extract booking confirmation pag
* chore(SW-2878): Moved booking confirmation page to booking-flow package
* chore(SW-2878): Fixed promo styles as per design
* chore(SW-2878): Kept tiny duplicate function to avoid export from booking-flow package
Approved-by: Anton Gunnarsson
fix(SW-3198): fix striketrhough/regular prices, the same in enter details as select rate
* fix(SW-3198): fix striketrhough/regular prices, the same in enter details as select rate
* fix(SW-3198): remove additonalcost if calculating cost per room
* fix(SW-3198): include bookingcode in specialrate
* fix(SW-3198): remove console log
* fix(SW-3198): add or operator
* fix(SW-3198): capture total return value
* fix(SW-3198): rename and move function
Approved-by: Joakim Jäderberg
Approved-by: Hrishikesh Vaipurkar
Feature/SW-3365 reduce upscaling of images (fix blurry images)
* fix: handle when images are wider than 3:2 but rendered in a 3:2 container
* use dimensions everywhere applicable
* fall back to using <img sizes='auto' /> if possible
* imageLoader: never nest
* remove empty test file
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
feat(SW-2873): Move select-hotel to booking flow
* crude setup of select-hotel in partner-sas
* wip
* Fix linting
* restructure tracking files
* Remove dependency on trpc in tracking hooks
* Move pageview tracking to common
* Fix some lint and import issues
* Add AlternativeHotelsPage
* Add SelectHotelMapPage
* Add AlternativeHotelsMapPage
* remove next dependency in tracking store
* Remove dependency on react in tracking hooks
* move isSameBooking to booking-flow
* Inject searchParamsComparator into tracking store
* Move useTrackHardNavigation to common
* Move useTrackSoftNavigation to common
* Add TrackingSDK to partner-sas
* call serverclient in layout
* Remove unused css
* Update types
* Move HotelPin type
* Fix todos
* Merge branch 'master' into feat/sw-2873-move-selecthotel-to-booking-flow
* Merge branch 'master' into feat/sw-2873-move-selecthotel-to-booking-flow
* Fix component
Approved-by: Joakim Jäderberg
Feature/SW-3327 move hotel info card to design system
* wip
* wip
* wip
* wip moving hotelinfocard
* add controls for HotelInfoCard in storybook
* merge
Approved-by: Anton Gunnarsson
SW-3317 move toast to design system
* chore: Move toast to design-system and add interaction tests
* Move toast to design-system and add storybook tests
* Merge branch 'master' of bitbucket.org:scandic-swap/web into SW-3317-move-toast-to-design-system
* merge
* move sonner dependency to @scandic-hotels/design-system
Approved-by: Anton Gunnarsson
fix(SW-1655): update design tripadvisor on hotel map card
* fix(SW-1655): update design tripadvisor on hotel map card
* fix(SW-1655): update radius
* fix(SW-1655): use tripadvisor chip, create different variants
* fix(SW-1655): update variants, storybook, and global css
Approved-by: Joakim Jäderberg
SW-3270 move interactive map to design system or booking flow
* wip
* wip
* merge
* wip
* add support for locales in design-system
* add story for HotelCard
* setup alias
* .
* remove tracking from design-system for hotelcard
* pass isUserLoggedIn
* export design-system-new-deprecated.css from design-system
* Add HotelMarkerByType to Storybook
* Add interactive map to Storybook
* fix reactintl in vitest
* rename env variables
* .
* fix background colors
* add storybook stories for <Link />
* merge
* fix tracking for when clicking 'See rooms' in InteractiveMap
* Merge branch 'master' of bitbucket.org:scandic-swap/web into SW-3270-move-interactive-map-to-design-system-or-booking-flow
* remove deprecated comment
Approved-by: Anton Gunnarsson
Feature/select rate vertical data flow
* add fix from SW-2666
* use translations for room packages
* move types to it's own file
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/select-rate-vertical-data-flow
* merge
* feature/select-rate: double rate for campaing rates
* revert NODE_ENV check in Cookiebot script
* revert testing values
* fix(SW-3171): fix all filter selected in price details
* fix(SW-3166): multiroom anchoring when changing filter
* fix(SW-3172): check hotelType, show correct breakfast message
* Merge branch 'feature/select-rate-vertical-data-flow' of bitbucket.org:scandic-swap/web into feature/select-rate-vertical-data-flow
* fix: show special needs icons for subsequent roomTypes SW-3167
* fix: Display strike through text when logged in SW-3168
* fix: Reinstate the scrollToView behaviour when selecting a rate SW-3169
* merge
* .
* PR fixes
* fix: don't return notFound()
* .
* always include defaults for room packages
* merge
* merge
* merge
* Remove floating h1 for new select-rate
Approved-by: Anton Gunnarsson