diff --git a/src/app/page.tsx b/src/app/page.tsx index 575536a..7061c6a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -3,6 +3,7 @@ import Link from "next/link"; import { useModules, refreshModules } from "@/lib/store"; import { + boardHref, displayName, envOf, getModuleMeta, @@ -33,6 +34,22 @@ export default function Home() { const env = envOf(m.branch); const url = moduleUrl(m); const name = displayName(m.name); + const board = boardHref(m); + const boardLink = board.external ? ( + + {name} + + ) : ( + + {name} + + ); return (
@@ -45,12 +62,7 @@ export default function Home() { /> - - {name} - + {boardLink}
diff --git a/src/components/TableroView.tsx b/src/components/TableroView.tsx index 17f538e..82577aa 100644 --- a/src/components/TableroView.tsx +++ b/src/components/TableroView.tsx @@ -5,6 +5,7 @@ import SamShell from "@/components/SamShell"; import { useModules, useStats } from "@/lib/store"; import { displayName, + boardHref, envOf, getModuleMeta, moduleUrl, @@ -103,6 +104,7 @@ function AppCard({ m, stat }: { m: ModuleState; stat?: ContainerStat }) { const env = envOf(m.branch); const cpu = pct(stat?.cpu); const mem = pct(stat?.memPerc); + const board = boardHref(m); return (