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): the workflow manager is a popup with a dot, not a page with a banner

purple9c83c48183c3
diff --git a/src/components/create/WorkflowsModal.tsx b/src/components/create/WorkflowsModal.tsx
index ead1044a..6cca32bd 100644
--- a/src/components/create/WorkflowsModal.tsx
+++ b/src/components/create/WorkflowsModal.tsx
@@ -1,5 +1,4 @@
import { useEffect, useMemo, useRef, useState } from 'react'
-import { AnimatePresence, motion } from 'framer-motion'
import {
Check,
FileJson,
@@ -22,6 +21,7 @@ import {
type WorkflowTagMode,
} from '../../stores/workflowStore'
import { TagPicker } from '../workflows/TagPicker'
+import { Modal } from '../ui/Modal'
import { Button } from './ui/Button'
import { EmptyState } from './ui/EmptyState'
import { Segmented } from './ui/Segmented'
@@ -41,7 +41,9 @@ const INPUT =
'rounded-[var(--radius-control)] bg-white/[0.04] border border-white/[0.08] ' +
'outline-none focus:border-white/20 transition-colors'
-/** Full-surface workflow manager, opened from the Create composer. */
+/** Workflow manager popup, opened from the Create composer. A centered
+ * dialog over the Create surface (David 2026-08-02: a window, not a page),
+ * on the same house Modal the VHS install prompt uses. */
export function WorkflowsModal({ open, onClose }: { open: boolean; onClose: () => void }) {
useEffect(() => {
if (!open) return
@@ -51,13 +53,13 @@ export function WorkflowsModal({ open, onClose }: { open: boolean; onClose: () =
}, [open, onClose])
return (
- <AnimatePresence>
- {open && <WorkflowsModalInner onClose={onClose} />}
- </AnimatePresence>
+ <Modal open={open} onClose={onClose} title="Workflows & tags" hideHeader maxWidth="max-w-2xl" panelPad="p-0">
+ <WorkflowsModalInner />
+ </Modal>
)
}
-function WorkflowsModalInner({ onClose }: { onClose: () => void }) {
+function WorkflowsModalInner() {
const [tab, setTab] = useState<PageTab>('workflows')
const {
@@ -186,34 +188,28 @@ function WorkflowsModalInner({ onClose }: { onClose: () => void }) {
}
return (
- <motion.div
- initial={{ opacity: 0 }}
- animate={{ opacity: 1 }}
- exit={{ opacity: 0 }}
- transition={{ duration: 0.15 }}
- className="fixed inset-0 z-[90] bg-white dark:bg-[#141414] flex flex-col"
- role="dialog"
- aria-modal="true"
- aria-label="Workflows and tags"
- >
- <div className="flex items-center gap-3 px-4 h-12 border-b border-white/[0.06] shrink-0">
- <Workflow size={15} className="text-lu-accent shrink-0" />
- <span className="t-title text-gray-200">Workflows &amp; tags</span>
- <div className="flex-1" />
- <Segmented
- size="sm"
- layoutId="workflows-tab"
- value={tab}
- onChange={setTab}
- options={TABS}
- ariaLabel="Workflow manager section"
- />
- <div className="flex-1" />
- <Button variant="ghost" size="sm" icon={X} iconOnly onClick={onClose} title="Close" />
+ <div className="flex flex-col">
+ {/* The Modal's floating X sits top-right; the tab switcher is centered
+ on its own row so it never fights the title for the middle. */}
+ <div className="px-5 pt-4 pb-3 border-b border-gray-200 dark:border-white/[0.06] space-y-3">
+ <div className="flex items-center gap-2">
+ <Workflow size={15} className="text-lu-accent shrink-0" />
+ <span className="t-title text-gray-900 dark:text-gray-200">Workflows &amp; tags</span>
+ </div>
+ <div className="flex justify-center">
+ <Segmented
+ size="sm"
+ layoutId="workflows-tab"
+ value={tab}
+ onChange={setTab}
+ options={TABS}
+ ariaLabel="Workflow manager section"
+ />
+ </div>
</div>
- <div className="flex-1 min-h-0 overflow-y-auto scrollbar-thin">
- <div className="mx-auto w-full max-w-[860px] px-5 py-5">
+ <div className="max-h-[62vh] overflow-y-auto scrollbar-thin">
+ <div className="px-5 py-4">
{tab === 'workflows' && (
<div className="space-y-4">
<section className="rounded-[var(--radius-panel)] bg-white/[0.03] border border-white/[0.06] p-4">
@@ -510,7 +506,7 @@ function WorkflowsModalInner({ onClose }: { onClose: () => void }) {
)}
</div>
</div>
- </motion.div>
+ </div>
)
}
diff --git a/src/components/create/experimental/Composer.tsx b/src/components/create/experimental/Composer.tsx
index a94edf9b..5b313161 100644
--- a/src/components/create/experimental/Composer.tsx
+++ b/src/components/create/experimental/Composer.tsx
@@ -14,6 +14,7 @@ import {
runCredits,
} from '../../../stores/cloudCatalogStore'
import { INTENT_MAP } from './intents'
+import { useWorkflowStore, shouldShowManagerNotice } from '../../../stores/workflowStore'
import { noPromptHint, shouldShowLaneHint } from './laneHint'
import { ModelChip } from './ModelChip'
import { SpecialControls } from './SpecialIntentControls'
@@ -59,6 +60,7 @@ export function Composer({ onOpenAdvanced, onOpenWorkflows }: Props) {
const videoInput = useCreateStore((s) => s.videoInput)
const extendSource = useCreateStore((s) => s.extendSource)
const musicDuration = useCreateStore((s) => s.musicDuration)
+ const managerNoticeSeen = useWorkflowStore((s) => s.managerNoticeSeen)
const { generate, cancel, quota } = useCreateExp()
// The Create button turns into Cancel in place — a double-click's second
@@ -225,10 +227,21 @@ export function Composer({ onOpenAdvanced, onOpenWorkflows }: Props) {
</Tooltip>
)}
{/* Custom ComfyUI graphs only run on the local backend, so the
- manager only shows where it can do something. */}
+ manager only shows where it can do something. Until the button
+ was clicked once, a small dot marks it as new (David
+ 2026-08-02: no banner line, just a minimal marker that goes
+ away on click). */}
{backend === 'local' && (
<Tooltip content="Your own ComfyUI workflows, and the tags that pair them with models.">
- <Button variant="ghost" size="sm" icon={Workflow} iconOnly onClick={onOpenWorkflows} title="Workflows and tags" />
+ <div className="relative">
+ <Button variant="ghost" size="sm" icon={Workflow} iconOnly onClick={onOpenWorkflows} title="Workflows and tags" />
+ {shouldShowManagerNotice(backend, managerNoticeSeen) && (
+ <span
+ aria-hidden
+ className="absolute top-0 right-0 w-1.5 h-1.5 rounded-full bg-lu-accent pointer-events-none"
+ />
+ )}
+ </div>
</Tooltip>
)}
{!isUtility && (
diff --git a/src/components/create/experimental/CreateExperimental.tsx b/src/components/create/experimental/CreateExperimental.tsx
index 78cb5a76..ea4fb08d 100644
--- a/src/components/create/experimental/CreateExperimental.tsx
+++ b/src/components/create/experimental/CreateExperimental.tsx
@@ -1,9 +1,9 @@
import { useCallback, useEffect, useRef, useState } from 'react'
import { AnimatePresence, motion } from 'framer-motion'
-import { AlertTriangle, Cloud, Workflow, X } from 'lucide-react'
+import { AlertTriangle, Cloud, X } from 'lucide-react'
import { useCreateStore, type GalleryItem } from '../../../stores/createStore'
import { useCloudNoticeStore, CLOUD_RETENTION_DAYS, shouldShowRetentionNotice } from '../../../stores/cloudNoticeStore'
-import { useWorkflowStore, shouldShowManagerNotice } from '../../../stores/workflowStore'
+import { useWorkflowStore } from '../../../stores/workflowStore'
import { CreateExpProvider, useCreateExp } from './CreateContext'
import { IntentBar } from './IntentBar'
import { Stage } from './Stage'
@@ -38,7 +38,6 @@ function CreateExperimentalInner() {
const isGenerating = useCreateStore((s) => s.isGenerating)
const retentionNoticeSeen = useCloudNoticeStore((s) => s.retentionNoticeSeen)
const setRetentionNoticeSeen = useCloudNoticeStore((s) => s.setRetentionNoticeSeen)
- const managerNoticeSeen = useWorkflowStore((s) => s.managerNoticeSeen)
const setManagerNoticeSeen = useWorkflowStore((s) => s.setManagerNoticeSeen)
const { modelLoadError, connected, comfyOnCpu } = useCreateExp()
@@ -223,34 +222,6 @@ function CreateExperimentalInner() {
</div>
)}
- {/* Workflow manager arrival (2.6.2). Own ComfyUI graphs used to be a
- dead end here, so the surface says once that they are not any more
- and opens the manager from the notice. Local only, same shape as the
- retention notice above: no auto-hide, dismissed by the explicit
- button, and it stays dismissed across updates. */}
- {shouldShowManagerNotice(backend, managerNoticeSeen) && (
- <div className="flex items-start gap-2 px-4 py-2 bg-lu-accent-soft border-b border-white/[0.06] text-gray-300 text-xs shrink-0">
- <Workflow size={12} className="shrink-0 mt-0.5 text-lu-accent" />
- <span className="flex-1 min-w-0">
- You can bring your own ComfyUI workflows now. Import one, tag it, and any model
- with a matching tag will offer it.
- </span>
- <button
- onClick={() => { setWorkflowsOpen(true); setManagerNoticeSeen(true) }}
- className="shrink-0 px-2 py-0.5 rounded bg-white/10 hover:bg-white/15 text-gray-100 transition-colors whitespace-nowrap"
- >
- Take a look
- </button>
- <button
- onClick={() => setManagerNoticeSeen(true)}
- className="shrink-0 text-gray-500 hover:text-gray-200"
- title="Dismiss"
- >
- <X size={14} />
- </button>
- </div>
- )}
-
{/* The viewer (Stage) and the Gallery bubble share ONE row, so they're
always the exact same height; the prompt window spans the full width
beneath them. (Previously the Gallery ran full-height alongside both the
diff --git a/src/stores/workflowStore.ts b/src/stores/workflowStore.ts
index 7f82d450..daffebd7 100644
--- a/src/stores/workflowStore.ts
+++ b/src/stores/workflowStore.ts
@@ -65,7 +65,7 @@ interface WorkflowState {
civitaiApiKey: string
civitaiHost: string
- /** One-time "the manager is here" notice on the Create surface. */
+ /** One-time "new" dot on the Composer's workflow button. */
managerNoticeSeen: boolean
setManagerNoticeSeen: (v: boolean) => void
@@ -443,11 +443,12 @@ export const useWorkflowStore = create<WorkflowState>()(
)
/**
- * Visibility rule for the one-time workflow manager notice, kept pure so it is
- * unit-testable (the JSX condition would otherwise only be provable live).
- * Local backend only — a custom ComfyUI workflow has nothing to run on in cloud
- * mode — and never again once dismissed. 'workflow-store' is in the AppShell
- * backup key list, so the dismissal survives an NSIS update.
+ * Visibility rule for the one-time "new" dot on the Composer's workflow
+ * button (David 2026-08-02: a minimal marker, not a banner), kept pure so it
+ * is unit-testable. Local backend only — a custom ComfyUI workflow has
+ * nothing to run on in cloud mode — and gone for good after the first click.
+ * 'workflow-store' is in the AppShell backup key list, so that click survives
+ * an NSIS update.
*/
export function shouldShowManagerNotice(
backend: 'local' | 'cloud',