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
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
chore: Refactor types and add tests to parts of price calcuations
* Add tests to sumPackages
* Refactor types and add tests to getAdditionalPrice
* Don't always generate coverage
* Add tests and refactor types of getRedemptionPrice
Approved-by: Joakim Jäderberg
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
feat(SW-3541): Do social login after login to SAS
* feat(auth): wip social login via curity
* Setup social login auth flow
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/curity-social-login
* Added support for getting scandic tokens and refresh them
* feat: Enhance social login and session management with auto-refresh and improved error handling
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/curity-social-login
* wrap layout in suspense
* revert app/layout.tsx
* fix import
* cleanup
* merge
* merge
* dont pass client_secret in the url to curity
* add state validation when doing social login through /authorize
* remove debug logging
Approved-by: Anton Gunnarsson
feat(BOOK-401): redirect-service with tests and typings
* Switch to typescript
* add new dependencies for tests and typescript
* Switch to typescript
* add new dependencies for tests and typescript
* rewrite to typescript and include tests
* rewrite to typescript and include tests
* refactor: update README and scripts for CSV handling; rename update script to generate
* include csv-data folder
Approved-by: Linus Flood
feat(SW-2782): Updated header as per design, added language switcher and user menu
* feat(SW-2782): Updated header as per design, added language switcher and user menu
* feat(SW-2782): Updated UI as per design
* feat(SW-2782): Optimised code with use of Popover and modal from RAC
Approved-by: Anton Gunnarsson
Feat/SW-3461 setup auth with sas eurobonus
* feat(SW-3461): Setup auth for sas eurobonus
* .
* feat: setup auth towards SAS
* Fix auth via SAS and add logout route
* .
* merge
* auth via SAS
* fix powered by scandic logo
* Merge branch 'master' of bitbucket.org:scandic-swap/web into feat/SW-3461-setup-auth-with-sas-eurobonus
* Include access_token in jwt after successful login
* merge
Approved-by: Anton Gunnarsson
SW-3467 Copy static files via build scripts
* add file copy script and add all fonts to design-system
* add file copy script and add all fonts to design-system
* add file copy script and add all fonts to design-system
* remove fonts that will be copied via build scripts
* wip
* update paths to shared files
* update material-symbol script
* merge
* fix missing shared segment for path in fonts.css
Approved-by: Linus Flood
chore(SW-3397) Moved Confirmation component with Header to booking-flow package
* chore(SW-3397) Moved Confirmation component with Header to booking-flow package
* chore(SW-3397): Optimised code
Approved-by: Anton Gunnarsson
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
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/linting booking flow
* fix import issues and add lint check no-extraneous-dependencies
* fix use type HotelType instead of string
* add no-extraneous-dependencies lint check to booking-flow
Approved-by: Anton Gunnarsson
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
feat(SW-3225): Move ParkingInformation to design-system
* Inline ParkingInformation types to remove trpc dependency
* Move ParkingInformation to design-system
* Move numberFormatting to common package
* Add deps to external
* Fix imports and i18n script
* Add common as dependency
* Merge branch 'master' into feat/sw-3225-move-parking-information-to-booking-flow
Approved-by: Linus Flood
feat: SW-3145 Moved date component to design system
* chore: SW-3145 Moved date component to design system
Approved-by: Anton Gunnarsson
Approved-by: Matilda Landström
chore/SW-3145 Moved Phone to design system
* chore/SW-3145 Moved Phone to design system
* chore: SW-3145 Moved phone and removed intl direct dependency
Approved-by: Anton Gunnarsson
feat(SW-2333): I18n for multiple apps and packages
* Set upp i18n in partner-sas
* Adapt lokalise workflow to monorepo
* Fix layout props
Approved-by: Linus Flood