From ec11f617c241a525f0bc07342a1e0c7a113c80e2 Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Thu, 8 Jun 2023 12:26:56 +0200 Subject: [PATCH] change(ui): insight text changes --- .../InsightsCard/InsightItem.tsx | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/InsightsCard/InsightItem.tsx b/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/InsightsCard/InsightItem.tsx index 84202effd..c8acf5c1a 100644 --- a/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/InsightsCard/InsightItem.tsx +++ b/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/InsightsCard/InsightItem.tsx @@ -52,27 +52,27 @@ function ErrorItem({ item, className, onClick }: any) {
{item.isNew ? ( - <> -
Users are experimenting a new error
-
{item.name}
-
- this error has arisen a total of
-
{item.ratio}%
-
times
- +
+
Users are encountering a new error called:
+
{item.name}
+
This error has occurred a total of
+
{item.value}
+
times
+
) : ( - <> -
There is been an
-
{item.isIncreased ? 'increase' : 'decrease'}
-
of error
-
{item.name}
-
from
-
{item.oldValue}
-
to
-
{item.value},
-
representing a
+
+
There has been an
+
{item.isIncreased ? 'increase' : 'decrease'}
+
in the error
+
{item.name}
+
from
+
{item.oldValue}
+
to
+
{item.value},
+
representing a
-
among all sessions.
- +
across all sessions.
+
)}
);