Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Merge origin/claude/fuobe-parity-4 into o/n7-11-moss-sheets-control

Claudeda161002833a
diff --cc src/components/storyboard-view.tsx
index 11389a2d,a95c748b..225f2ac1
--- a/src/components/storyboard-view.tsx
+++ b/src/components/storyboard-view.tsx
@@@ -37,8 -24,8 +37,9 @@@ import { lookCard } from "@/lib/catalog
import type { Engine, Generation } from "@/lib/catalog/types";
import { timeAgo } from "@/lib/format";
import { BOARD_TITLES_KEY, boardTitle, filmReady, rememberTitle } from "@/lib/storyboard-board";
+ import { animateHref, MAX_KEYS } from "@/lib/inbetween";
import { cn } from "@/lib/utils";
+import { ratioValue } from "@/lib/format";
import { responseError, toastError } from "@/lib/refusals";
const ASPECTS: readonly string[] = STORYBOARD_ASPECTS;
@@@ -376,13 -258,34 +377,37 @@@ function Board(
<div className="min-w-0 flex-1 basis-60">
<h3 className="line-clamp-2 font-heading text-[19px] leading-snug">{boardTitle(frames, idea)}</h3>
<p className="text-[12px] text-muted-foreground">
- {frames.length} frames · {done === frames.length ? "done" : `${done}/${frames.length} ready`} · {modelName(first, names)} · {timeAgo(first.createdAt)}
+ {sheet
+ ? `${sheet.panels.length} panels on one sheet · ${sheetState(first.status)}`
+ : `${frames.length} frames · ${done === frames.length ? "done" : `${done}/${frames.length} ready`}`}{" "}
+ · {modelName(first, names)} · {timeAgo(first.createdAt)}
</p>
</div>
- <div className="flex shrink-0 items-center gap-1">
+ <div className="flex shrink-0 flex-wrap items-center gap-1">
+ {frames.length > 1 && (
+ <Tooltip>
+ <TooltipTrigger asChild>
+ {ready ? (
+ <Button asChild variant="ghost" size="sm" className="whitespace-nowrap">
+ <Link href={animateHref(frames.map((f) => f.outputs[0]?.url).filter((u): u is string => !!u), idea)} data-animate-panels>
+ <Sparkles /> Animate these panels
+ </Link>
+ </Button>
+ ) : (
+ <span tabIndex={0} className="inline-flex rounded-md outline-none focus-visible:ring-2 focus-visible:ring-ring">
+ <Button variant="ghost" size="sm" disabled className="whitespace-nowrap">
+ <Sparkles /> Animate these panels
+ </Button>
+ </span>
+ )}
+ </TooltipTrigger>
+ <TooltipContent>
+ {ready
+ ? `The panels become keyframes${frames.length > MAX_KEYS ? ` (the first ${MAX_KEYS})` : ""}, and the motion between them is drawn in an animation style`
+ : `Ready when all ${frames.length} frames are done`}
+ </TooltipContent>
+ </Tooltip>
+ )}
{!film.length && frames.length > 1 && first.batchId && (
<Tooltip>
<TooltipTrigger asChild>