Skip to content
Snippets Groups Projects
Commit d3ff2fa5 authored by Alfredo Sumaran's avatar Alfredo Sumaran
Browse files

Restore exposure of legend property for events

parent 58131ac9
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2,6 +2,7 @@ class AnalyticsStageEntity < Grape::Entity
include EntityDateHelper
 
expose :title
expose :legend
expose :description
 
expose :median, as: :value do |stage|
Loading
Loading
Loading
Loading
@@ -13,6 +13,10 @@ module Gitlab
:code
end
 
def legend
"Related Merge Requests"
end
def description
"Time until first merge request"
end
Loading
Loading
Loading
Loading
@@ -14,6 +14,10 @@ module Gitlab
:issue
end
 
def legend
"Related Issues"
end
def description
"Time before an issue gets scheduled"
end
Loading
Loading
Loading
Loading
@@ -14,6 +14,10 @@ module Gitlab
:plan
end
 
def legend
"Related Commits"
end
def description
"Time before an issue starts implementation"
end
Loading
Loading
Loading
Loading
@@ -15,6 +15,10 @@ module Gitlab
:production
end
 
def legend
"Related Issues"
end
def description
"From issue creation until deploy to production"
end
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment