Skip to content

Separation of Journeys

Overview

The "Account Overview" project integrates the "BYOL" (Bring Your Own License) feature, referred to as "Connect," into the existing repository. This approach avoids creating a new application and ensures a cohesive development process. For reference, see the Account Overview Repo Split.

Journeys in Account Overview

The Account Overview will encompass two distinct user journeys:

  1. On-Platform Journey: Users remain on the Account Overview platform, select a product, and complete their actions within the platform.
  2. Off-Platform Journey: Users connect Statista to partner platforms, such as Perplexity, enabling seamless integration.

Purpose

The separation of journeys is designed to achieve the following objectives:

  • Clear Separation of Concerns: Ensures that each journey is self-contained and logically organized.
  • Improved Testability: Facilitates focused and efficient testing for each journey.
  • Scalability for Test Execution: Allows for potential splitting of test execution needs in the future.
  • Avoidance of Code Overlap: Prevents unnecessary dependencies and duplication of code between journeys.
  • Reduction of Technical Debt: Promotes maintainable and clean code practices, reducing long-term technical debt.

Development Guidelines

To ensure clarity and maintainability, the following guidelines have been established:

  • The "BYOL" feature is named "Connect".
  • The "Connect" route will include dedicated components and helpers/services folders for explicit organization of Connect-related code.
  • Code reuse is encouraged. Any code shared across journeys must be abstracted to work universally for all journeys.
  • The root components, helpers, and services structure will be iteratively refined to enhance clarity and organization.
  • Code restructuring will be performed incrementally, avoiding large-scale changes at once.