From eb0c161ecb2016f8f3784026e55a639b3fbee153 Mon Sep 17 00:00:00 2001 From: Chris Scott Date: Tue, 25 Nov 2025 16:46:09 -0500 Subject: [PATCH] reduce clutter on repo card --- frontend/src/components/repo/RepoCard.tsx | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/frontend/src/components/repo/RepoCard.tsx b/frontend/src/components/repo/RepoCard.tsx index e1156b34..df878d22 100644 --- a/frontend/src/components/repo/RepoCard.tsx +++ b/frontend/src/components/repo/RepoCard.tsx @@ -31,7 +31,6 @@ export function RepoCard({ const [addBranchOpen, setAddBranchOpen] = useState(false); const repoName = repo.repoUrl.split("/").slice(-1)[0].replace(".git", ""); const branchToDisplay = repo.currentBranch || repo.branch; - const displayName = branchToDisplay ? `${repoName} (${branchToDisplay})` : repoName; const isReady = repo.cloneStatus === "ready"; return ( @@ -71,7 +70,7 @@ export function RepoCard({ isReady ? "cursor-pointer" : "cursor-not-allowed opacity-60" }`} > - {displayName} + {repoName} {repo.isWorktree && ( )} - {repo.cloneStatus && ( + {repo.cloneStatus === "cloning" && ( - {repo.cloneStatus} + cloning )} -

{repo.repoUrl}

+

+ + {branchToDisplay} +