From 1b55191195c4258899a57c40d5ff77ee20820559 Mon Sep 17 00:00:00 2001 From: Alexander Vogt Date: Fri, 28 Jul 2023 14:47:31 +0200 Subject: [PATCH 01/16] tooltip component --- .../src/components/ToolTipComponent.vue | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 report-viewer/src/components/ToolTipComponent.vue diff --git a/report-viewer/src/components/ToolTipComponent.vue b/report-viewer/src/components/ToolTipComponent.vue new file mode 100644 index 000000000..8ca1e934d --- /dev/null +++ b/report-viewer/src/components/ToolTipComponent.vue @@ -0,0 +1,69 @@ + + + From 9b9e143c96c391131486afbb9597bf6020edae5c Mon Sep 17 00:00:00 2001 From: Alex | Kronox Date: Sat, 29 Jul 2023 16:28:37 +0200 Subject: [PATCH 02/16] adjustments to tooltip --- .../src/components/ToolTipComponent.vue | 29 +++++++++++++++---- 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/report-viewer/src/components/ToolTipComponent.vue b/report-viewer/src/components/ToolTipComponent.vue index 8ca1e934d..a6f9c4899 100644 --- a/report-viewer/src/components/ToolTipComponent.vue +++ b/report-viewer/src/components/ToolTipComponent.vue @@ -1,11 +1,13 @@ diff --git a/report-viewer/src/views/ClusterView.vue b/report-viewer/src/views/ClusterView.vue index 82782c485..994b56f57 100644 --- a/report-viewer/src/views/ClusterView.vue +++ b/report-viewer/src/views/ClusterView.vue @@ -15,7 +15,7 @@ - +

Comparisons of Cluster Members:

diff --git a/report-viewer/src/views/OverviewView.vue b/report-viewer/src/views/OverviewView.vue index 13259c6a8..f2ea348b3 100644 --- a/report-viewer/src/views/OverviewView.vue +++ b/report-viewer/src/views/OverviewView.vue @@ -23,9 +23,7 @@ @@ -73,13 +71,11 @@ /> @@ -92,7 +88,7 @@ Date: Sun, 10 Sep 2023 12:15:03 +0200 Subject: [PATCH 10/16] rearange classes --- report-viewer/src/components/ToolTipComponent.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/report-viewer/src/components/ToolTipComponent.vue b/report-viewer/src/components/ToolTipComponent.vue index d7d34a0af..345fd7db7 100644 --- a/report-viewer/src/components/ToolTipComponent.vue +++ b/report-viewer/src/components/ToolTipComponent.vue @@ -1,12 +1,12 @@ From d86abeca8492cad88be4118dd5391f7fce4f703c Mon Sep 17 00:00:00 2001 From: Alex | Kronox Date: Sun, 10 Sep 2023 12:41:58 +0200 Subject: [PATCH 11/16] fix bugs --- .../components/optionsSelectors/MetricSelector.vue | 11 +++++------ report-viewer/src/views/OverviewView.vue | 14 ++------------ 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/report-viewer/src/components/optionsSelectors/MetricSelector.vue b/report-viewer/src/components/optionsSelectors/MetricSelector.vue index 5e7823eb2..4299cb5e7 100644 --- a/report-viewer/src/components/optionsSelectors/MetricSelector.vue +++ b/report-viewer/src/components/optionsSelectors/MetricSelector.vue @@ -7,6 +7,7 @@ diff --git a/report-viewer/src/views/OverviewView.vue b/report-viewer/src/views/OverviewView.vue index f2ea348b3..9251331cc 100644 --- a/report-viewer/src/views/OverviewView.vue +++ b/report-viewer/src/views/OverviewView.vue @@ -45,7 +45,7 @@ class="mt-2" title="Metric:" @selection-changed=" - (i: number) => (selectedDistributionDiagramMetric = getMetricFromNumber(i)) + (metric: MetricType) => (selectedDistributionDiagramMetric = metric) " /> 1 const submissionPathValue = hasMoreSubmissionPaths ? 'Click More to see all paths' From 32c00c163f2df5c9ee26a3f8e984efe1467b8d26 Mon Sep 17 00:00:00 2001 From: Alex | Kronox Date: Sun, 10 Sep 2023 14:42:55 +0200 Subject: [PATCH 12/16] add tests --- .../components/OptionsSelectorComponent.vue | 0 .../optionsSelectors/MetricSelector.vue | 4 +- .../optionsSelectors/MetricSelector.test.ts | 46 ++++++++++++ .../OptionSelectorComponent.test.ts | 70 +++++++++++++++++++ 4 files changed, 118 insertions(+), 2 deletions(-) delete mode 100644 report-viewer/src/components/OptionsSelectorComponent.vue create mode 100644 report-viewer/tests/unit/components/optionsSelectors/MetricSelector.test.ts create mode 100644 report-viewer/tests/unit/components/optionsSelectors/OptionSelectorComponent.test.ts diff --git a/report-viewer/src/components/OptionsSelectorComponent.vue b/report-viewer/src/components/OptionsSelectorComponent.vue deleted file mode 100644 index e69de29bb..000000000 diff --git a/report-viewer/src/components/optionsSelectors/MetricSelector.vue b/report-viewer/src/components/optionsSelectors/MetricSelector.vue index 4299cb5e7..0ff0d9735 100644 --- a/report-viewer/src/components/optionsSelectors/MetricSelector.vue +++ b/report-viewer/src/components/optionsSelectors/MetricSelector.vue @@ -1,6 +1,6 @@ - -