From 1c434d51dbf9f613f800441ae61c458629a8699b Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Wed, 29 Mar 2023 16:41:10 +0200 Subject: [PATCH] change(ui) - tooltip text on dashboard --- .../DashboardHeader/DashboardHeader.tsx | 4 ++-- .../MetricViewHeader/MetricViewHeader.tsx | 16 ++++++++-------- .../components/WidgetName/WidgetName.tsx | 2 +- .../BugReport/components/ReportTitle.tsx | 2 +- frontend/app/components/ui/Button/Button.tsx | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/frontend/app/components/Dashboard/components/DashboardHeader/DashboardHeader.tsx b/frontend/app/components/Dashboard/components/DashboardHeader/DashboardHeader.tsx index 5f312d124..0d850038c 100644 --- a/frontend/app/components/Dashboard/components/DashboardHeader/DashboardHeader.tsx +++ b/frontend/app/components/Dashboard/components/DashboardHeader/DashboardHeader.tsx @@ -71,7 +71,7 @@ function DashboardHeader(props: Props) { + {dashboard?.name} } @@ -118,7 +118,7 @@ function DashboardHeader(props: Props) {
{/* @ts-ignore */} - +

onEdit(false)} diff --git a/frontend/app/components/Dashboard/components/MetricViewHeader/MetricViewHeader.tsx b/frontend/app/components/Dashboard/components/MetricViewHeader/MetricViewHeader.tsx index 081dd21e5..1e1775415 100644 --- a/frontend/app/components/Dashboard/components/MetricViewHeader/MetricViewHeader.tsx +++ b/frontend/app/components/Dashboard/components/MetricViewHeader/MetricViewHeader.tsx @@ -53,6 +53,13 @@ function MetricViewHeader() { isSearchable={true} /> + + metricStore.updateKey('filter', { ...filter, dashboard: value }) + } + /> + ) : ( // @ts-ignore - +
setEditing(true)} className={ diff --git a/frontend/app/components/Session_/BugReport/components/ReportTitle.tsx b/frontend/app/components/Session_/BugReport/components/ReportTitle.tsx index 93eb4148a..bb6bb327c 100644 --- a/frontend/app/components/Session_/BugReport/components/ReportTitle.tsx +++ b/frontend/app/components/Session_/BugReport/components/ReportTitle.tsx @@ -45,7 +45,7 @@ function ReportTitle() { /> ) : ( // @ts-ignore - +
{ default: 'bg-white hover:bg-gray-light border border-gray-light', primary: 'bg-teal color-white hover:bg-teal-dark', green: 'bg-green color-white hover:bg-green-dark', - text: 'bg-transparent color-gray-dark hover:bg-gray-light-shade hover:!text-teal hover-fill-teal', + text: 'bg-transparent color-gray-dark hover:bg-active-blue hover:!text-teal hover-fill-teal', 'text-primary': 'bg-transparent color-teal hover:bg-teal-light hover:color-teal-dark', 'text-red': 'bg-transparent color-red hover:bg-teal-light', outline: 'bg-white color-teal border border-teal hover:bg-teal-light',