import Link from "next/link"; import type { ActivityItem } from "@/lib/activity"; import { fmtAgo } from "@/lib/format"; import NowLive from "./NowLive"; import Panel from "./Panel"; // What is running, and what ran. Two registries (chain jobs, mix renders), one // list -- merged in lib/activity.ts, never here. export default function NowPanel({ running, recent, }: { running: ActivityItem | null; recent: ActivityItem[]; }) { const done = recent.filter((a) => a.state !== "running"); return ( {done.length > 0 && ( )} ); }