Skip to content

[VSA][FE] Introduce a default value stream

What does this MR do?

As part of our migration to bring UI and feature parity to project and group value stream analytics, we need to introduce the concept of a value stream to project level vsa. Previously project VSA worked on the assumption of only a single value stream being available, but we will eventually want to allow users to access multiple value streams similar to what is currently available at the group level.

The new endpoints are of the form:

  • /(project-full-path)/-/analytics/value_stream_analytics/value_streams
  • /(project-full-path)/-/analytics/value_stream_analytics/value_streams/default/stages

This MR:

  • Adds a request for a default value stream to project VSA
  • Adds a new request to fetch the value stream stages from the backend, replacing the hard coded stages
  • Adds a new module for project VSA api requests
  • Updates related specs

NOTE: there are lots of improvements that could be made to the templates, but they will mostly be replaced in %14.1 and provide no worse experience than we currently have.

Testing

Navigate to project level value stream analytics and the page should load, for example: http://gdk.test:3001/gitlab-org/gitlab-shell/-/value_stream_analytics

If you dont' have any locally data there will be an error message.

Screenshots (strongly suggested)

No visual changes

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #326705 (closed)

Edited by Ezekiel Kigbo

Merge request reports

Loading