From: Stas Vilchik Date: Tue, 27 Oct 2015 13:13:41 +0000 (+0100) Subject: SONAR-6359 apply feedback X-Git-Tag: 5.3-RC1~447 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d9309e43befd29e010abade4e9401704aac4653b;p=sonarqube.git SONAR-6359 apply feedback --- diff --git a/server/sonar-web/src/main/js/apps/overview/size/complexity-distribution.js b/server/sonar-web/src/main/js/apps/overview/size/complexity-distribution.js index 8ff3da2740d..ac5796fa584 100644 --- a/server/sonar-web/src/main/js/apps/overview/size/complexity-distribution.js +++ b/server/sonar-web/src/main/js/apps/overview/size/complexity-distribution.js @@ -47,7 +47,9 @@ export class ComplexityDistribution extends React.Component { return ; } diff --git a/server/sonar-web/src/main/js/apps/overview/size/language-distribution.js b/server/sonar-web/src/main/js/apps/overview/size/language-distribution.js index ab724920dc4..5e3acfaa401 100644 --- a/server/sonar-web/src/main/js/apps/overview/size/language-distribution.js +++ b/server/sonar-web/src/main/js/apps/overview/size/language-distribution.js @@ -61,7 +61,9 @@ export class LanguageDistribution extends React.Component { return ; } diff --git a/server/sonar-web/src/main/js/components/charts/treemap.js b/server/sonar-web/src/main/js/components/charts/treemap.js index 9e311a838e3..be054fdc055 100644 --- a/server/sonar-web/src/main/js/components/charts/treemap.js +++ b/server/sonar-web/src/main/js/components/charts/treemap.js @@ -87,6 +87,7 @@ export const Treemap = React.createClass({ let treemap = d3.layout.treemap() .round(true) .value(d => sizeScale(d.size)) + .sort((a, b) => a.value - b.value) .size([this.state.width, 360]); let nodes = treemap .nodes({ children: this.props.items }) 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 b6c73826f3e..67cacb16ffe 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -3128,3 +3128,8 @@ overview.period.days=last {0} days overview.gate.ERROR=Failed overview.gate.WARN=Warning overview.gate.OK=Passed + +overview.domain.issues=Issues & Technical Debt +overview.domain.coverage=Coverage & Tests +overview.domain.duplications=Duplications +overview.domain.size=Size & Complexity