From 4ba8b69ca41332c17534d36037e11e9653df74aa Mon Sep 17 00:00:00 2001 From: Nate Kelley <133379588+nate-kelley-buster@users.noreply.github.com> Date: Wed, 23 Jul 2025 23:07:32 -0600 Subject: [PATCH 1/5] Update apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- .../DashboardMetricItem/MetricItemCardThreeDotMenu.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx b/apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx index c433d393b..d125098e6 100644 --- a/apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx +++ b/apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx @@ -136,9 +136,7 @@ const useRemoveFromDashboardItem = ({ dashboardId, metricIds: [metricId] }); - } - }), - [dashboardId, metricId, removeMetricFromDashboard] + [dashboardId, metricId, removeMetricFromDashboard, isPending] ); }; From 5e354e8558fbcc504c04b0f8a6b5de65bd0fa8fc Mon Sep 17 00:00:00 2001 From: Nate Kelley <133379588+nate-kelley-buster@users.noreply.github.com> Date: Wed, 23 Jul 2025 23:08:17 -0600 Subject: [PATCH 2/5] Update apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- .../DashboardMetricItem/MetricItemCardThreeDotMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx b/apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx index d125098e6..ed6d7c2cb 100644 --- a/apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx +++ b/apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx @@ -272,7 +272,7 @@ const useEditChartButton = ({ secondaryView: 'chart-edit' }) }), - [metricId] + [metricId, dashboardId, chatId] ); }; From 1fa4ea73e7dbc943b70de271f6bc5af37800aa20 Mon Sep 17 00:00:00 2001 From: Nate Kelley <133379588+nate-kelley-buster@users.noreply.github.com> Date: Wed, 23 Jul 2025 23:08:25 -0600 Subject: [PATCH 3/5] Update apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- .../DashboardMetricItem/MetricItemCardThreeDotMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx b/apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx index ed6d7c2cb..371c4929d 100644 --- a/apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx +++ b/apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx @@ -298,7 +298,7 @@ const useViewResultsButton = ({ page: 'results' }) }), - [metricId] + [metricId, dashboardId, chatId] ); }; From ff8fef6d1f41cc65799a21ea71e1131ac3764dea Mon Sep 17 00:00:00 2001 From: Nate Kelley <133379588+nate-kelley-buster@users.noreply.github.com> Date: Wed, 23 Jul 2025 23:08:31 -0600 Subject: [PATCH 4/5] Update apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- .../DashboardMetricItem/MetricItemCardThreeDotMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx b/apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx index 371c4929d..04c2475a5 100644 --- a/apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx +++ b/apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx @@ -324,6 +324,6 @@ const useViewSQLButton = ({ page: 'sql' }) }), - [metricId] + [metricId, dashboardId, chatId] ); }; From ebd0dc408680a5e544c65816c2f2896ad0baa902 Mon Sep 17 00:00:00 2001 From: Nate Kelley <133379588+nate-kelley-buster@users.noreply.github.com> Date: Wed, 23 Jul 2025 23:08:40 -0600 Subject: [PATCH 5/5] Update apps/web/src/components/ui/card/InputCard.tsx Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- apps/web/src/components/ui/card/InputCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/ui/card/InputCard.tsx b/apps/web/src/components/ui/card/InputCard.tsx index 834a27fe4..c68b62798 100644 --- a/apps/web/src/components/ui/card/InputCard.tsx +++ b/apps/web/src/components/ui/card/InputCard.tsx @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import { Button } from '..//buttons/Button'; +import { Button } from '../buttons/Button'; import { InputTextArea } from '../inputs/InputTextArea'; import { cn } from '@/lib/utils'; import { inputHasText } from '@/lib/text';