- AI flow builder: scaffold → branch detail → assemble → review flow - Generate All one-click branch generation with stop/cancel - Regenerate scaffold suggestions button - 3-action review screen: Start Flow, Open in Editor, Build Another - Fix Publish button gated behind !isDirty - Fix visibility column enforcement in tree access filter - Add ?visibility filter and author_name to GET /trees - Dashboard tabbed flows: My Flows / My Team / Public / All - Create button in My Flows tab, window focus reload (stale data fix) - Fork UI with optional reason modal - Fix account_id nullability in User type and schema - Keep is_public and visibility in sync on updates Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
853 B
TypeScript
25 lines
853 B
TypeScript
interface GeneratingAnimationProps {
|
|
branchContext?: { current: number; total: number }
|
|
}
|
|
|
|
export function GeneratingAnimation({ branchContext }: GeneratingAnimationProps) {
|
|
return (
|
|
<div className="flex flex-col items-center justify-center gap-4 py-10">
|
|
{/* Spinner */}
|
|
<div className="h-8 w-8 animate-spin rounded-full border-2 border-border border-t-primary" />
|
|
|
|
{/* Branch context (Generate All mode) */}
|
|
{branchContext ? (
|
|
<>
|
|
<p className="text-xs font-label uppercase tracking-wide text-muted-foreground">
|
|
Branch {branchContext.current} of {branchContext.total}
|
|
</p>
|
|
<p className="text-sm text-muted-foreground">Generating branch detail...</p>
|
|
</>
|
|
) : (
|
|
<p className="text-sm text-muted-foreground">Generating...</p>
|
|
)}
|
|
</div>
|
|
)
|
|
}
|