From 406957a6b37b3ee93c96e67a171bbef5134adc00 Mon Sep 17 00:00:00 2001 From: Foysal Ahamed Date: Thu, 16 Jan 2025 15:08:36 +0000 Subject: [PATCH] :sparkles: Show persistent comment on repositories table --- components/repositories/RepositoriesTable.tsx | 5 +++++ components/subject/Summary.tsx | 12 ++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/components/repositories/RepositoriesTable.tsx b/components/repositories/RepositoriesTable.tsx index 02f1c83..3fc0b53 100644 --- a/components/repositories/RepositoriesTable.tsx +++ b/components/repositories/RepositoriesTable.tsx @@ -89,6 +89,11 @@ function RepoRow(props: { repo: Repo; showEmail: boolean }) { /> )} + {subjectStatus?.comment && ( +

+ Note: {subjectStatus.comment} +

+ )}
Name
diff --git a/components/subject/Summary.tsx b/components/subject/Summary.tsx index d6ffa77..c74b146 100644 --- a/components/subject/Summary.tsx +++ b/components/subject/Summary.tsx @@ -252,7 +252,7 @@ export const SubjectSummary = ({ }) => { const [showAll, setShowAll] = useState(false) if (!stats) return null - + return (
{stats.accountStats && ( @@ -266,9 +266,13 @@ export const SubjectSummary = ({ {stats.recordsStats && ( )} - + {stats.recordsStats && stats.accountStats && ( + + )}
) }