Skip to content

Cycle Analytics 'Tasks by Type' Chart Filters

Ezekiel Kigbo requested to merge 33604-tasks-by-type-chart-filters into master

What does this MR do?

This MR is part of #33604 (closed)

Adds filters for the task by type chart, providing the ability to filter by subject (issues / merge requests) and add / remove labels from the chart.

️ By default, this chart generates units using engineering notation, I've raised an issue about this

Testing

This MR requires 1 feature flag and 2 license flags to be enabled:

  • Feature flag: tasks_by_type_chart
  • Licenses flags: cycle_analytics_for_groups, type_of_work_analytics

You will probably need to also seed some data

SEED_CYCLE_ANALYTICS=true bundle exec rake db:seed_fu FILTER=cycle_analytics

NOTE: There are known issues with seeding CA data

  1. Navigate to /-/analytics/cycle_analytics
  2. Select a group
  3. Scroll to the bottom of the page once all data has loaded

Screenshots

Filters closed Filters open
Screen_Shot_2020-01-16_at_5.54.22_pm Screen_Shot_2020-01-16_at_5.54.29_pm

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

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

Edited by Ezekiel Kigbo

Merge request reports