import type { Metadata } from "next"; import { getPaths } from "yt-dlp-transcript-common/lib/paths"; import { loadCookieStatus } from "../lib/cookieStatus"; import { loadCookieControls } from "../lib/cookieControls"; import { CookiesBoard } from "./CookiesBoard"; // THE COOKIES SCREEN (plans/cookie-screen.md): one row per service the editor // reads cookies for, each with its one refresh. It reads only what the rows // show (lib/cookieStatus.ts) — never the whole settings object /settings ships // to its form — so it loads fast from a phone, and polls its own rows after. // Under each row, that service's whole session block, as /settings draws it. export const dynamic = "force-dynamic"; export const metadata: Metadata = { title: "Cookies" }; export default async function CookiesPage() { // The rows, and each service's full controls fed only its own slice of // settings (lib/cookieControls.ts) — never the whole object. const [initial, controls] = await Promise.all([loadCookieStatus(getPaths()), loadCookieControls(getPaths())]); return (

Cookies

); }