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
073eba8d
Commit
073eba8d
authored
Mar 17, 2020
by
Brandon Labuschagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable customizable_cycle_analytics ff
parent
26dfc31b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/app/controllers/analytics/cycle_analytics_controller.rb
ee/app/controllers/analytics/cycle_analytics_controller.rb
+1
-1
ee/app/controllers/groups/analytics/cycle_analytics_controller.rb
...ontrollers/groups/analytics/cycle_analytics_controller.rb
+1
-1
No files found.
ee/app/controllers/analytics/cycle_analytics_controller.rb
View file @
073eba8d
...
@@ -7,7 +7,7 @@ class Analytics::CycleAnalyticsController < Analytics::ApplicationController
...
@@ -7,7 +7,7 @@ class Analytics::CycleAnalyticsController < Analytics::ApplicationController
increment_usage_counter
Gitlab
::
UsageDataCounters
::
CycleAnalyticsCounter
,
:views
,
only: :show
increment_usage_counter
Gitlab
::
UsageDataCounters
::
CycleAnalyticsCounter
,
:views
,
only: :show
before_action
do
before_action
do
push_frontend_feature_flag
(
:customizable_cycle_analytics
)
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_enabled
,
default_enabled:
true
)
push_frontend_feature_flag
(
:cycle_analytics_scatterplot_median_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
)
...
...
ee/app/controllers/groups/analytics/cycle_analytics_controller.rb
View file @
073eba8d
...
@@ -9,7 +9,7 @@ class Groups::Analytics::CycleAnalyticsController < Groups::Analytics::Applicati
...
@@ -9,7 +9,7 @@ class Groups::Analytics::CycleAnalyticsController < Groups::Analytics::Applicati
increment_usage_counter
Gitlab
::
UsageDataCounters
::
CycleAnalyticsCounter
,
:views
,
only: :show
increment_usage_counter
Gitlab
::
UsageDataCounters
::
CycleAnalyticsCounter
,
:views
,
only: :show
before_action
do
before_action
do
push_frontend_feature_flag
(
:customizable_cycle_analytics
)
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_enabled
,
default_enabled:
true
)
push_frontend_feature_flag
(
:cycle_analytics_scatterplot_median_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
)
...
...
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