From af7f751b4249f2b34866137113b12c992697ba49 Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Tue, 14 Jun 2022 14:36:08 +0200 Subject: [PATCH] feat(ui) - issues and errors widgets --- .../FunnelIssueDetails/FunnelIssueDetails.tsx | 2 +- .../FunnelIssueGraph/FunnelIssueGraph.tsx | 61 +++++++++---------- 2 files changed, 30 insertions(+), 33 deletions(-) diff --git a/frontend/app/components/Dashboard/components/Funnels/FunnelIssueDetails/FunnelIssueDetails.tsx b/frontend/app/components/Dashboard/components/Funnels/FunnelIssueDetails/FunnelIssueDetails.tsx index 6a0a02897..215c5f0cc 100644 --- a/frontend/app/components/Dashboard/components/Funnels/FunnelIssueDetails/FunnelIssueDetails.tsx +++ b/frontend/app/components/Dashboard/components/Funnels/FunnelIssueDetails/FunnelIssueDetails.tsx @@ -29,7 +29,7 @@ function FunnelIssueDetails(props: Props) { return ( - { funnelIssue && } diff --git a/frontend/app/components/Dashboard/components/Funnels/FunnelIssueGraph/FunnelIssueGraph.tsx b/frontend/app/components/Dashboard/components/Funnels/FunnelIssueGraph/FunnelIssueGraph.tsx index 4a69dc280..8821fe5e9 100644 --- a/frontend/app/components/Dashboard/components/Funnels/FunnelIssueGraph/FunnelIssueGraph.tsx +++ b/frontend/app/components/Dashboard/components/Funnels/FunnelIssueGraph/FunnelIssueGraph.tsx @@ -7,45 +7,42 @@ interface Props { } function FunnelIssueGraph(props: Props) { const { issue } = props; + return (
- +
+
-
{issue.unaffectedSessions}
-
- } - content={ `Unaffected sessions` } - size="tiny" - inverted - position="top center" - /> - +
{issue.unaffectedSessions}
+
+
+
+
{issue.affectedSessions}
- {/*
{issue.affectedSessionsPer}
*/} -
- } - content={ `Affected sessions` } - size="tiny" - inverted - position="top center" - /> - + +
+
+
{issue.lostConversions}
-
- } - content={ `Conversion lost` } - size="tiny" - inverted - position="top center" - /> +
+
); }