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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
d3ff2fa5
Commit
d3ff2fa5
authored
Feb 10, 2017
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore exposure of legend property for events
parent
58131ac9
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
29 additions
and
0 deletions
+29
-0
app/serializers/analytics_stage_entity.rb
app/serializers/analytics_stage_entity.rb
+1
-0
lib/gitlab/cycle_analytics/code_stage.rb
lib/gitlab/cycle_analytics/code_stage.rb
+4
-0
lib/gitlab/cycle_analytics/issue_stage.rb
lib/gitlab/cycle_analytics/issue_stage.rb
+4
-0
lib/gitlab/cycle_analytics/plan_stage.rb
lib/gitlab/cycle_analytics/plan_stage.rb
+4
-0
lib/gitlab/cycle_analytics/production_stage.rb
lib/gitlab/cycle_analytics/production_stage.rb
+4
-0
lib/gitlab/cycle_analytics/review_stage.rb
lib/gitlab/cycle_analytics/review_stage.rb
+4
-0
lib/gitlab/cycle_analytics/staging_stage.rb
lib/gitlab/cycle_analytics/staging_stage.rb
+4
-0
lib/gitlab/cycle_analytics/test_stage.rb
lib/gitlab/cycle_analytics/test_stage.rb
+4
-0
No files found.
app/serializers/analytics_stage_entity.rb
View file @
d3ff2fa5
...
@@ -2,6 +2,7 @@ class AnalyticsStageEntity < Grape::Entity
...
@@ -2,6 +2,7 @@ class AnalyticsStageEntity < Grape::Entity
include
EntityDateHelper
include
EntityDateHelper
expose
:title
expose
:title
expose
:legend
expose
:description
expose
:description
expose
:median
,
as: :value
do
|
stage
|
expose
:median
,
as: :value
do
|
stage
|
...
...
lib/gitlab/cycle_analytics/code_stage.rb
View file @
d3ff2fa5
...
@@ -13,6 +13,10 @@ module Gitlab
...
@@ -13,6 +13,10 @@ module Gitlab
:code
:code
end
end
def
legend
"Related Merge Requests"
end
def
description
def
description
"Time until first merge request"
"Time until first merge request"
end
end
...
...
lib/gitlab/cycle_analytics/issue_stage.rb
View file @
d3ff2fa5
...
@@ -14,6 +14,10 @@ module Gitlab
...
@@ -14,6 +14,10 @@ module Gitlab
:issue
:issue
end
end
def
legend
"Related Issues"
end
def
description
def
description
"Time before an issue gets scheduled"
"Time before an issue gets scheduled"
end
end
...
...
lib/gitlab/cycle_analytics/plan_stage.rb
View file @
d3ff2fa5
...
@@ -14,6 +14,10 @@ module Gitlab
...
@@ -14,6 +14,10 @@ module Gitlab
:plan
:plan
end
end
def
legend
"Related Commits"
end
def
description
def
description
"Time before an issue starts implementation"
"Time before an issue starts implementation"
end
end
...
...
lib/gitlab/cycle_analytics/production_stage.rb
View file @
d3ff2fa5
...
@@ -15,6 +15,10 @@ module Gitlab
...
@@ -15,6 +15,10 @@ module Gitlab
:production
:production
end
end
def
legend
"Related Issues"
end
def
description
def
description
"From issue creation until deploy to production"
"From issue creation until deploy to production"
end
end
...
...
lib/gitlab/cycle_analytics/review_stage.rb
View file @
d3ff2fa5
...
@@ -13,6 +13,10 @@ module Gitlab
...
@@ -13,6 +13,10 @@ module Gitlab
:review
:review
end
end
def
legend
"Relative Merged Requests"
end
def
description
def
description
"Time between merge request creation and merge/close"
"Time between merge request creation and merge/close"
end
end
...
...
lib/gitlab/cycle_analytics/staging_stage.rb
View file @
d3ff2fa5
...
@@ -14,6 +14,10 @@ module Gitlab
...
@@ -14,6 +14,10 @@ module Gitlab
:staging
:staging
end
end
def
legend
"Relative Deployed Builds"
end
def
description
def
description
"From merge request merge until deploy to production"
"From merge request merge until deploy to production"
end
end
...
...
lib/gitlab/cycle_analytics/test_stage.rb
View file @
d3ff2fa5
...
@@ -13,6 +13,10 @@ module Gitlab
...
@@ -13,6 +13,10 @@ module Gitlab
:test
:test
end
end
def
legend
"Relative Builds Trigger by Commits"
end
def
description
def
description
"Total test time for all commits/merges"
"Total test time for all commits/merges"
end
end
...
...
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