Commit df76f97d authored by Stan Hu's avatar Stan Hu

Merge branch '294190-default-on-extended-create-value-stream-form-ff' into 'master'

Default enable extended create value stream form

See merge request gitlab-org/gitlab!55572
parents afa5c2a9 bfd4805e
...@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/294190 ...@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/294190
milestone: '13.7' milestone: '13.7'
type: development type: development
group: group::optimize group: group::optimize
default_enabled: false default_enabled: true
...@@ -59,7 +59,7 @@ To filter results: ...@@ -59,7 +59,7 @@ To filter results:
1. Select a parameter to filter by. 1. Select a parameter to filter by.
1. Select a value from the autocompleted results, or type to refine the results. 1. Select a value from the autocompleted results, or type to refine the results.
![Value stream analytics filter bar](img/vsa_filter_bar_v13.3.png "Active filter bar for value stream analytics") ![Value stream analytics filter bar](img/vsa_filter_bar_v13_3.png "Active filter bar for value stream analytics")
### Date ranges ### Date ranges
...@@ -299,10 +299,59 @@ To create a value stream: ...@@ -299,10 +299,59 @@ To create a value stream:
1. Navigate to your group's **Analytics > Value Stream**. 1. Navigate to your group's **Analytics > Value Stream**.
1. Click the Value stream dropdown and select **Create new Value Stream** 1. Click the Value stream dropdown and select **Create new Value Stream**
1. Fill in a name for the new Value Stream 1. Fill in a name for the new Value Stream
- You can [customize the stages](#creating-a-value-stream-with-stages) as the `value_stream_analytics_extended_form` feature flag is enabled.
1. Click the **Create Value Stream** button. 1. Click the **Create Value Stream** button.
![New value stream](img/new_value_stream_v13_3.png "Creating a new value stream") ![New value stream](img/new_value_stream_v13_3.png "Creating a new value stream")
#### Creating a value stream with stages
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55572) in GitLab 13.10.
> - It's [deployed behind a feature flag](../../feature_flags.md), enabled by default.
> - It's enabled on GitLab.com.
> - For GitLab self-managed instances, GitLab administrators can opt to [disable it](../../../administration/feature_flags.md). **(FREE SELF)**
WARNING:
This feature might not be available to you. Check the **version history** note above for details.
You can create value streams with stages, starting with a default or a blank template. You can
add stages as desired.
To create a value stream with stages:
1. Navigate to your group's **Analytics > Value Stream**.
1. Find and select the Value Stream dropdown. Select **Create new Value Stream**.
1. Select either **Create from default template** or **Create from no template**.
- Default stages in the value stream can be hidden or re-ordered
![Default stage actions](img/vsa_default_stage_v13_10.png "Default stage actions")
- New stages can be added by clicking the 'Add another stage' button
- The name, start and end events for the stage can be selected
![Custom stage actions](img/vsa_custom_stage_v13_10.png "Custom stage actions")
1. Select the **Create Value Stream** button to save the value stream.
![Extended create value stream form](img/extended_value_stream_form_v13_10.png "Extended create value stream form")
#### Enable or disable value stream with stages
Value streams with stages is under development but ready for production use.
It is deployed behind a feature flag that is **enabled by default**.
[GitLab administrators with access to the GitLab Rails console](../../../administration/feature_flags.md)
can opt to disable it.
To enable it:
```ruby
# For the instance
Feature.enable(:value_stream_analytics_extended_form)
```
To disable it:
```ruby
# For the instance
Feature.disable(:value_stream_analytics_extended_form)
```
### Deleting a value stream ### Deleting a value stream
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/221205) in GitLab 13.4. > [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/221205) in GitLab 13.4.
...@@ -314,7 +363,7 @@ To delete a custom value stream: ...@@ -314,7 +363,7 @@ To delete a custom value stream:
1. Click the **Delete (name of value stream)**. 1. Click the **Delete (name of value stream)**.
1. Click the **Delete** button to confirm. 1. Click the **Delete** button to confirm.
![Delete value stream](img/delete_value_stream_v13.4.png "Deleting a custom value stream") ![Delete value stream](img/delete_value_stream_v13_4.png "Deleting a custom value stream")
## Days to completion chart ## Days to completion chart
......
...@@ -15,7 +15,7 @@ class Groups::Analytics::CycleAnalyticsController < Groups::Analytics::Applicati ...@@ -15,7 +15,7 @@ class Groups::Analytics::CycleAnalyticsController < Groups::Analytics::Applicati
before_action do before_action do
push_frontend_feature_flag(:cycle_analytics_scatterplot_enabled, default_enabled: true) push_frontend_feature_flag(:cycle_analytics_scatterplot_enabled, default_enabled: true)
push_frontend_feature_flag(:value_stream_analytics_path_navigation, @group) push_frontend_feature_flag(:value_stream_analytics_path_navigation, @group)
push_frontend_feature_flag(:value_stream_analytics_extended_form, @group) push_frontend_feature_flag(:value_stream_analytics_extended_form, @group, default_enabled: :yaml)
render_403 unless can?(current_user, :read_group_cycle_analytics, @group) render_403 unless can?(current_user, :read_group_cycle_analytics, @group)
end end
......
---
title: Default enable the extended VSA form
merge_request: 55572
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