]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-9401 Add the remediation effort graph to the project activity page
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>
Fri, 16 Jun 2017 12:51:12 +0000 (14:51 +0200)
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>
Tue, 4 Jul 2017 12:15:34 +0000 (14:15 +0200)
server/sonar-web/src/main/js/apps/projectActivity/utils.js
sonar-core/src/main/resources/org/sonar/l10n/core.properties

index fe95ae971d49e84c62623edf853400d0a4448026..1498d215f41ed2ed03f58c81a777e0b3aa0bf350 100644 (file)
@@ -23,11 +23,12 @@ import { translate } from '../../helpers/l10n';
 import type { MeasureHistory, Query } from './types';
 import type { RawQuery } from '../../helpers/query';
 
-export const GRAPH_TYPES = ['overview', 'coverage', 'duplications'];
+export const GRAPH_TYPES = ['overview', 'coverage', 'duplications', 'remediation'];
 export const GRAPHS_METRICS = {
   overview: ['bugs', 'vulnerabilities', 'code_smells'],
   coverage: ['uncovered_lines', 'lines_to_cover'],
-  duplications: ['duplicated_lines', 'ncloc']
+  duplications: ['duplicated_lines', 'ncloc'],
+  remediation: ['sqale_index', 'security_remediation_effort', 'reliability_remediation_effort']
 };
 
 const parseGraph = (value?: string): string => {
index 2cdf15fe1b5be7f5266933af595913dbe62ae96c..11f0301d94694af57a4db54dc03c6235f868c574 100644 (file)
@@ -1286,6 +1286,7 @@ project_activity.filter_events=Filter events
 project_activity.graphs.overview=Overview
 project_activity.graphs.coverage=Coverage
 project_activity.graphs.duplications=Duplications
+project_activity.graphs.remediation=Remediation Effort
 
 project_activity.custom_metric.covered_lines=Covered Lines