Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7c82f39a
Commit
7c82f39a
authored
Oct 21, 2020
by
Simon Knox
Committed by
Heinrich Lee Yu
Oct 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add docs for burnup feature flag
Copied content from dev docs
parent
cbfc5023
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
40 additions
and
9 deletions
+40
-9
app/controllers/groups/milestones_controller.rb
app/controllers/groups/milestones_controller.rb
+1
-1
app/controllers/projects/milestones_controller.rb
app/controllers/projects/milestones_controller.rb
+1
-1
config/feature_flags/development/burnup_charts.yml
config/feature_flags/development/burnup_charts.yml
+2
-2
doc/user/project/milestones/burndown_and_burnup_charts.md
doc/user/project/milestones/burndown_and_burnup_charts.md
+27
-1
ee/app/controllers/groups/iterations_controller.rb
ee/app/controllers/groups/iterations_controller.rb
+1
-1
ee/app/controllers/projects/iterations/inherited_controller.rb
...p/controllers/projects/iterations/inherited_controller.rb
+1
-1
ee/app/controllers/projects/iterations_controller.rb
ee/app/controllers/projects/iterations_controller.rb
+1
-1
ee/app/models/ee/milestone.rb
ee/app/models/ee/milestone.rb
+1
-1
ee/changelogs/unreleased/psi-enable-burnup-charts.yml
ee/changelogs/unreleased/psi-enable-burnup-charts.yml
+5
-0
No files found.
app/controllers/groups/milestones_controller.rb
View file @
7c82f39a
...
@@ -6,7 +6,7 @@ class Groups::MilestonesController < Groups::ApplicationController
...
@@ -6,7 +6,7 @@ class Groups::MilestonesController < Groups::ApplicationController
before_action
:milestone
,
only:
[
:edit
,
:show
,
:update
,
:issues
,
:merge_requests
,
:participants
,
:labels
,
:destroy
]
before_action
:milestone
,
only:
[
:edit
,
:show
,
:update
,
:issues
,
:merge_requests
,
:participants
,
:labels
,
:destroy
]
before_action
:authorize_admin_milestones!
,
only:
[
:edit
,
:new
,
:create
,
:update
,
:destroy
]
before_action
:authorize_admin_milestones!
,
only:
[
:edit
,
:new
,
:create
,
:update
,
:destroy
]
before_action
do
before_action
do
push_frontend_feature_flag
(
:burnup_charts
,
@group
)
push_frontend_feature_flag
(
:burnup_charts
,
@group
,
default_enabled:
true
)
end
end
feature_category
:issue_tracking
feature_category
:issue_tracking
...
...
app/controllers/projects/milestones_controller.rb
View file @
7c82f39a
...
@@ -7,7 +7,7 @@ class Projects::MilestonesController < Projects::ApplicationController
...
@@ -7,7 +7,7 @@ class Projects::MilestonesController < Projects::ApplicationController
before_action
:check_issuables_available!
before_action
:check_issuables_available!
before_action
:milestone
,
only:
[
:edit
,
:update
,
:destroy
,
:show
,
:issues
,
:merge_requests
,
:participants
,
:labels
,
:promote
]
before_action
:milestone
,
only:
[
:edit
,
:update
,
:destroy
,
:show
,
:issues
,
:merge_requests
,
:participants
,
:labels
,
:promote
]
before_action
do
before_action
do
push_frontend_feature_flag
(
:burnup_charts
,
@project
)
push_frontend_feature_flag
(
:burnup_charts
,
@project
,
default_enabled:
true
)
end
end
# Allow read any milestone
# Allow read any milestone
...
...
config/feature_flags/development/burnup_charts.yml
View file @
7c82f39a
---
---
name
:
burnup_charts
name
:
burnup_charts
introduced_by_url
:
introduced_by_url
:
rollout_issue_url
:
rollout_issue_url
:
https://gitlab.com/gitlab-org/gitlab/-/issues/268350
group
:
group::project management
group
:
group::project management
type
:
development
type
:
development
default_enabled
:
fals
e
default_enabled
:
tru
e
doc/user/project/milestones/burndown_and_burnup_charts.md
View file @
7c82f39a
...
@@ -103,7 +103,14 @@ Reopened issues are considered as having been opened on the day after they were
...
@@ -103,7 +103,14 @@ Reopened issues are considered as having been opened on the day after they were
## Burnup charts
## Burnup charts
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/6903) in [GitLab Starter](https://about.gitlab.com/pricing/) 13.5.
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/6903) in [GitLab Starter](https://about.gitlab.com/pricing/) 13.5.
> - It's [deployed behind a feature flag](../../feature_flags.md), enabled by default.
> - It's enabled on GitLab.com.
> - It's recommended for production use.
> - For GitLab self-managed instances, GitLab administrators can opt to [disable it](#enable-or-disable-burnup-charts). **(STARTER ONLY)**
CAUTION:
**Warning:**
This feature might not be available to you. Check the
**version history**
note above for details.
Burnup charts show the assigned and completed work for a milestone.
Burnup charts show the assigned and completed work for a milestone.
...
@@ -129,6 +136,25 @@ Burnup charts can show either the total number of issues or total weight for eac
...
@@ -129,6 +136,25 @@ Burnup charts can show either the total number of issues or total weight for eac
day of the milestone. Use the toggle above the charts to switch between total
day of the milestone. Use the toggle above the charts to switch between total
and weight.
and weight.
### Enable or disable burnup charts **(STARTER ONLY)**
Burnup charts 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
Feature
.
enable
(
:burnup_charts
)
```
To disable it:
```
ruby
Feature
.
disable
(
:burnup_charts
)
```
<!-- ## Troubleshooting
<!-- ## Troubleshooting
Include any troubleshooting steps that you can foresee. If you know beforehand what issues
Include any troubleshooting steps that you can foresee. If you know beforehand what issues
...
...
ee/app/controllers/groups/iterations_controller.rb
View file @
7c82f39a
...
@@ -6,7 +6,7 @@ class Groups::IterationsController < Groups::ApplicationController
...
@@ -6,7 +6,7 @@ class Groups::IterationsController < Groups::ApplicationController
before_action
:authorize_create_iteration!
,
only:
[
:new
,
:edit
]
before_action
:authorize_create_iteration!
,
only:
[
:new
,
:edit
]
before_action
do
before_action
do
push_frontend_feature_flag
(
:iteration_charts
,
group
)
push_frontend_feature_flag
(
:iteration_charts
,
group
)
push_frontend_feature_flag
(
:burnup_charts
,
group
)
push_frontend_feature_flag
(
:burnup_charts
,
group
,
default_enabled:
true
)
end
end
feature_category
:issue_tracking
feature_category
:issue_tracking
...
...
ee/app/controllers/projects/iterations/inherited_controller.rb
View file @
7c82f39a
...
@@ -5,7 +5,7 @@ class Projects::Iterations::InheritedController < Projects::ApplicationControlle
...
@@ -5,7 +5,7 @@ class Projects::Iterations::InheritedController < Projects::ApplicationControlle
before_action
:authorize_show_iteration!
before_action
:authorize_show_iteration!
before_action
do
before_action
do
push_frontend_feature_flag
(
:iteration_charts
,
project
)
push_frontend_feature_flag
(
:iteration_charts
,
project
)
push_frontend_feature_flag
(
:burnup_charts
,
project
)
push_frontend_feature_flag
(
:burnup_charts
,
project
,
default_enabled:
true
)
end
end
feature_category
:issue_tracking
feature_category
:issue_tracking
...
...
ee/app/controllers/projects/iterations_controller.rb
View file @
7c82f39a
...
@@ -5,7 +5,7 @@ class Projects::IterationsController < Projects::ApplicationController
...
@@ -5,7 +5,7 @@ class Projects::IterationsController < Projects::ApplicationController
before_action
:authorize_show_iteration!
before_action
:authorize_show_iteration!
before_action
do
before_action
do
push_frontend_feature_flag
(
:iteration_charts
,
project
)
push_frontend_feature_flag
(
:iteration_charts
,
project
)
push_frontend_feature_flag
(
:burnup_charts
,
project
)
push_frontend_feature_flag
(
:burnup_charts
,
project
,
default_enabled:
true
)
end
end
feature_category
:issue_tracking
feature_category
:issue_tracking
...
...
ee/app/models/ee/milestone.rb
View file @
7c82f39a
...
@@ -17,7 +17,7 @@ module EE
...
@@ -17,7 +17,7 @@ module EE
alias_method
:supports_timebox_charts?
,
:supports_milestone_charts?
alias_method
:supports_timebox_charts?
,
:supports_milestone_charts?
def
burnup_charts_available?
def
burnup_charts_available?
::
Feature
.
enabled?
(
:burnup_charts
,
resource_parent
)
::
Feature
.
enabled?
(
:burnup_charts
,
resource_parent
,
default_enabled:
true
)
end
end
end
end
end
end
ee/changelogs/unreleased/psi-enable-burnup-charts.yml
0 → 100644
View file @
7c82f39a
---
title
:
Add burnup charts to milestone page
merge_request
:
45477
author
:
type
:
added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment