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.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
Merge branch 'main' into fix/restore-preview-edit-rail
Lincoln Steinecc6f3466cba
diff --cc invokeai/frontend/webv2/src/workbench/layoutPresets.test.tsindex 6b6b48307d,d0af3f0ca8..328960405b--- a/invokeai/frontend/webv2/src/workbench/layoutPresets.test.ts+++ b/invokeai/frontend/webv2/src/workbench/layoutPresets.test.ts@@@ -120,11 -120,10 +120,11 @@@ describe('built-in layout preset descri},bottom: ['server-status', 'queue-status', 'gallery:bottom', 'notifications', 'autosave-status'],center: ['canvas', 'preview'],- left: ['generate', 'upscale', 'video'],+ left: ['generate', 'upscale'],panels: { isBottomOpen: false, isLeftOpen: true, isRightOpen: true },- // The Edit rail is the Layers panel alone; its editors are panes inside it.- right: ['layers'],+ // The editors are panes inside the Layers panel; the preview docks+ // behind Layers so its float/dock surface stays reachable by default.+ right: ['layers', 'preview'],},video: {active: { bottom: 'gallery:bottom', center: 'preview', left: 'video', right: 'gallery' },diff --cc invokeai/frontend/webv2/src/workbench/widget-frame/createWidgetRuntime.test.tsindex c09f1790b3,48c1380250..87b6f30240--- a/invokeai/frontend/webv2/src/workbench/widget-frame/createWidgetRuntime.test.ts+++ b/invokeai/frontend/webv2/src/workbench/widget-frame/createWidgetRuntime.test.ts@@@ -54,10 -54,10 +54,11 @@@ const createDispatch = () =>const widgets: WorkbenchWidgetCommands = {dockFloating: (instanceId) => dispatch({ instanceId, type: 'dockFloatingWidget' }),- float: (instanceId) => dispatch({ instanceId, type: 'floatWidget' }),+ float: (instanceId, region) =>+ dispatch(region ? { instanceId, region, type: 'floatWidget' } : { instanceId, type: 'floatWidget' }),focusFloating: (instanceId) => dispatch({ instanceId, type: 'focusFloatingWidget' }),move: (options) => dispatch({ ...options, type: 'moveWidgetInstance' }),+ setAlignment: (options) => dispatch({ ...options, type: 'setWidgetInstanceAlignment' }),open: (options) => dispatch({ ...options, type: 'openRegionWidget' }),patchInstanceValues: (instanceId, values, projectId) =>dispatch({ instanceId, projectId, type: 'patchWidgetInstanceValues', values }),diff --cc invokeai/frontend/webv2/src/workbench/workbenchState.tsindex 54682e6107,dbc190d0e9..006538af93--- a/invokeai/frontend/webv2/src/workbench/workbenchState.ts+++ b/invokeai/frontend/webv2/src/workbench/workbenchState.ts@@@ -235,14 -239,10 +239,15 @@@ type WorkbenchReducerActionactiveInstanceId?: WidgetInstanceId;instanceIds: WidgetInstanceId[];}+ | { type: 'setWidgetInstanceAlignment'; region: WidgetRegion; instanceId: WidgetInstanceId; align: 'start' | 'end' }| { type: 'setRegionWidgetCollapsed'; region: WidgetRegion; isCollapsed: boolean }| { type: 'setRegionWidgetSize'; region: WidgetRegion; sizePx: number }- | { type: 'floatWidget'; instanceId: WidgetInstanceId }+ | {+ type: 'floatWidget';+ instanceId: WidgetInstanceId;+ /** The chrome the float was asked from; docking returns the window there. */+ region?: WidgetRegion;+ }| { type: 'dockFloatingWidget'; instanceId: WidgetInstanceId }| {type: 'setFloatingWidgetGeometry';