From 6a4383f5d4312af30656a82d7ae5cc36ea7f6942 Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Wed, 2 Nov 2022 12:13:49 +0100 Subject: [PATCH] change(ui) - note text and user menu link --- .../components/Funnels/FunnelWidget/FunnelBar.tsx | 15 ++++----------- .../app/components/Header/UserMenu/UserMenu.tsx | 9 +-------- .../components/Notes/NoteItem.tsx | 4 ++-- 3 files changed, 7 insertions(+), 21 deletions(-) diff --git a/frontend/app/components/Funnels/FunnelWidget/FunnelBar.tsx b/frontend/app/components/Funnels/FunnelWidget/FunnelBar.tsx index 813c394e3..041e1a03b 100644 --- a/frontend/app/components/Funnels/FunnelWidget/FunnelBar.tsx +++ b/frontend/app/components/Funnels/FunnelWidget/FunnelBar.tsx @@ -8,7 +8,7 @@ interface Props { } function FunnelBar(props: Props) { const { filter } = props; - // const completedPercentage = calculatePercentage(filter.sessionsCount, filter.dropDueToIssues); + return (
@@ -16,7 +16,6 @@ function FunnelBar(props: Props) {
-
- {/* {filter.completedPercentage}% */} -
+
- {filter.dropDueToIssues > 0 && ( + {/* {filter.dropDueToIssues > 0 && (
- {/* @ts-ignore */}
- )} + )} */}
@@ -76,7 +70,6 @@ function FunnelBar(props: Props) { ({filter.completedPercentage}%) Completed - {/* Completed */}
diff --git a/frontend/app/components/Header/UserMenu/UserMenu.tsx b/frontend/app/components/Header/UserMenu/UserMenu.tsx index d9940248b..c54d582b0 100644 --- a/frontend/app/components/Header/UserMenu/UserMenu.tsx +++ b/frontend/app/components/Header/UserMenu/UserMenu.tsx @@ -26,7 +26,7 @@ function UserMenu(props: RouteComponentProps) { style={{ width: '250px' }} className={cn(className, 'absolute right-0 top-0 bg-white border mt-14')} > -
+
{getInitials(account.name)}
@@ -41,13 +41,6 @@ function UserMenu(props: RouteComponentProps) {
-
- - -
-
{safeStrMessage}
+
{safeStrMessage}
{props.note.tag ? (