From 2ce9d61185de1330281ac700aafa0f0f781a66e2 Mon Sep 17 00:00:00 2001 From: Yuriy Durov Date: Tue, 11 Jun 2024 21:51:11 +0400 Subject: [PATCH 1/3] Fix risk hotspots ordering --- .../riskhotspots/riskhotspots.component.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/AngularComponents/src/app/components/riskhotspots/riskhotspots.component.ts b/src/AngularComponents/src/app/components/riskhotspots/riskhotspots.component.ts index c06fc5f8..643cbbbf 100644 --- a/src/AngularComponents/src/app/components/riskhotspots/riskhotspots.component.ts +++ b/src/AngularComponents/src/app/components/riskhotspots/riskhotspots.component.ts @@ -44,21 +44,21 @@ import { RiskHotspotsSettings } from "./data/riskhotspots-settings.class"; {{translations.assembly}} {{translations.class}} {{translations.method}} {{riskHotspotMetric.name}} @@ -215,4 +215,4 @@ export class RiskHotspotsComponent implements OnInit { console.log(`Updating sort column: '${this.settings.sortBy}' (${this.settings.sortOrder})`); this.updateRiskHotpots(); } -} \ No newline at end of file +} From c0e33f7e7e1ccda2ec9285b32f1f60d691e02a4c Mon Sep 17 00:00:00 2001 From: Yuriy Durov Date: Tue, 11 Jun 2024 22:00:57 +0400 Subject: [PATCH 2/3] Fix coverage info ordering --- .../coverageinfo/coverage-info.component.ts | 104 +++++++++--------- 1 file changed, 52 insertions(+), 52 deletions(-) diff --git a/src/AngularComponents/src/app/components/coverageinfo/coverage-info.component.ts b/src/AngularComponents/src/app/components/coverageinfo/coverage-info.component.ts index ae9ae924..e4fd67be 100644 --- a/src/AngularComponents/src/app/components/coverageinfo/coverage-info.component.ts +++ b/src/AngularComponents/src/app/components/coverageinfo/coverage-info.component.ts @@ -122,62 +122,62 @@ import { Helper } from "./viewmodels/helper.class"; - {{translations.name}} - {{translations.covered}} - {{translations.uncovered}} - {{translations.coverable}} - {{translations.total}} + {{translations.name}} + {{translations.covered}} + {{translations.uncovered}} + {{translations.coverable}} + {{translations.total}} - {{translations.percentage}} - {{translations.covered}} - {{translations.total}} + {{translations.percentage}} + {{translations.covered}} + {{translations.total}} - {{translations.percentage}} - {{translations.covered}} - {{translations.total}} + {{translations.percentage}} + {{translations.covered}} + {{translations.total}} - {{translations.percentage}} + {{translations.percentage}} - {{metric.name}} + {{metric.name}} From 2c24ebec838b0da37e78f3a2a2d941a631c948a9 Mon Sep 17 00:00:00 2001 From: Yuriy Durov Date: Tue, 11 Jun 2024 22:27:25 +0400 Subject: [PATCH 3/3] Fix default sort icon values --- .../riskhotspots/riskhotspots.component.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/AngularComponents/src/app/components/riskhotspots/riskhotspots.component.ts b/src/AngularComponents/src/app/components/riskhotspots/riskhotspots.component.ts index 643cbbbf..8c8d5048 100644 --- a/src/AngularComponents/src/app/components/riskhotspots/riskhotspots.component.ts +++ b/src/AngularComponents/src/app/components/riskhotspots/riskhotspots.component.ts @@ -43,23 +43,23 @@ import { RiskHotspotsSettings } from "./data/riskhotspots-settings.class"; - {{translations.assembly}} - {{translations.assembly}} + {{translations.class}} - {{translations.class}} + {{translations.method}} + 'icon-up-dir': settings.sortBy !== 'method'}">{{translations.method}} - {{riskHotspotMetric.name}} + 'icon-up-dir': settings.sortBy !== '' + i}">{{riskHotspotMetric.name}}