Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit a8c3dc5459ea47ad79f826fc7e83d9ac1d6c6495
parent f72ebd72f0fc80fa8571c64e226e4a9e52dba62d
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Thu,  5 Nov 2026 02:03:59 -0500

umtool: Play's Options -- the export of the clip on screen folded under the transport (its status stays in view, a note's Export included), with marked slots for lane/vertical's vertical and side-tweet controls

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Mumtool/components/projects/review/PlayCut.tsx | 27+++++++++++++++++----------
Mumtool/e2e/clip-export.spec.ts | 2++
2 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/umtool/components/projects/review/PlayCut.tsx b/umtool/components/projects/review/PlayCut.tsx @@ -29,6 +29,7 @@ import { useCutApp } from "../cutApp/CutApp"; import { ClipExportButtons, ClipExportStatus, useClipExport } from "../ClipExport"; import AddPost from "./AddPost"; import { AddClipToggle } from "../AddClip"; +import { Options, PanelSlot } from "@/components/ui/disclosure"; import PostItemPlayer, { postItemAssets, type PostPlan } from "./PostItemPlayer"; import ComboBadge, { type ComboInfo } from "./ComboBadge"; @@ -1267,16 +1268,22 @@ export default function PlayCut({ </button> </p> )} - {/* Export clip: the clip on screen as the cut plays it (or raw), no deck, into exports/; Download, Open folder. */} - <div className="flex flex-wrap items-center gap-1.5 text-[12px]" data-play-export=""> - <ClipExportButtons - exp={clipExport} - clip={item?.clip ? item.id : null} - why={!item?.clip ? "a card is not a clip: nothing to export" : !entry?.media ? "its window is not fetched — fetch it first" : null} - around={item?.clip && typeof entry?.start === "number" && typeof entry?.end === "number" ? { start: entry.start, end: entry.end } : null} - /> - <ClipExportStatus exp={clipExport} /> - </div> + {/* Play's Options (lane/ui-simplify): the export of the clip on screen; lane/vertical's slots. */} + <Options id="play" hint="export the clip on screen" bodyClassName="flex-col"> + {/* Export clip: the clip on screen as the cut plays it (or raw), no deck, into exports/; Download, Open folder. */} + <div className="flex flex-wrap items-center gap-1.5 text-[12px]" data-play-export=""> + <ClipExportButtons + exp={clipExport} + clip={item?.clip ? item.id : null} + why={!item?.clip ? "a card is not a clip: nothing to export" : !entry?.media ? "its window is not fetched — fetch it first" : null} + around={item?.clip && typeof entry?.start === "number" && typeof entry?.end === "number" ? { start: entry.start, end: entry.end } : null} + /> + </div> + <PanelSlot name="play-vertical" /> + <PanelSlot name="play-side-tweet" /> + </Options> + {/* Where an export is (a note's Export too, Options folded or not). */} + <ClipExportStatus exp={clipExport} /> {/* Add post (UI notes item 13): a card from the channel's posts archive, captured through the editor, on the clip on screen. */} {editable && ( <AddPost diff --git a/umtool/e2e/clip-export.spec.ts b/umtool/e2e/clip-export.spec.ts @@ -3,6 +3,7 @@ import { existsSync, readFileSync, rmSync } from "node:fs"; import path from "node:path"; import { fileURLToPath } from "node:url"; import * as urls from "./urls"; +import { openPanel } from "./panels"; // --------------------------------------------------------------------------- // Export one clip (umtool/docs/knobs.md, "Export one clip"): Play the cut's @@ -47,6 +48,7 @@ test("Play the cut: Export clip writes the clip at the playhead to exports/; Dow await ready(page); await expect(page.locator("[data-play-cut]")).toHaveAttribute("data-play-item", "c01"); + await openPanel(page, "options", "play"); const go = page.locator('[data-clip-export-go="c01"]'); await expect(go).toBeEnabled(); await go.click();