← snapshot
668 bytes
import { DiffHarness } from "@/components/lab/diff-harness";
export const metadata = { title: "Diff lab · lowell" };
/**
* Mounts the diff modal against an explicit pair of snapshots. It exists so
* the modal can be driven and verified without walking a whole tour first.
*/
export default async function DiffLabPage({
searchParams,
}: {
searchParams: Promise<{ from?: string; into?: string; paths?: string; repo?: string }>;
}) {
const q = await searchParams;
return (
<DiffHarness
repo={q.repo ?? "meridian-systems"}
from={q.from ?? ""}
into={q.into ?? null}
paths={(q.paths ?? "").split(",").filter(Boolean)}
/>
);
}