Skip to content

Migrate group VSA filters to project level

Ezekiel Kigbo requested to merge 326701-move-vsa-filters-to-ce into master

What does this MR do?

This MR adds a filter bar to project level VSA, the filters operate on the stage table (list of items) and the the value stream metrics (New commits etc).

In addition, this MR migrates the legacy date dropdown used in project VSA, to use the date range selector that we use in group VSA.

NOTE: the metrics endpoints will be updated in !69197 (merged) so that filtering can be applied

Screenshots or Screencasts (strongly suggested)

Before After After with filters
Screen_Shot_2021-09-03_at_9.02.39_pm Screen_Shot_2021-09-03_at_8.52.54_pm Screen_Shot_2021-09-03_at_8.53.16_pm

How to setup and validate locally (strongly suggested)

  1. Create a project within a group (make sure to initialize the project with a readme, or create it from a template)

  2. Seed some test VSA data

    $ VSA_SEED_PROJECT_ID=<project-id> VSA_ISSUE_COUNT=10 SEED_VSA=true FILTER=cycle_analytics rake db:seed_fu
  3. Navigate to value stream analytics for the project, ie for a project named clean-vsa-project in group new-vsa-group it would be http:///new-vsa-group/clean-vsa-project/-/value_stream_analytics (or find it in the left menu)

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 #326701 (closed)

Edited by Ezekiel Kigbo

Merge request reports