From: Grégoire Aubert Date: Fri, 16 Jun 2017 12:51:12 +0000 (+0200) Subject: SONAR-9401 Add the remediation effort graph to the project activity page X-Git-Tag: 6.5-M2~51 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3746a3611f5a5c7e0725b11b15ad7e4357852c86;p=sonarqube.git SONAR-9401 Add the remediation effort graph to the project activity page --- diff --git a/server/sonar-web/src/main/js/apps/projectActivity/utils.js b/server/sonar-web/src/main/js/apps/projectActivity/utils.js index fe95ae971d4..1498d215f41 100644 --- a/server/sonar-web/src/main/js/apps/projectActivity/utils.js +++ b/server/sonar-web/src/main/js/apps/projectActivity/utils.js @@ -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 => { diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties index 2cdf15fe1b5..11f0301d946 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -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