From dae1b5382c0a082a13d52c345d3ffe3d403edcc9 Mon Sep 17 00:00:00 2001 From: "Matt J." Date: Wed, 8 Jan 2025 10:13:50 +0100 Subject: [PATCH] feat(ui): Add tooltips on favorability icons (#1054) This PR adds tooltips on favorability icons. --- .../CrossValidationReportResults.vue | 28 +++--------- .../src/components/MetricFavorability.vue | 43 +++++++++++++++++++ 2 files changed, 49 insertions(+), 22 deletions(-) create mode 100644 skore-ui/src/components/MetricFavorability.vue diff --git a/skore-ui/src/components/CrossValidationReportResults.vue b/skore-ui/src/components/CrossValidationReportResults.vue index 7ae45db63..ee48d77cc 100644 --- a/skore-ui/src/components/CrossValidationReportResults.vue +++ b/skore-ui/src/components/CrossValidationReportResults.vue @@ -2,6 +2,10 @@ import Simplebar from "simplebar-vue"; import { computed, ref, useTemplateRef } from "vue"; +import DropdownButton from "@/components/DropdownButton.vue"; +import FloatingTooltip from "@/components/FloatingTooltip.vue"; +import MetricFavorability from "@/components/MetricFavorability.vue"; +import StaticRange from "@/components/StaticRange.vue"; import type { PrimaryResultsDto, TabularResultDto } from "@/dto"; import { isElementOverflowing } from "@/services/utils"; @@ -48,14 +52,7 @@ function isNameTooltipEnabled(index: number) {
{{ result.name }} - - +