From 6752c66411b2a172246183939ee04b601ec0ec2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rton=20Csord=C3=A1s?= Date: Thu, 14 Jan 2021 15:24:51 +0100 Subject: [PATCH] [gui] Refactoring product overview page Add helper tooltips for each widget on the product overview page which describes the numbers, how these numbers are calculated and what kind of filter affects these numbers. --- .../ComponentSeverityStatistics.vue | 160 +++++++++++------- .../ComponentSeverityStatisticsChart.vue | 4 - .../Overview/OutstandingReportsChart.vue | 12 +- .../Statistics/Overview/Overview.vue | 84 +++++---- .../Statistics/Overview/Reports.vue | 62 +++++-- .../Statistics/Overview/SingleLineWidget.vue | 4 +- .../src/components/TooltipHelpIcon.vue | 7 +- 7 files changed, 199 insertions(+), 134 deletions(-) diff --git a/web/server/vue-cli/src/components/Statistics/Overview/ComponentSeverityStatistics/ComponentSeverityStatistics.vue b/web/server/vue-cli/src/components/Statistics/Overview/ComponentSeverityStatistics/ComponentSeverityStatistics.vue index 98856a39b4..1040272644 100644 --- a/web/server/vue-cli/src/components/Statistics/Overview/ComponentSeverityStatistics/ComponentSeverityStatistics.vue +++ b/web/server/vue-cli/src/components/Statistics/Overview/ComponentSeverityStatistics/ComponentSeverityStatistics.vue @@ -2,74 +2,108 @@ - - - - + + + + - - - + {{ header.text }} + + + + + Report severities + + + This pie chart shows the checker severity distribution in the + product.

+ + The following filters don't affect these values: +
    +
  • Severity filter.
  • +
  • Source component filter.
  • +
+
+
+ { ccService.getClient().getSeverityCounts(runIds, rFilter, cmpData, diff --git a/web/server/vue-cli/src/components/Statistics/Overview/Overview.vue b/web/server/vue-cli/src/components/Statistics/Overview/Overview.vue index ae2011d96a..5ed54047be 100644 --- a/web/server/vue-cli/src/components/Statistics/Overview/Overview.vue +++ b/web/server/vue-cli/src/components/Statistics/Overview/Overview.vue @@ -2,48 +2,24 @@ - - - - - - + +