Skip to content

[FE] Visualize Tasks by Type in Customizable Cycle Analytics

What does this MR do?

This MR adds the tasks by type chart, this MR only covers rendering the chart. Filters for labels and the type of tasks will be added in a follow up MR.

  • Adds the UI for the tasks by type chart
  • As per !21113 (comment 254350139), update isLoadingTasksByTypeChart flag
  • Specs to ensure the chart is not rendered with the flag off

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

Steps

  1. Enable the required feature flags, and ensure you have the appropriate license
  2. Navigate to cycle analytics in the analytics space, ie http://localhost:3001/-/analytics/cycle_analytics
  3. Select a group from the dropdown

The chart should render at the bottom of the page.

Screenshots

With data available No data available feature flag disabled
Screen_Shot_2020-01-10_at_7.35.31_pm Screen_Shot_2020-01-10_at_7.36.03_pm Screen_Shot_2020-01-10_at_7.41.31_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