From 32ac007809d5f284aad076a7092cc56c68e2959b Mon Sep 17 00:00:00 2001 From: Arthur Dufour Date: Fri, 16 Feb 2024 09:27:01 +0100 Subject: [PATCH] feat: improve icons ui/ux --- src/components/NotificationRow.tsx | 36 +++++++------------ src/components/Repository.tsx | 20 +++++------ .../NotificationRow.test.tsx.snap | 28 +++++++-------- .../__snapshots__/Repository.test.tsx.snap | 17 ++++----- 4 files changed, 45 insertions(+), 56 deletions(-) diff --git a/src/components/NotificationRow.tsx b/src/components/NotificationRow.tsx index 732bd5694..7f1dbc4a5 100644 --- a/src/components/NotificationRow.tsx +++ b/src/components/NotificationRow.tsx @@ -62,8 +62,8 @@ export const NotificationRow: React.FC = ({ }); return ( -
-
+
+
@@ -84,39 +84,27 @@ export const NotificationRow: React.FC = ({
diff --git a/src/components/Repository.tsx b/src/components/Repository.tsx index ddf1ef4a1..27e72085d 100644 --- a/src/components/Repository.tsx +++ b/src/components/Repository.tsx @@ -35,19 +35,19 @@ export const RepositoryNotifications: React.FC = ({ return ( <> -
-
- +
+
+ {repoName}
-
-
diff --git a/src/components/__snapshots__/NotificationRow.test.tsx.snap b/src/components/__snapshots__/NotificationRow.test.tsx.snap index 635848ad4..643122d32 100644 --- a/src/components/__snapshots__/NotificationRow.test.tsx.snap +++ b/src/components/__snapshots__/NotificationRow.test.tsx.snap @@ -2,10 +2,10 @@ exports[`components/Notification.js should render itself & its children 1`] = `
diff --git a/src/components/__snapshots__/Repository.test.tsx.snap b/src/components/__snapshots__/Repository.test.tsx.snap index f62796cee..2960f4ad7 100644 --- a/src/components/__snapshots__/Repository.test.tsx.snap +++ b/src/components/__snapshots__/Repository.test.tsx.snap @@ -3,13 +3,13 @@ exports[`components/Repository.tsx should render itself & its children 1`] = ` [