From 2c510a7cb97a124d9441f2cff9f8c143d416e700 Mon Sep 17 00:00:00 2001 From: Prateek Shourya Date: Thu, 28 Mar 2024 14:31:52 +0530 Subject: [PATCH] [WEB-852] chore: remove `Estimate Demand` data from the anaylytics. (#4084) --- .../analytics/scope-and-demand/demand.tsx | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/web/components/analytics/scope-and-demand/demand.tsx b/web/components/analytics/scope-and-demand/demand.tsx index e1c3dbae7..20bc502ce 100644 --- a/web/components/analytics/scope-and-demand/demand.tsx +++ b/web/components/analytics/scope-and-demand/demand.tsx @@ -1,9 +1,7 @@ -// icons -import { Triangle } from "lucide-react"; -import { IDefaultAnalyticsResponse, TStateGroups } from "@plane/types"; // types -import { STATE_GROUPS } from "@/constants/state"; +import { IDefaultAnalyticsResponse, TStateGroups } from "@plane/types"; // constants +import { STATE_GROUPS } from "@/constants/state"; type Props = { defaultAnalytics: IDefaultAnalyticsResponse; @@ -16,7 +14,7 @@ export const AnalyticsDemand: React.FC = ({ defaultAnalytics }) => (

Total open tasks

{defaultAnalytics.open_issues}

-
+
{defaultAnalytics?.open_issues_classified.map((group) => { const percentage = ((group.state_count / defaultAnalytics.total_issues) * 100).toFixed(0); @@ -50,14 +48,5 @@ export const AnalyticsDemand: React.FC = ({ defaultAnalytics }) => ( ); })}
-
-

- - Estimate Demand: -

-

- {defaultAnalytics.open_estimate_sum}/{defaultAnalytics.total_estimate_sum} -

-
);