Skip to content

Restructure DORA chart components

Nathan Friend requested to merge nfriend-restructure-dora-charts into master

What does this MR do?

Restructures the DORA 4 chart components.

Currently, these charts are only shown at the project-level. As part of #291748 (closed), we'll be showing these same charts at the group level. This restructuring moves the charts so that they can be used in both places.

No changes are made to the files other than moving them around and updating import paths.

Specific changes

The main changes are:

  • The chart components in ee/projects/pipelines/charts/components/*_charts.vue have been moved to ee/dora/components/*_charts.vue
  • The wrapper components in ~/projects/pipelines/charts/components/ci_cd_analytics_*.vue have been moved to ~/vue_shared/components/ci_cd_analytics/ci_cd_analytics_*.vue
    • These components are used by both CE and EE, which is why I've moved them to vue_shared

Supporting files and test files have also been moved with these components.

Screenshots

This MR makes no user-facing changes. Here's a quick GIF to demonstrate the page still works as expected:

2021-04-29_15.23.55

Related to #291748 (closed)

Edited by Nathan Friend

Merge request reports