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 remote-tracking branch 'origin/main' into fix/canvas-v7-feedback
Josh Corbettf34da04e0bad
diff --cc invokeai/frontend/webv2/src/workbench/settings/store.test.tsindex 4fa649a7ac,818d006975..c5211696d0--- a/invokeai/frontend/webv2/src/workbench/settings/store.test.ts+++ b/invokeai/frontend/webv2/src/workbench/settings/store.test.ts@@@ -411,16 -411,24 +411,34 @@@ describe('normalizeWorkbenchPreference});});+describe('normalizeWorkbenchPreferences canvas operations', () => {+ it('keeps Select Object auto-process off unless it was stored as on', () => {+ expect(store.normalizeWorkbenchPreferences({}).selectObjectAutoProcess).toBe(false);+ expect(+ store.normalizeWorkbenchPreferences({ selectObjectAutoProcess: 'true' as never }).selectObjectAutoProcess+ ).toBe(false);+ expect(store.normalizeWorkbenchPreferences({ selectObjectAutoProcess: true }).selectObjectAutoProcess).toBe(true);+ });+});++ describe('installInPlace preference', () => {+ it('installs in place unless the account stored the box unticked', () => {+ expect(store.normalizeWorkbenchPreferences({}).installInPlace).toBe(true);+ expect(store.normalizeWorkbenchPreferences({ installInPlace: 'false' as never }).installInPlace).toBe(true);+ expect(store.normalizeWorkbenchPreferences({ installInPlace: false }).installInPlace).toBe(false);+ });++ it('keeps an unticked box across a reload of the account settings', async () => {+ await store.loadWorkbenchSettings();+ await store.patchWorkbenchPreferences({ installInPlace: false });++ vi.resetModules();+ store = await import('./store');++ expect((await store.loadWorkbenchSettings()).installInPlace).toBe(false);+ });+ });+describe('normalizeWorkbenchPreferences workflow editor', () => {it('keeps connections above nodes unless the preference is explicitly on', () => {expect(store.normalizeWorkbenchPreferences({}).workflowEdgesBehindNodes).toBe(false);