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
ee698e95
Commit
ee698e95
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
57d5a549
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
30 additions
and
1 deletion
+30
-1
app/serializers/analytics_stage_entity.rb
app/serializers/analytics_stage_entity.rb
+1
-0
app/views/projects/cycle_analytics/show.html.haml
app/views/projects/cycle_analytics/show.html.haml
+1
-1
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 @
ee698e95
...
...
@@ -2,6 +2,7 @@ class AnalyticsStageEntity < Grape::Entity
include
EntityDateHelper
expose
:title
expose
:legend
expose
:description
expose
:median
,
as: :value
do
|
stage
|
...
...
app/views/projects/cycle_analytics/show.html.haml
View file @
ee698e95
...
...
@@ -44,7 +44,7 @@
Last 90 days
.stage-panel-container
.panel.panel-default.stage-panel
.panel-heading
.panel-heading
%nav
.col-headers
%ul
%li
.stage-header
...
...
lib/gitlab/cycle_analytics/code_stage.rb
View file @
ee698e95
...
...
@@ -13,6 +13,10 @@ module Gitlab
:code
end
def
legend
"Related Merge Requests"
end
def
description
"Time until first merge request"
end
...
...
lib/gitlab/cycle_analytics/issue_stage.rb
View file @
ee698e95
...
...
@@ -14,6 +14,10 @@ module Gitlab
:issue
end
def
legend
"Related Issues"
end
def
description
"Time before an issue gets scheduled"
end
...
...
lib/gitlab/cycle_analytics/plan_stage.rb
View file @
ee698e95
...
...
@@ -14,6 +14,10 @@ module Gitlab
:plan
end
def
legend
"Related Commits"
end
def
description
"Time before an issue starts implementation"
end
...
...
lib/gitlab/cycle_analytics/production_stage.rb
View file @
ee698e95
...
...
@@ -15,6 +15,10 @@ module Gitlab
:production
end
def
legend
"Related Issues"
end
def
description
"From issue creation until deploy to production"
end
...
...
lib/gitlab/cycle_analytics/review_stage.rb
View file @
ee698e95
...
...
@@ -13,6 +13,10 @@ module Gitlab
:review
end
def
legend
"Relative Merged Requests"
end
def
description
"Time between merge request creation and merge/close"
end
...
...
lib/gitlab/cycle_analytics/staging_stage.rb
View file @
ee698e95
...
...
@@ -14,6 +14,10 @@ module Gitlab
:staging
end
def
legend
"Relative Deployed Builds"
end
def
description
"From merge request merge until deploy to production"
end
...
...
lib/gitlab/cycle_analytics/test_stage.rb
View file @
ee698e95
...
...
@@ -13,6 +13,10 @@ module Gitlab
:test
end
def
legend
"Relative Builds Trigger by Commits"
end
def
description
"Total test time for all commits/merges"
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