From 3685cbf7618aca4124d042c27496367c0ba3b272 Mon Sep 17 00:00:00 2001 From: null Date: Sun, 24 May 2026 17:31:55 -0500 Subject: [PATCH] style: enhance styling and layout of ForgejoIssueDetailDialog component --- .../git/ForgejoIssueDetailDialog.tsx | 51 +++++++++++-------- 1 file changed, 29 insertions(+), 22 deletions(-) diff --git a/frontend/src/components/git/ForgejoIssueDetailDialog.tsx b/frontend/src/components/git/ForgejoIssueDetailDialog.tsx index b183c4d..62bee22 100644 --- a/frontend/src/components/git/ForgejoIssueDetailDialog.tsx +++ b/frontend/src/components/git/ForgejoIssueDetailDialog.tsx @@ -100,7 +100,9 @@ export function ForgejoIssueDetailDialog({ if (!cancelled) setIsLoading(false); } })(); - return () => { cancelled = true; }; + return () => { + cancelled = true; + }; }; useEffect(() => { @@ -178,14 +180,14 @@ export function ForgejoIssueDetailDialog({ return ( <> - - -
+ + +
{active.title} - + {repositoryName} @@ -193,8 +195,12 @@ export function ForgejoIssueDetailDialog({ #{active.forgejo_issue_number} {active.state} - Opened {formatDateTime(active.forgejo_created_at)} - Updated {formatDateTime(active.forgejo_updated_at)} + + Opened {formatDateTime(active.forgejo_created_at)} + + + Updated {formatDateTime(active.forgejo_updated_at)} +
{showCloseIssue ? ( @@ -209,11 +215,11 @@ export function ForgejoIssueDetailDialog({ ) : null}
-
+
) : null} - - - Overview - + + + + Overview + + Comments ({comments.length}) - + Timeline ({timeline.length}) - + Reactions ({reactions.length}) -
+
{body ? ( ) : ( @@ -401,8 +409,7 @@ export function ForgejoIssueDetailDialog({
) : ( reactions.map((reaction, idx) => { - const content = - asString(reaction.content) ?? "reaction"; + const content = asString(reaction.content) ?? "reaction"; const login = asString( reaction.user &&