diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-06-16 14:51:12 +0200 |
---|---|---|
committer | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-07-04 14:15:34 +0200 |
commit | 3746a3611f5a5c7e0725b11b15ad7e4357852c86 (patch) | |
tree | 8fb422b2be83c300b50a0659b9f85574a5d3f219 /server/sonar-web/src/main/js/apps | |
parent | 8ae7fe42c14b649dd634798c3768c3b95bd5b63f (diff) | |
download | sonarqube-3746a3611f5a5c7e0725b11b15ad7e4357852c86.tar.gz sonarqube-3746a3611f5a5c7e0725b11b15ad7e4357852c86.zip |
SONAR-9401 Add the remediation effort graph to the project activity page
Diffstat (limited to 'server/sonar-web/src/main/js/apps')
-rw-r--r-- | server/sonar-web/src/main/js/apps/projectActivity/utils.js | 5 |
1 files changed, 3 insertions, 2 deletions
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 => { |