Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

fix(create): stop the UI telling people to add what they already added

purple9568d2d1cc02
diff --git a/src/components/create/experimental/Composer.tsx b/src/components/create/experimental/Composer.tsx
index 3d38d35e..0d281008 100644
--- a/src/components/create/experimental/Composer.tsx
+++ b/src/components/create/experimental/Composer.tsx
@@ -143,6 +143,13 @@ export function Composer({ onOpenAdvanced }: Props) {
(!meta.needsSource || !!source) &&
specialReady &&
creditsOk
+ // The "add X above" captions go stale the moment the chips are filled: mid
+ // run the motion lane still asked for the image and the video it was already
+ // sampling from. They go away once the lane reports ready. The action
+ // captions (cutout, upscale, eraser) stay, because they describe the click
+ // and not a missing input, and the eraser's mask is not part of specialReady.
+ const hintIsAboutInputs = intent === 'character' || intent === 'lipsync' || intent === 'motion'
+ const showNoPromptHint = !needPrompt && !isGenerating && !(hintIsAboutInputs && specialReady)
return (
// A stable min-height (bottom-anchored) so the prompt window occupies the
@@ -186,7 +193,7 @@ export function Composer({ onOpenAdvanced }: Props) {
)}
</AnimatePresence>
- {!needPrompt && (
+ {showNoPromptHint && (
<div className="px-3.5 py-3 t-body text-gray-500">
{noPromptHint(meta.id)}
</div>
diff --git a/src/components/layout/DownloadBadge.tsx b/src/components/layout/DownloadBadge.tsx
index ef65c3c7..4f09593e 100644
--- a/src/components/layout/DownloadBadge.tsx
+++ b/src/components/layout/DownloadBadge.tsx
@@ -51,10 +51,19 @@ export function DownloadBadge() {
}, [])
// Auto-open when a new download starts
+ const autoOpened = useRef(false)
useEffect(() => {
- if (totalActive > 0) setOpen(true)
+ if (totalActive > 0) { setOpen(true); autoOpened.current = true }
}, [totalActive])
+ // An auto-opened tray had no way back: cancel the download (or let the last
+ // one finish) and the panel kept hanging over the app reading "No active
+ // downloads" until you happened to click somewhere else. It only closes
+ // itself when it opened itself, so a tray the user opened by hand stays put.
+ useEffect(() => {
+ if (!hasAny && autoOpened.current) { setOpen(false); autoOpened.current = false }
+ }, [hasAny])
+
// Self-heal polling: comfy download progress comes from a polled Rust/bridge
// endpoint, and polling was only ever kicked off from the Discover page. So a
// download watched from anywhere else — or after the idle auto-stop fired —
@@ -73,7 +82,7 @@ export function DownloadBadge() {
<div ref={ref} className="relative">
{/* Icon trigger */}
<button
- onClick={() => setOpen(!open)}
+ onClick={() => { setOpen(!open); autoOpened.current = false }}
className={`relative p-1 rounded-md transition-colors ${
hasAny
? 'text-blue-400 hover:bg-blue-500/10'