Replace deprecated <Body> with <Typography>
* chore: replace deprecated body component
* refactor: replace Body component with Typography across various components
* merge
Approved-by: Bianca Widstam
Approved-by: Matilda Landström
Counter name is now searchable and add counter for redirects
* refactor: createCounter() only takes one argument, the name of the counter. Makes it easier to search for
* feat: add counter when we do a redirect from redirect-service
Approved-by: Linus Flood
feat(BOOK-595): fixed correct tracking values and enter details pageview tracking
* feat(BOOK-595): fixed correct tracking values and enter details pageview tracking
* Fixed on SAS as well
Approved-by: Joakim Jäderberg
chore: Migrate from next lint to eslint
* Migrate scandic-web
* Migrate partner-sas
* Enable any rule in partner-sas
Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
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
fix(sas auth): remove session when we get a RefreshAccessTokenError
* fix(sas auth): remove session when we get a RefreshAccessTokenError
Approved-by: Linus Flood
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
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
fix(SW-3607): Add missing CSS variables for mobile menu positioning
* Add missing CSS variables for mobile menu positioning
Approved-by: Joakim Jäderberg
feature(SAS): add simple url for entering the booking flow /[lang]/book-hotel/[city]
* Merged in fix/book-115-hidden-focus-indicators (pull request #2925)
Fix/book 115 hidden focus indicators
* added focus ring to "how it works" text and close button in modal
* fix(BOOK-115): added focus ring to Hotel Sidepeek close button
* fix(BOOK-115): enabled selecting ancillaries with keyboard nav
* fix(BOOK-115): added focus indicator to "View and print receipt" in Manage Stay
* fix(BOOK-105 & BOOK-115): combined the two radio groups in payment selection to one, fixes focus indicator issue
* fix(BOOK-115): added focus indicator to shortcut links
* fix(BOOK-115): updated ancillaries keyboard selection
* fix(BOOK-115): removed tabIndex from Link component
* fix(BOOK-115): fixed single payment radio button not focusable
* fix(BOOK-115): updated to onKeyDown
* added id to "credit card"
* removed toUpperCase() on lables
* removed brackets
* moved the focus indicator to the DS Button component
* removed !important from ButtonLink css
* changed <label> to <fieldset> and <legend> and added aria…
* Merged in feat/sw-3596-console (pull request #3100)
feat(SW-3596): added lint rule for no console.log. Use logger instead.
* feat(SW-3596): added lint rule for no console.log. Use logger instead.
Approved-by: Joakim Jäderberg
* Merged in fix/BOOK-457-select-rate-lowestroomprice- (pull request #3061)
* Fix(BOOK-457): Reduced lowestRoomPrice tracking call from multiple times to one
* fix(BOOK-457): feat(SW-3590): Included RoomsLoadedEvent on select-rate page
Approved-by: Linus Flood
* Merged in feature/SW-3506-refresh-tokens (pull request #3064)
feature(SW-3506): refresh-tokens setup for SAS Eurobonus
* feature(SW-3506): refresh-tokens setup for SAS Eurobonus
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/SW-3506-refresh-tokens
Approved-by: Anton Gunnarsson
* Merged in feat/BOOK-434-users-should-redirect-to- (pull request #3087)
* feat(BOOK-434): Redirect user to city/country page if wrong filter url
* feat(BOOK-434): Handled map view
Approved-by: Erik Tiekstra
* Merged in fix/SW-3553-logged-in-details- (pull request #3073)
* fix(SW-3553): Fixed screen scolled & locked on click of menu
Approved-by: Joakim Jäderberg
* Merged in feat/book-522-align (pull request #3101)
feat(BOOK-522): align items in topmenu, header and booking widget
* feat(BOOK-522): align items in topmenu, header and booking widget
* Delete old css variable and use new
* Fixed underline on icons
Approved-by: Erik Tiekstra
* Merged in fix/LOY-444-points-to-keep-left-text (pull request #3086)
fix(LOY-444): fix markerLabel text when left aligned
* fix(LOY-444): fix markerLabel text when left aligned
Approved-by: Matilda Landström
* Merged in chore/replace-graphql-tag/loader (pull request #3096)
Use turbopack for dev builds.
Remove graphql-tag/loader, replaced by gql`` tag literals instead.
Approved-by: Linus Flood
* Merged in fix/system-fragment (pull request #3102)
fix: faulty system fragment
* fix: faulty system fragment
Approved-by: Linus Flood
* fix(BOOK-498): removed and changed z-index values to have booking widget overlapping correctly on mobile.
Approved-by: Bianca Widstam
Approved-by: Hrishikesh Vaipurkar
* Merged in revert-gql (pull request #3104)
Revert gql
* Revert "Merged in fix/system-fragment (pull request #3102)"
This reverts commit 0d479eb337.
* Revert "Merged in chore/replace-graphql-tag/loader (pull request #3096)"
This reverts commit e9bd159e98.
* Merged in fix/BOOK-438-breadcrumbs-seo-filter (pull request #3103)
feat(BOOK-438): add breadcrumbs on seofilter pages
* feat(BOOK-438): add breadcrumbs on seofilter pages
* feat(BOOK-438): remove unused function
Approved-by: Hrishikesh Vaipurkar
* Merged in chore/regular-price-tests (pull request #3075)
chore: Add tests for regular price calculations
* Add tests for calculateRegularPrice
* Add tests for getRegularPrice
* Add multiroom test
Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
* Merged in fix/wrap-webviews-with-sessionprovider (pull request #3111)
Wrap webviews with SessionProvider
* wrap webviews with sessionprovider
Approved-by: Linus Flood
* feat(BOOK-488): Trimming booking code before validating
Approved-by: Bianca Widstam
* feat(BOOK-472): Different placement of no availability alert on mobile viewports
Approved-by: Bianca Widstam
* Merged in feat/sw-3601-hookfix (pull request #3113)
Feat(SW-3601): useIsUserLoggedIn needs to check webview token
* fix(SW-3601): useIsUserLoggedIn needs to check webview token
* Check if we have webview token as well
* .
Approved-by: Joakim Jäderberg
* Merged in fix/add-missing-partner-data (pull request #3116)
fix: Add param to getScandicUser for extended data
* Add param to getScandicUser for extended data
Approved-by: Linus Flood
* 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
* feat(BOOK-212): Refactored LoginButton and added successful tracking functionality
Approved-by: Linus Flood
* 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
* Merged in feat/sw-3604-webviews (pull request #3123)
feat(SW-3604): wrap mystay with bookingflowconfig
* feat(SW-3604): wrap mystay with bookingflowconfig
Approved-by: Joakim Jäderberg
* 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
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/simple-sas-book-url
feature(SW-3506): refresh-tokens setup for SAS Eurobonus
* feature(SW-3506): refresh-tokens setup for SAS Eurobonus
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/SW-3506-refresh-tokens
Approved-by: Anton Gunnarsson
feat(SW-3596): added lint rule for no console.log. Use logger instead.
* feat(SW-3596): added lint rule for no console.log. Use logger instead.
Approved-by: Joakim Jäderberg
chore: No need to sort dictionary files anymore now that we have man-made IDs
* No need to sort dictionary files anymore now that we have man-made IDs
Approved-by: Erik Tiekstra
Approved-by: Linus Flood
Use tsgo for typechecking
* switch to tsgo for type-checking
* Merged in chore/remove-cypress (pull request #3066)
chore: remove unused dependencies
* chore: remove cypress
* remove unused deps
* update yarn.lock after removing unused deps
Approved-by: Anton Gunnarsson
* use tsgo for typechecking
* use tsgo for type-checking
* yarn install
* fix(BOOK-496): Slowed down the MarqueeText component animation
Approved-by: Matilda Landström
* switch to tsgo for type-checking
* use tsgo for typechecking
* use tsgo for type-checking
* yarn install
* Merge branch 'feature/tsgo' of bitbucket.org:scandic-swap/web into feature/tsgo
* switch to use yarn check-types in lint-staged
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/tsgo
Approved-by: Linus Flood
feat(SW-3581): Set price colors to scandic red
* Set price colors to scandic red
* Remove comment
Approved-by: Bianca Widstam
Approved-by: Joakim Jäderberg
fix(SW-3578): Fixed session issue when sas session expires
* fix(SW-3578): Fixed session issue when sas session expires
* base socialLogin auto-features on validSession and being linked
* remove unused object
* remove 'import server-only' for isValidSession() since it's only using passed data
* remove isValidClientSession()
Approved-by: Joakim Jäderberg
Approved-by: Anton Gunnarsson