commit c51467df94cb62e931faf542b7f9d2cb617118ea
parent 3dd00ff9617dc9f0d5ca21d65e2fedebeb74ee42
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Thu, 5 Nov 2026 02:27:24 -0500
umtool: Play on a take with its own timeline opens a post's bench on that take only (?inTake), and the bench's Back to the cut returns to that take
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/umtool/components/projects/PostBenchPage.tsx b/umtool/components/projects/PostBenchPage.tsx
@@ -62,7 +62,7 @@ async function postBenchBody({ project, id, search, inTake, takes }: { project:
const combo = combos[id] ?? null;
// Its media scene (post-media-scene.mjs): its neighbours with the same attachment, by the combo's groups.
const scene = mediaSceneOf(tl, at, counted.groups, render);
- const back = fromPlay ? playHref(project.id, { clip: id, at: Number(search.at ?? 0) || null }) : projectHref(project.id, { tab: "cut" });
+ const back = fromPlay ? playHref(project.id, { take: inTake, clip: id, at: Number(search.at ?? 0) || null }) : projectHref(project.id, { tab: "cut" });
return (
<div className="flex h-full flex-col">
<AppShell
diff --git a/umtool/components/projects/review/PlayCut.tsx b/umtool/components/projects/review/PlayCut.tsx
@@ -651,7 +651,11 @@ export default function PlayCut({
const e = now();
const it = planRef.current.items[e.cur];
// A post item: its own bench (the post's attachments' trims, its hold and crop).
- if (it?.type === "post") return postBenchHref(project, it.id, { play: { at: Math.round(Math.max(0, e.t - it.from) * 100) / 100 } });
+ if (it?.type === "post") {
+ const href = postBenchHref(project, it.id, { play: { at: Math.round(Math.max(0, e.t - it.from) * 100) / 100 } });
+ // A take with its own timeline: the bench edits that take only (?inTake, lane/ui-simplify).
+ return take && view.take?.ownTimeline ? `${href}${href.includes("?") ? "&" : "?"}inTake=${encodeURIComponent(take)}` : href;
+ }
if (!it?.clip) return null;
const at = Math.round(Math.max(0, e.t - it.from) * 100) / 100;
// A take with its own timeline: ITS bench, its patch (never the project's clip of the same id).