Skip to content

Prevent errors when Cycle Analytics has no data - EE

This MR is the first step in introducing the new Group Level Cycle Analytics.

The existing code is going to be used for the next iteration of this feature but the user experience will be different;

Currently, you can access Cycle Analytics by browsing to a project and then selecting the feature from the LHS navigation menu. This will then render the Cycle Analytics page for that specific project. The new feature will be accessed by a global Analytics menu item in the top navigation. Once this item has been selected, the feature will load with an empty state.

In order to make use of the current code, we need to allow the Vue application to load without the request URL of a project being passed in (as it currently is). This MR enables us to simply render the Vue application blank - which is the first step in allowing us to initialise the the code with or without predefined data.

It is a part of a larger MR which enables fetching the data on demand for groups and their projects: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14394

Parent issue: https://gitlab.com/gitlab-org/gitlab-ee/issues/12078

Edited by Brandon Labuschagne

Merge request reports