Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

fix(webv2): match the workflow panel's View and Edit empty states

Josh Corbett809739e94621
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/linear/FormBuilderTab.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/linear/FormBuilderTab.tsx
index 35357b46e3..321bb9fa9c 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/linear/FormBuilderTab.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/linear/FormBuilderTab.tsx
@@ -694,7 +694,7 @@ export const FormBuilderTab = ({ projectGraph }: { projectGraph: ProjectGraphSta
<BuilderDropTargetContext value={dropTarget}>
<Stack gap="2" p="3" w="full">
{rootChildren.length === 0 ? (
- <Text color="fg.subtle" fontSize="2xs">
+ <Text color="fg.muted" fontSize="2xs">
The form is empty. Pin fields from the Workflow editor's nodes, then arrange them here — drag card title
bars to reorder, drop them into containers, and add headings or dividers below.
</Text>
diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/linear/LinearFormView.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/linear/LinearFormView.tsx
index 243920d9c3..e38d1f355e 100644
--- a/invokeai/frontend/webv2/src/features/workflow/ui/linear/LinearFormView.tsx
+++ b/invokeai/frontend/webv2/src/features/workflow/ui/linear/LinearFormView.tsx
@@ -47,7 +47,8 @@ export const LinearFormView = ({ projectGraph }: { projectGraph: ProjectGraphSta
if (rootChildren.length === 0) {
return (
- <Stack gap="2" px="1" py="1">
+ // Same inset and color as the Edit tab's empty state and as this view once it has fields.
+ <Stack gap="2" p="3">
<Text color="fg.muted" fontSize="2xs">
No fields are exposed yet. Pin fields in the Workflow editor, or switch to Edit mode to build this form — it
maps the project graph to simple controls, like the legacy Linear UI.