diff --git a/src/components/repositories/RepositoryTable.tsx b/src/components/repositories/RepositoryTable.tsx index be4447d..98ef858 100644 --- a/src/components/repositories/RepositoryTable.tsx +++ b/src/components/repositories/RepositoryTable.tsx @@ -1,7 +1,7 @@ import { useMemo, useRef } from "react"; import Fuse from "fuse.js"; import { useVirtualizer } from "@tanstack/react-virtual"; -import { FlipHorizontal, GitFork, RefreshCw, RotateCcw } from "lucide-react"; +import { GitFork, RefreshCw, RotateCcw } from "lucide-react"; import { SiGithub, SiGitea } from "react-icons/si"; import type { Repository } from "@/lib/db/schema"; import { Button } from "@/components/ui/button"; @@ -117,9 +117,12 @@ export default function RepositoryTable({ Last Mirrored
Status
-
+
Actions
+
+ Links +
{Array.from({ length: 5 }).map((_, i) => ( @@ -142,7 +145,10 @@ export default function RepositoryTable({
-
+
+ +
+
@@ -190,9 +196,12 @@ export default function RepositoryTable({ Last Mirrored
Status
-
+
Actions
+
+ Links +
{/* table body wrapper (for a parent in virtualization) */} @@ -270,7 +279,7 @@ export default function RepositoryTable({ {/* Actions */} -
+
onSync({ repoId: repo.id ?? "" })} onRetry={() => onRetry({ repoId: repo.id ?? "" })} /> +
+ + {/* Links */} +
{(() => { const giteaUrl = getGiteaRepoUrl(repo); @@ -380,7 +393,7 @@ function RepoActionButton({ disabled ||= repo.status === "syncing"; } else if (["imported", "mirroring"].includes(repo.status)) { label = "Mirror"; - icon = ; + icon = ; onClick = onMirror; disabled ||= repo.status === "mirroring"; } else {