Commit bea8d2af authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch '210061-feature-flag-enable-value-stream-analytics-tasks-by-type-chart' into 'master'

Default `tasks_by_type_chart` feature flag to true

Closes #210061

See merge request gitlab-org/gitlab!28486
parents b9103948 45fbfb9d
......@@ -280,6 +280,28 @@ administrator can open a Rails console and disable it with the following command
Feature.disable(:cycle_analytics_scatterplot_median_enabled)
```
## Type of work - Tasks by type chart
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/32421) in GitLab 12.10.
This chart shows a cumulative count of issues and merge requests per day.
This chart uses the global page filters for displaying data based on the selected
group, projects, and timeframe. The chart defaults to showing counts for issues but can be
toggled to show data for merge requests and further refined for specific group-level labels.
By default the top group-level labels (max. 10) are pre-selected, with the ability to
select up to a total of 15 labels.
### Disabling chart
This chart is enabled by default. If you have a self-managed instance, an
administrator can open a Rails console and disable it with the following command:
```ruby
Feature.disable(:tasks_by_type_chart)
```
## Permissions
The current permissions on the Project Value Stream Analytics dashboard are:
......
......@@ -10,7 +10,7 @@ class Analytics::CycleAnalyticsController < Analytics::ApplicationController
push_frontend_feature_flag(:customizable_cycle_analytics, default_enabled: true)
push_frontend_feature_flag(:cycle_analytics_scatterplot_enabled, default_enabled: true)
push_frontend_feature_flag(:cycle_analytics_scatterplot_median_enabled, default_enabled: true)
push_frontend_feature_flag(:tasks_by_type_chart)
push_frontend_feature_flag(:tasks_by_type_chart, default_enabled: true)
end
before_action :load_group, only: :show
......
......@@ -12,7 +12,7 @@ class Groups::Analytics::CycleAnalyticsController < Groups::Analytics::Applicati
push_frontend_feature_flag(:customizable_cycle_analytics, default_enabled: true)
push_frontend_feature_flag(:cycle_analytics_scatterplot_enabled, default_enabled: true)
push_frontend_feature_flag(:cycle_analytics_scatterplot_median_enabled, default_enabled: true)
push_frontend_feature_flag(:tasks_by_type_chart)
push_frontend_feature_flag(:tasks_by_type_chart, default_enabled: true)
end
before_action :load_group, only: :show
......
---
title: Default the :tasks_by_type_chart feature flag on
merge_request: 28486
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment