import Link from "next/link"; import { fmtAgo, fmtBytes } from "@/lib/format"; import { mixHref } from "@/lib/hrefs"; import ReportBuildChain from "../ReportBuildChain"; import LookPanel from "./LookPanel"; import type { ReportTabProps } from "./shared"; // The Build tab: the final video, the look (LookPanel, release 36) and the // build chain (its job on the ONE JobProgress). The on-screen panel was parked here until P4b moved it to // the Media tab. export default function BuildTab({ project, detail }: ReportTabProps) { const { build, entries } = detail; return ( <> {build.built && (
final video {build.slug}.mp4 {fmtBytes(build.finalSize)} ยท {fmtAgo(build.finalMtimeMs)} {/* No window: the whole thing is the point of a deliverable link. */} open in mix
)} {/* --- the look: header, QR, joins, loudness, captions (release 36) */} {/* --- building it ---------------------------------------------- */} ({ id: e.id, kind: e.kind }))} /> {/* The on-screen panel moved to the Media tab (P4b). */} ); }