Move VSA duration chart components to their own folder
What does this MR do and why?
This merge request reorganizes and renames components related to duration charts in the Value Stream Analytics feature. The main changes include:
- Splitting the duration charts into separate "stage" and "overview" components, moving them to a new "duration_charts" folder.
- Renaming "DurationChart" to "StageChart" and "DurationOverviewChart" to "OverviewChart" for clarity.
- Updating import statements and component references throughout the codebase to reflect these changes.
- Moving chart data constants to a new file within the "duration_charts" folder.
- Updating test files to use the new component names and locations.
These changes aim to improve code organization and make the purpose of each chart component more clear. The functionality of the charts themselves remains largely unchanged.
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Overview chart | Stage chart |
---|---|
How to set up and validate locally
- Seed custom analytics data
FILTER=customizable_cycle_analytics SEED_CUSTOMIZABLE_CYCLE_ANALYTICS=1 bundle exec rake db:seed_fu
- Visit the VSA for the namespace (ex. http://gdk.test:3000/vsmg-1736271627/vsmp-1736271627/-/value_stream_analytics)
- Click the Overview tab and the various stage tabs to ensure that the charts work as expected
Related to #498181