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 'v7/main' into fix/ui-fixes-compendium-01
joshistoast6d496c0caab7
diff --cc invokeai/frontend/webv2/performance/architecture-baseline.jsonindex d1da5f9046,54559948c8..1ba8182061--- a/invokeai/frontend/webv2/performance/architecture-baseline.json+++ b/invokeai/frontend/webv2/performance/architecture-baseline.json@@@ -2,15 -2,15 +2,15 @@@"build": {"launchpad": {"baseline": {- "brotliBytes": 832456,- "brotliBytes": 830929,++ "brotliBytes": 832111,"cssRawBytes": 2159,"fontRawBytes": 219480,- "gzipBytes": 832132,- "gzipBytes": 829538,++ "gzipBytes": 831930,"imageRawBytes": 156376,- "initialRawBytes": 1932874,- "initialRawBytes": 1929616,- "largestAssetRawBytes": 746314,++ "initialRawBytes": 1933595,+ "largestAssetRawBytes": 746305,"otherAssetRawBytes": 0,- "ownedRawBytes": 66746,- "ownedRawBytes": 66668,++ "ownedRawBytes": 66782,"requestCount": 41,"scriptRequestCount": 25,"sourceOwners": [@@@ -280,15 -279,15 +280,15 @@@]},"limits": {- "brotliBytes": 840781,- "brotliBytes": 839239,++ "brotliBytes": 840433,"cssRawBytes": 2181,"fontRawBytes": 221675,- "gzipBytes": 840454,- "gzipBytes": 837834,++ "gzipBytes": 840250,"imageRawBytes": 157940,- "initialRawBytes": 1952203,- "initialRawBytes": 1948913,- "largestAssetRawBytes": 753778,++ "initialRawBytes": 1952931,+ "largestAssetRawBytes": 753769,"otherAssetRawBytes": 0,- "ownedRawBytes": 66746,- "ownedRawBytes": 66668,++ "ownedRawBytes": 66782,"requestCount": 41,"scriptRequestCount": 25},@@@ -298,17 -297,17 +298,17 @@@},"editor": {"baseline": {- "brotliBytes": 1026239,- "brotliBytes": 1024230,++ "brotliBytes": 1029041,"cssRawBytes": 2159,"fontRawBytes": 219480,- "gzipBytes": 1023297,- "gzipBytes": 1019779,++ "gzipBytes": 1026446,"imageRawBytes": 156376,- "initialRawBytes": 2516151,- "initialRawBytes": 2510955,- "largestAssetRawBytes": 746314,++ "initialRawBytes": 2524281,+ "largestAssetRawBytes": 746305,"otherAssetRawBytes": 0,- "ownedRawBytes": 110197,- "requestCount": 87,- "scriptRequestCount": 71,- "ownedRawBytes": 107337,- "requestCount": 86,- "scriptRequestCount": 70,++ "ownedRawBytes": 111344,++ "requestCount": 88,++ "scriptRequestCount": 72,"sourceOwners": ["package:@ark-ui/react","package:@chakra-ui/react",@@@ -825,17 -815,17 +827,17 @@@]},"limits": {- "brotliBytes": 1036502,- "brotliBytes": 1034473,++ "brotliBytes": 1039332,"cssRawBytes": 2181,"fontRawBytes": 221675,- "gzipBytes": 1033530,- "gzipBytes": 1029977,++ "gzipBytes": 1036711,"imageRawBytes": 157940,- "initialRawBytes": 2541313,- "initialRawBytes": 2536065,- "largestAssetRawBytes": 753778,++ "initialRawBytes": 2549524,+ "largestAssetRawBytes": 753769,"otherAssetRawBytes": 0,- "ownedRawBytes": 110197,- "requestCount": 87,- "scriptRequestCount": 71- "ownedRawBytes": 107337,- "requestCount": 86,- "scriptRequestCount": 70++ "ownedRawBytes": 111344,++ "requestCount": 88,++ "scriptRequestCount": 72},"owner": "workbench","remediationTicket": "deepen-widget-registry-loading",diff --cc invokeai/frontend/webv2/performance/browser-baseline.jsonindex f9aff2a23f,1da0663f17..7613287572--- a/invokeai/frontend/webv2/performance/browser-baseline.json+++ b/invokeai/frontend/webv2/performance/browser-baseline.json@@@ -1,6 -1,6 +1,6 @@@{-- "browserExecutable": "/home/lstein/.cache/ms-playwright/chromium-1234/chrome-linux64/chrome",-- "capturedAt": "2026-08-14",++ "browserExecutable": "/home/toast/.cache/ms-playwright/chromium-1234/chrome-linux64/chrome",++ "capturedAt": "2026-08-16","routes": [{"activatedResourceBaseline": {@@@ -25,11 -25,11 +25,11 @@@"scriptRequestCount": 0,"totalRawBytes": 0},- "domContentLoadedMedianMs": 93.7000002861023,- "domContentLoadedMedianMs": 91.5,++ "domContentLoadedMedianMs": 117.10000000149012,"id": "launchpad","layoutSwitchMedianMs": 0,- "loadMedianMs": 93.7000002861023,- "longestTaskMaxMs": 57,- "loadMedianMs": 91.5,- "longestTaskMaxMs": 55,++ "loadMedianMs": 117.10000000149012,++ "longestTaskMaxMs": 71,"owner": "app","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:launchpad",@@@ -38,25 -38,25 +38,25 @@@"cssRawBytes": 2159,"fontRawBytes": 23664,"imageRawBytes": 0,-- "largestAssetRawBytes": 746314,- "otherRawBytes": 134821,- "otherRawBytes": 135056,++ "largestAssetRawBytes": 746305,++ "otherRawBytes": 135938,"requestCount": 36,- "scriptRawBytes": 1599292,- "scriptRawBytes": 1600050,++ "scriptRawBytes": 1605091,"scriptRequestCount": 32,- "totalRawBytes": 1759936- "totalRawBytes": 1760929++ "totalRawBytes": 1766852},"resourceLimits": {"cssRawBytes": 2181,"fontRawBytes": 23901,"imageRawBytes": 0,-- "largestAssetRawBytes": 753778,- "otherRawBytes": 136170,- "otherRawBytes": 136407,++ "largestAssetRawBytes": 753769,++ "otherRawBytes": 137298,"requestCount": 36,- "scriptRawBytes": 1615285,- "scriptRawBytes": 1616051,++ "scriptRawBytes": 1621142,"scriptRequestCount": 32,- "totalRawBytes": 1777536- "totalRawBytes": 1778539++ "totalRawBytes": 1784521},- "routeReadyMedianMs": 201.5,- "routeReadyMedianMs": 204.7999997138977,++ "routeReadyMedianMs": 256.1000000014901,"scriptSourceOwnerSet": "launchpad-static","stateProfile": "empty"},@@@ -83,11 -83,11 +83,11 @@@"scriptRequestCount": 0,"totalRawBytes": 0},- "domContentLoadedMedianMs": 89.69999980926514,- "domContentLoadedMedianMs": 91.80000019073486,++ "domContentLoadedMedianMs": 116.89999999850988,"id": "launchpad","layoutSwitchMedianMs": 0,- "loadMedianMs": 89.7999997138977,- "longestTaskMaxMs": 54,- "loadMedianMs": 91.80000019073486,- "longestTaskMaxMs": 58,++ "loadMedianMs": 116.89999999850988,++ "longestTaskMaxMs": 69,"owner": "app","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:launchpad",@@@ -96,25 -96,25 +96,25 @@@"cssRawBytes": 2159,"fontRawBytes": 23664,"imageRawBytes": 0,-- "largestAssetRawBytes": 746314,- "otherRawBytes": 134821,- "otherRawBytes": 135056,++ "largestAssetRawBytes": 746305,++ "otherRawBytes": 135938,"requestCount": 36,- "scriptRawBytes": 1599292,- "scriptRawBytes": 1600050,++ "scriptRawBytes": 1605091,"scriptRequestCount": 32,- "totalRawBytes": 1759936- "totalRawBytes": 1760929++ "totalRawBytes": 1766852},"resourceLimits": {"cssRawBytes": 2181,"fontRawBytes": 23901,"imageRawBytes": 0,-- "largestAssetRawBytes": 753778,- "otherRawBytes": 136170,- "otherRawBytes": 136407,++ "largestAssetRawBytes": 753769,++ "otherRawBytes": 137298,"requestCount": 36,- "scriptRawBytes": 1615285,- "scriptRawBytes": 1616051,++ "scriptRawBytes": 1621142,"scriptRequestCount": 32,- "totalRawBytes": 1777536- "totalRawBytes": 1778539++ "totalRawBytes": 1784521},- "routeReadyMedianMs": 214.39999961853027,- "routeReadyMedianMs": 220.10000038146973,++ "routeReadyMedianMs": 273.3999999985099,"scriptSourceOwnerSet": "launchpad-static","stateProfile": "representative"},@@@ -141,38 -141,38 +141,38 @@@"scriptRequestCount": 0,"totalRawBytes": 0},- "domContentLoadedMedianMs": 108.30000019073486,- "domContentLoadedMedianMs": 93.19999980926514,++ "domContentLoadedMedianMs": 118.59999999403954,"id": "editor-minimal","layoutSwitchMedianMs": 0,- "loadMedianMs": 108.30000019073486,- "longestTaskMaxMs": 76,- "loadMedianMs": 93.19999980926514,- "longestTaskMaxMs": 74,++ "loadMedianMs": 118.59999999403954,++ "longestTaskMaxMs": 96,"owner": "workbench",- "projectSwitchMedianMs": 29.40000009536743,- "projectSwitchMedianMs": 24.800000190734863,++ "projectSwitchMedianMs": 33.100000001490116,"readyMark": "invokeai:ready:widget:center:preview","remediationTicket": "deepen-widget-registry-loading","resourceBaseline": {"cssRawBytes": 17572,"fontRawBytes": 23664,"imageRawBytes": 156376,-- "largestAssetRawBytes": 746314,- "otherRawBytes": 134821,- "requestCount": 110,- "scriptRawBytes": 3322685,- "scriptRequestCount": 104,- "totalRawBytes": 3655118- "otherRawBytes": 135056,- "requestCount": 111,- "scriptRawBytes": 3328252,- "scriptRequestCount": 105,- "totalRawBytes": 3660920++ "largestAssetRawBytes": 746305,++ "otherRawBytes": 135938,++ "requestCount": 113,++ "scriptRawBytes": 3366465,++ "scriptRequestCount": 107,++ "totalRawBytes": 3700015},"resourceLimits": {"cssRawBytes": 17748,"fontRawBytes": 23901,"imageRawBytes": 157940,-- "largestAssetRawBytes": 753778,- "otherRawBytes": 136170,- "requestCount": 110,- "scriptRawBytes": 3355912,- "scriptRequestCount": 104,- "totalRawBytes": 3691670- "otherRawBytes": 136407,- "requestCount": 111,- "scriptRawBytes": 3361535,- "scriptRequestCount": 105,- "totalRawBytes": 3697530++ "largestAssetRawBytes": 753769,++ "otherRawBytes": 137298,++ "requestCount": 113,++ "scriptRawBytes": 3400130,++ "scriptRequestCount": 107,++ "totalRawBytes": 3737016},- "routeReadyMedianMs": 589.1999998092651,- "routeReadyMedianMs": 571.8999996185303,++ "routeReadyMedianMs": 643.1000000014901,"scriptSourceOwnerSet": "editor-minimal-static","stateProfile": "empty"},@@@ -199,38 -199,38 +199,38 @@@"scriptRequestCount": 0,"totalRawBytes": 0},- "domContentLoadedMedianMs": 94.5,- "domContentLoadedMedianMs": 89.69999980926514,++ "domContentLoadedMedianMs": 115.10000000149012,"id": "editor-minimal","layoutSwitchMedianMs": 0,- "loadMedianMs": 94.5,- "longestTaskMaxMs": 72,- "loadMedianMs": 89.69999980926514,- "longestTaskMaxMs": 88,++ "loadMedianMs": 115.10000000149012,++ "longestTaskMaxMs": 97,"owner": "workbench",- "projectSwitchMedianMs": 49,- "projectSwitchMedianMs": 40.90000009536743,++ "projectSwitchMedianMs": 49.5,"readyMark": "invokeai:ready:widget:center:preview","remediationTicket": "deepen-widget-registry-loading","resourceBaseline": {"cssRawBytes": 17572,"fontRawBytes": 23664,"imageRawBytes": 156376,-- "largestAssetRawBytes": 746314,- "otherRawBytes": 134821,- "requestCount": 110,- "scriptRawBytes": 3322685,- "scriptRequestCount": 104,- "totalRawBytes": 3655118- "otherRawBytes": 135056,- "requestCount": 111,- "scriptRawBytes": 3328252,- "scriptRequestCount": 105,- "totalRawBytes": 3660920++ "largestAssetRawBytes": 746305,++ "otherRawBytes": 135938,++ "requestCount": 113,++ "scriptRawBytes": 3366465,++ "scriptRequestCount": 107,++ "totalRawBytes": 3700015},"resourceLimits": {"cssRawBytes": 17748,"fontRawBytes": 23901,"imageRawBytes": 157940,-- "largestAssetRawBytes": 753778,- "otherRawBytes": 136170,- "requestCount": 110,- "scriptRawBytes": 3355912,- "scriptRequestCount": 104,- "totalRawBytes": 3691670- "otherRawBytes": 136407,- "requestCount": 111,- "scriptRawBytes": 3361535,- "scriptRequestCount": 105,- "totalRawBytes": 3697530++ "largestAssetRawBytes": 753769,++ "otherRawBytes": 137298,++ "requestCount": 113,++ "scriptRawBytes": 3400130,++ "scriptRequestCount": 107,++ "totalRawBytes": 3737016},- "routeReadyMedianMs": 602.5999999046326,- "routeReadyMedianMs": 597,++ "routeReadyMedianMs": 688.2999999970198,"scriptSourceOwnerSet": "editor-minimal-static","stateProfile": "representative"},@@@ -239,29 -239,29 +239,29 @@@"cssRawBytes": 0,"fontRawBytes": 0,"imageRawBytes": 0,-- "largestAssetRawBytes": 135469,++ "largestAssetRawBytes": 135462,"otherRawBytes": 0,"requestCount": 5,- "scriptRawBytes": 283729,- "scriptRawBytes": 283748,++ "scriptRawBytes": 283906,"scriptRequestCount": 5,- "totalRawBytes": 283729- "totalRawBytes": 283748++ "totalRawBytes": 283906},"activatedResourceLimits": {"cssRawBytes": 0,"fontRawBytes": 0,"imageRawBytes": 0,-- "largestAssetRawBytes": 136824,++ "largestAssetRawBytes": 136817,"otherRawBytes": 0,"requestCount": 5,- "scriptRawBytes": 286567,- "scriptRawBytes": 286586,++ "scriptRawBytes": 286746,"scriptRequestCount": 5,- "totalRawBytes": 286567- "totalRawBytes": 286586++ "totalRawBytes": 286746},- "domContentLoadedMedianMs": 92.90000009536743,- "domContentLoadedMedianMs": 91.90000009536743,++ "domContentLoadedMedianMs": 113,"id": "editor-canvas",- "layoutSwitchMedianMs": 54.40000009536743,- "loadMedianMs": 92.90000009536743,- "layoutSwitchMedianMs": 54.19999980926514,- "loadMedianMs": 92,-- "longestTaskMaxMs": 78,++ "layoutSwitchMedianMs": 62.600000001490116,++ "loadMedianMs": 113,++ "longestTaskMaxMs": 99,"owner": "canvas","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:widget:center:canvas",@@@ -270,25 -270,25 +270,25 @@@"cssRawBytes": 17572,"fontRawBytes": 23664,"imageRawBytes": 156376,-- "largestAssetRawBytes": 746314,- "otherRawBytes": 134821,- "requestCount": 115,- "scriptRawBytes": 3606414,- "scriptRequestCount": 109,- "totalRawBytes": 3938847- "otherRawBytes": 135056,- "requestCount": 116,- "scriptRawBytes": 3612000,- "scriptRequestCount": 110,- "totalRawBytes": 3944668++ "largestAssetRawBytes": 746305,++ "otherRawBytes": 135938,++ "requestCount": 118,++ "scriptRawBytes": 3650371,++ "scriptRequestCount": 112,++ "totalRawBytes": 3983921},"resourceLimits": {"cssRawBytes": 17748,"fontRawBytes": 23901,"imageRawBytes": 157940,-- "largestAssetRawBytes": 753778,- "otherRawBytes": 136170,- "requestCount": 115,- "scriptRawBytes": 3642479,- "scriptRequestCount": 109,- "totalRawBytes": 3978236- "otherRawBytes": 136407,- "requestCount": 116,- "scriptRawBytes": 3648120,- "scriptRequestCount": 110,- "totalRawBytes": 3984115++ "largestAssetRawBytes": 753769,++ "otherRawBytes": 137298,++ "requestCount": 118,++ "scriptRawBytes": 3686875,++ "scriptRequestCount": 112,++ "totalRawBytes": 4023761},- "routeReadyMedianMs": 997.5,- "routeReadyMedianMs": 996.5,++ "routeReadyMedianMs": 1085.1999999955297,"scriptSourceOwnerSet": "editor-canvas-static","stateProfile": "empty"},@@@ -297,29 -297,29 +297,29 @@@"cssRawBytes": 0,"fontRawBytes": 0,"imageRawBytes": 0,-- "largestAssetRawBytes": 135469,++ "largestAssetRawBytes": 135462,"otherRawBytes": 0,"requestCount": 5,- "scriptRawBytes": 283729,- "scriptRawBytes": 283748,++ "scriptRawBytes": 283906,"scriptRequestCount": 5,- "totalRawBytes": 283729- "totalRawBytes": 283748++ "totalRawBytes": 283906},"activatedResourceLimits": {"cssRawBytes": 0,"fontRawBytes": 0,"imageRawBytes": 0,-- "largestAssetRawBytes": 136824,++ "largestAssetRawBytes": 136817,"otherRawBytes": 0,"requestCount": 5,- "scriptRawBytes": 286567,- "scriptRawBytes": 286586,++ "scriptRawBytes": 286746,"scriptRequestCount": 5,- "totalRawBytes": 286567- "totalRawBytes": 286586++ "totalRawBytes": 286746},- "domContentLoadedMedianMs": 91.09999990463257,- "domContentLoadedMedianMs": 96.2000002861023,++ "domContentLoadedMedianMs": 111.60000000149012,"id": "editor-canvas",- "layoutSwitchMedianMs": 139.40000009536743,- "loadMedianMs": 91.09999990463257,- "longestTaskMaxMs": 263,- "layoutSwitchMedianMs": 136.69999980926514,- "loadMedianMs": 96.2000002861023,- "longestTaskMaxMs": 284,++ "layoutSwitchMedianMs": 188.20000000298023,++ "loadMedianMs": 111.60000000149012,++ "longestTaskMaxMs": 362,"owner": "canvas","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:widget:center:canvas",@@@ -328,25 -328,25 +328,25 @@@"cssRawBytes": 17572,"fontRawBytes": 23664,"imageRawBytes": 156376,-- "largestAssetRawBytes": 746314,- "otherRawBytes": 134821,- "requestCount": 115,- "scriptRawBytes": 3606414,- "scriptRequestCount": 109,- "totalRawBytes": 3938847- "otherRawBytes": 135056,- "requestCount": 116,- "scriptRawBytes": 3612000,- "scriptRequestCount": 110,- "totalRawBytes": 3944668++ "largestAssetRawBytes": 746305,++ "otherRawBytes": 135938,++ "requestCount": 118,++ "scriptRawBytes": 3650371,++ "scriptRequestCount": 112,++ "totalRawBytes": 3983921},"resourceLimits": {"cssRawBytes": 17748,"fontRawBytes": 23901,"imageRawBytes": 157940,-- "largestAssetRawBytes": 753778,- "otherRawBytes": 136170,- "requestCount": 115,- "scriptRawBytes": 3642479,- "scriptRequestCount": 109,- "totalRawBytes": 3978236- "otherRawBytes": 136407,- "requestCount": 116,- "scriptRawBytes": 3648120,- "scriptRequestCount": 110,- "totalRawBytes": 3984115++ "largestAssetRawBytes": 753769,++ "otherRawBytes": 137298,++ "requestCount": 118,++ "scriptRawBytes": 3686875,++ "scriptRequestCount": 112,++ "totalRawBytes": 4023761},- "routeReadyMedianMs": 1106.5,- "routeReadyMedianMs": 1106.6999998092651,++ "routeReadyMedianMs": 1241.6999999955297,"scriptSourceOwnerSet": "editor-canvas-static","stateProfile": "representative"},@@@ -373,11 -373,11 +373,11 @@@"scriptRequestCount": 0,"totalRawBytes": 0},- "domContentLoadedMedianMs": 102.09999990463257,- "domContentLoadedMedianMs": 94,++ "domContentLoadedMedianMs": 115.79999999701977,"id": "editor-workflow",- "layoutSwitchMedianMs": 54,- "loadMedianMs": 102.09999990463257,- "longestTaskMaxMs": 73,- "layoutSwitchMedianMs": 51.30000019073486,- "loadMedianMs": 94,- "longestTaskMaxMs": 75,++ "layoutSwitchMedianMs": 59.70000000298023,++ "loadMedianMs": 115.79999999701977,++ "longestTaskMaxMs": 100,"owner": "workflow","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:widget:center:workflow",@@@ -386,25 -386,25 +386,25 @@@"cssRawBytes": 17572,"fontRawBytes": 23664,"imageRawBytes": 156376,-- "largestAssetRawBytes": 746314,- "otherRawBytes": 134821,- "requestCount": 110,- "scriptRawBytes": 3322685,- "scriptRequestCount": 104,- "totalRawBytes": 3655118- "otherRawBytes": 135056,- "requestCount": 111,- "scriptRawBytes": 3328252,- "scriptRequestCount": 105,- "totalRawBytes": 3660920++ "largestAssetRawBytes": 746305,++ "otherRawBytes": 135938,++ "requestCount": 113,++ "scriptRawBytes": 3366465,++ "scriptRequestCount": 107,++ "totalRawBytes": 3700015},"resourceLimits": {"cssRawBytes": 17748,"fontRawBytes": 23901,"imageRawBytes": 157940,-- "largestAssetRawBytes": 753778,- "otherRawBytes": 136170,- "requestCount": 110,- "scriptRawBytes": 3355912,- "scriptRequestCount": 104,- "totalRawBytes": 3691670- "otherRawBytes": 136407,- "requestCount": 111,- "scriptRawBytes": 3361535,- "scriptRequestCount": 105,- "totalRawBytes": 3697530++ "largestAssetRawBytes": 753769,++ "otherRawBytes": 137298,++ "requestCount": 113,++ "scriptRawBytes": 3400130,++ "scriptRequestCount": 107,++ "totalRawBytes": 3737016},- "routeReadyMedianMs": 1011.5999999046326,- "routeReadyMedianMs": 982.4000000953674,++ "routeReadyMedianMs": 1084.3999999985099,"scriptSourceOwnerSet": "editor-minimal-static","stateProfile": "empty"},@@@ -431,11 -431,11 +431,11 @@@"scriptRequestCount": 0,"totalRawBytes": 0},- "domContentLoadedMedianMs": 89.90000009536743,- "domContentLoadedMedianMs": 96.09999990463257,++ "domContentLoadedMedianMs": 115.5,"id": "editor-workflow",- "layoutSwitchMedianMs": 82,- "loadMedianMs": 89.90000009536743,- "longestTaskMaxMs": 261,- "layoutSwitchMedianMs": 85.59999990463257,- "loadMedianMs": 96.09999990463257,- "longestTaskMaxMs": 269,++ "layoutSwitchMedianMs": 111.69999999552965,++ "loadMedianMs": 115.5,++ "longestTaskMaxMs": 369,"owner": "workflow","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:widget:center:workflow",@@@ -444,25 -444,25 +444,25 @@@"cssRawBytes": 17572,"fontRawBytes": 23664,"imageRawBytes": 156376,-- "largestAssetRawBytes": 746314,- "otherRawBytes": 134821,- "requestCount": 110,- "scriptRawBytes": 3322685,- "scriptRequestCount": 104,- "totalRawBytes": 3655118- "otherRawBytes": 135056,- "requestCount": 111,- "scriptRawBytes": 3328252,- "scriptRequestCount": 105,- "totalRawBytes": 3660920++ "largestAssetRawBytes": 746305,++ "otherRawBytes": 135938,++ "requestCount": 113,++ "scriptRawBytes": 3366465,++ "scriptRequestCount": 107,++ "totalRawBytes": 3700015},"resourceLimits": {"cssRawBytes": 17748,"fontRawBytes": 23901,"imageRawBytes": 157940,-- "largestAssetRawBytes": 753778,- "otherRawBytes": 136170,- "requestCount": 110,- "scriptRawBytes": 3355912,- "scriptRequestCount": 104,- "totalRawBytes": 3691670- "otherRawBytes": 136407,- "requestCount": 111,- "scriptRawBytes": 3361535,- "scriptRequestCount": 105,- "totalRawBytes": 3697530++ "largestAssetRawBytes": 753769,++ "otherRawBytes": 137298,++ "requestCount": 113,++ "scriptRawBytes": 3400130,++ "scriptRequestCount": 107,++ "totalRawBytes": 3737016},- "routeReadyMedianMs": 1049,- "routeReadyMedianMs": 1054,++ "routeReadyMedianMs": 1176.7999999970198,"scriptSourceOwnerSet": "editor-minimal-static","stateProfile": "representative"},@@@ -489,11 -489,11 +489,11 @@@"scriptRequestCount": 0,"totalRawBytes": 0},- "domContentLoadedMedianMs": 94.7999997138977,- "domContentLoadedMedianMs": 91.59999990463257,++ "domContentLoadedMedianMs": 112.70000000298023,"id": "editor-gallery",- "layoutSwitchMedianMs": 28.40000009536743,- "loadMedianMs": 94.7999997138977,- "layoutSwitchMedianMs": 23.200000286102295,- "loadMedianMs": 91.59999990463257,-- "longestTaskMaxMs": 73,++ "layoutSwitchMedianMs": 25.899999998509884,++ "loadMedianMs": 112.70000000298023,++ "longestTaskMaxMs": 109,"owner": "gallery","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:widget:center:gallery",@@@ -502,25 -502,25 +502,25 @@@"cssRawBytes": 17572,"fontRawBytes": 23664,"imageRawBytes": 156376,-- "largestAssetRawBytes": 746314,- "otherRawBytes": 134821,- "requestCount": 110,- "scriptRawBytes": 3322685,- "scriptRequestCount": 104,- "totalRawBytes": 3655118- "otherRawBytes": 135056,- "requestCount": 111,- "scriptRawBytes": 3328252,- "scriptRequestCount": 105,- "totalRawBytes": 3660920++ "largestAssetRawBytes": 746305,++ "otherRawBytes": 135938,++ "requestCount": 113,++ "scriptRawBytes": 3366465,++ "scriptRequestCount": 107,++ "totalRawBytes": 3700015},"resourceLimits": {"cssRawBytes": 17748,"fontRawBytes": 23901,"imageRawBytes": 157940,-- "largestAssetRawBytes": 753778,- "otherRawBytes": 136170,- "requestCount": 110,- "scriptRawBytes": 3355912,- "scriptRequestCount": 104,- "totalRawBytes": 3691670- "otherRawBytes": 136407,- "requestCount": 111,- "scriptRawBytes": 3361535,- "scriptRequestCount": 105,- "totalRawBytes": 3697530++ "largestAssetRawBytes": 753769,++ "otherRawBytes": 137298,++ "requestCount": 113,++ "scriptRawBytes": 3400130,++ "scriptRequestCount": 107,++ "totalRawBytes": 3737016},- "routeReadyMedianMs": 1238.0999999046326,- "routeReadyMedianMs": 1230.5,++ "routeReadyMedianMs": 1333.3999999985099,"scriptSourceOwnerSet": "editor-minimal-static","stateProfile": "empty"},@@@ -547,11 -547,11 +547,11 @@@"scriptRequestCount": 0,"totalRawBytes": 0},- "domContentLoadedMedianMs": 92.40000009536743,- "domContentLoadedMedianMs": 94,++ "domContentLoadedMedianMs": 113.5,"id": "editor-gallery",- "layoutSwitchMedianMs": 66.60000038146973,- "loadMedianMs": 92.40000009536743,- "longestTaskMaxMs": 96,- "layoutSwitchMedianMs": 67.69999980926514,- "loadMedianMs": 94,- "longestTaskMaxMs": 103,++ "layoutSwitchMedianMs": 98,++ "loadMedianMs": 113.5,++ "longestTaskMaxMs": 138,"owner": "gallery","projectSwitchMedianMs": 0,"readyMark": "invokeai:ready:widget:center:gallery",@@@ -560,25 -560,25 +560,25 @@@"cssRawBytes": 17572,"fontRawBytes": 23664,"imageRawBytes": 156376,-- "largestAssetRawBytes": 746314,- "otherRawBytes": 134821,- "requestCount": 110,- "scriptRawBytes": 3322685,- "scriptRequestCount": 104,- "totalRawBytes": 3655118- "otherRawBytes": 135056,- "requestCount": 111,- "scriptRawBytes": 3328252,- "scriptRequestCount": 105,- "totalRawBytes": 3660920++ "largestAssetRawBytes": 746305,++ "otherRawBytes": 135938,++ "requestCount": 113,++ "scriptRawBytes": 3366465,++ "scriptRequestCount": 107,++ "totalRawBytes": 3700015},"resourceLimits": {"cssRawBytes": 17748,"fontRawBytes": 23901,"imageRawBytes": 157940,-- "largestAssetRawBytes": 753778,- "otherRawBytes": 136170,- "requestCount": 110,- "scriptRawBytes": 3355912,- "scriptRequestCount": 104,- "totalRawBytes": 3691670- "otherRawBytes": 136407,- "requestCount": 111,- "scriptRawBytes": 3361535,- "scriptRequestCount": 105,- "totalRawBytes": 3697530++ "largestAssetRawBytes": 753769,++ "otherRawBytes": 137298,++ "requestCount": 113,++ "scriptRawBytes": 3400130,++ "scriptRequestCount": 107,++ "totalRawBytes": 3737016},- "routeReadyMedianMs": 1326.2000002861023,- "routeReadyMedianMs": 1329.5999999046326,++ "routeReadyMedianMs": 1453.8000000044703,"scriptSourceOwnerSet": "editor-minimal-static","stateProfile": "representative"}@@@ -766,6 -766,6 +766,7 @@@"source:src/features/queue/core/generationMeta.ts","source:src/features/queue/core/historySnapshot.ts","source:src/features/queue/core/historySummary.ts",++ "source:src/features/queue/core/progressRail.ts","source:src/features/queue/core/promptBatch.ts","source:src/features/queue/core/submissionRules.ts","source:src/features/queue/data/events.ts",@@@ -808,6 -808,6 +809,7 @@@"source:src/platform/ui/InvokeMark.tsx","source:src/platform/ui/JsonPreview.tsx","source:src/platform/ui/Menu.tsx",++ "source:src/platform/ui/MiddleTruncate.tsx","source:src/platform/ui/PageShell.tsx","source:src/platform/ui/Panel.tsx","source:src/platform/ui/RenameDialog.tsx",@@@ -1066,6 -1066,6 +1068,7 @@@"source:src/features/gallery/ui/GalleryStackedLayout.tsx","source:src/features/gallery/ui/GalleryThumbnail.tsx","source:src/features/gallery/ui/GalleryUiContext.tsx",++ "source:src/features/gallery/ui/GalleryUploadButton.tsx","source:src/features/gallery/ui/GalleryViewTabs.tsx","source:src/features/gallery/ui/GalleryWideLayout.tsx","source:src/features/gallery/ui/GalleryWidgetChrome.tsx",@@@ -1084,6 -1084,6 +1087,7 @@@"source:src/features/gallery/ui/useGalleryGridHotkeys.ts","source:src/features/gallery/ui/useGalleryGridSelection.ts","source:src/features/gallery/ui/useGalleryUploadAction.ts",++ "source:src/features/gallery/ui/useGalleryUploadInput.ts","source:src/features/gallery/utility.ts","source:src/features/gallery/widget.ts","source:src/features/generation/core/baseGenerationPolicies.ts",@@@ -1188,8 -1188,8 +1192,6 @@@"source:src/features/generation/ui/shared/ConditioningRebalanceBars.tsx","source:src/features/generation/ui/shared/ConditioningRebalanceSparkline.tsx","source:src/features/generation/ui/shared/GenerateCollapsibleSection.tsx",-- "source:src/features/generation/ui/shared/ModelDefaultButton.tsx",-- "source:src/features/generation/ui/shared/SliderNumberField.tsx","source:src/features/generation/ui/shared/modelDefaultSettings.ts","source:src/features/generation/ui/useDebouncedDraftValue.ts","source:src/features/generation/ui/useDynamicPrompts.ts",@@@ -1249,6 -1249,6 +1251,7 @@@"source:src/features/queue/core/historySnapshot.ts","source:src/features/queue/core/historySummary.ts","source:src/features/queue/core/progressImage.ts",++ "source:src/features/queue/core/progressRail.ts","source:src/features/queue/core/promptBatch.ts","source:src/features/queue/core/submissionRules.ts","source:src/features/queue/core/types.ts",@@@ -1361,6 -1361,6 +1364,10 @@@"source:src/features/workflow/ui/graph-preview/index.ts","source:src/features/workflow/ui/implementation.ts","source:src/features/workflow/ui/library/WorkflowLibraryDialog.tsx",++ "source:src/features/workflow/ui/library/libraryAutosave.ts",++ "source:src/features/workflow/ui/library/librarySyncBridge.ts",++ "source:src/features/workflow/ui/library/useSaveWorkflowToLibrary.ts",++ "source:src/features/workflow/ui/library/workflowLibrarySyncStore.ts","source:src/features/workflow/ui/linear/FormBuilderTab.tsx","source:src/features/workflow/ui/linear/LinearFormView.tsx","source:src/features/workflow/ui/linear/NodeFieldControl.tsx",@@@ -1368,6 -1368,6 +1375,7 @@@"source:src/features/workflow/ui/linear/WorkflowDetailsTab.tsx","source:src/features/workflow/ui/linear/WorkflowJsonTab.tsx","source:src/features/workflow/ui/linear/WorkflowLinearPanel.tsx",++ "source:src/features/workflow/ui/linear/formBuilderDnd.ts","source:src/features/workflow/ui/pendingLibraryWorkflowLoadRuntime.ts","source:src/features/workflow/ui/useProjectGraphCommands.ts","source:src/features/workflow/ui/workflowTransfer.ts",@@@ -1411,6 -1411,6 +1419,8 @@@"source:src/platform/ui/InvokeMark.tsx","source:src/platform/ui/JsonPreview.tsx","source:src/platform/ui/Menu.tsx",++ "source:src/platform/ui/MiddleTruncate.tsx",++ "source:src/platform/ui/ModelDefaultButton.tsx","source:src/platform/ui/PageShell.tsx","source:src/platform/ui/Panel.tsx","source:src/platform/ui/Picker.tsx",@@@ -1420,6 -1420,6 +1430,7 @@@"source:src/platform/ui/Scrollable.tsx","source:src/platform/ui/Select.tsx","source:src/platform/ui/Slider.tsx",++ "source:src/platform/ui/SliderNumberField.tsx","source:src/platform/ui/StatusWidgetChip.tsx","source:src/platform/ui/Tabs.tsx","source:src/platform/ui/ToggleDot.tsx",@@@ -1618,6 -1619,6 +1630,7 @@@"source:src/workbench/hotkeys/extensionHotkeys.ts","source:src/workbench/hotkeys/firstPartyCommands.ts","source:src/workbench/hotkeys/index.ts",++ "source:src/workbench/hotkeys/keyGlyphs.tsx","source:src/workbench/hotkeys/keys.ts","source:src/workbench/hotkeys/modalLayer.ts","source:src/workbench/hotkeys/resolve.ts",@@@ -1628,6 -1629,6 +1641,7 @@@"source:src/workbench/image-actions/appendReferenceImage.ts","source:src/workbench/image-actions/canvasImportError.ts","source:src/workbench/image-actions/executeImageRecall.ts",++ "source:src/workbench/image-actions/galleryOptimisticRollback.ts","source:src/workbench/image-actions/imageRecall.ts","source:src/workbench/image-actions/index.ts","source:src/workbench/image-actions/selectedImage.ts",@@@ -1694,6 -1695,6 +1708,7 @@@"source:src/workbench/projects/syncedPersistence.ts","source:src/workbench/projects/useProjectActions.ts","source:src/workbench/projects/useProjectFileActions.ts",++ "source:src/workbench/queue-integration/useActiveQueueProgress.ts","source:src/workbench/queueHistoryNormalization.ts","source:src/workbench/settings/SettingsButton.tsx","source:src/workbench/settings/SettingsDialogHost.tsx",@@@ -1701,12 -1702,12 +1716,15 @@@"source:src/workbench/settings/store.ts","source:src/workbench/shell/BottomPanel.tsx","source:src/workbench/shell/CenterArea.tsx",++ "source:src/workbench/shell/DocumentTitleProgress.tsx","source:src/workbench/shell/Panels.tsx","source:src/workbench/shell/StatusBar.tsx","source:src/workbench/shell/WorkbenchShell.tsx",++ "source:src/workbench/shell/documentTitle.ts","source:src/workbench/shell/index.ts","source:src/workbench/shell/notifications/WorkbenchNotificationToaster.tsx","source:src/workbench/shell/notifications/index.ts",++ "source:src/workbench/shell/notifications/toastPolicy.ts","source:src/workbench/shell/topbar/AppMenu.tsx","source:src/workbench/shell/topbar/InvocationCluster.tsx","source:src/workbench/shell/topbar/InvokeButton.tsx",@@@ -1720,7 -1721,7 +1738,10 @@@"source:src/workbench/shell/topbar/RoutingControl.tsx","source:src/workbench/shell/topbar/RoutingDestinationSegments.tsx","source:src/workbench/shell/topbar/TopBar.tsx",++ "source:src/workbench/shell/topbar/TopbarProgressRail.tsx",++ "source:src/workbench/shell/topbar/TopbarShortcutKeys.tsx","source:src/workbench/shell/topbar/index.ts",++ "source:src/workbench/shell/topbar/invokeButtonModel.ts","source:src/workbench/shell/topbar/layoutPresetDialogModel.ts","source:src/workbench/shell/topbar/layoutPresetIcons.ts","source:src/workbench/shell/topbar/layoutPresetManagerStore.ts",@@@ -1764,9 -1766,9 +1786,6 @@@"source:src/workbench/widgets/canvas/invoke/canvasCompositing.ts","source:src/workbench/widgets/canvas/invoke/canvasStrength.ts","source:src/workbench/widgets/canvas/manifest.ts",-- "source:src/workbench/widgets/diagnostics/DiagnosticsHeaderActions.tsx",-- "source:src/workbench/widgets/diagnostics/DiagnosticsWidgetView.tsx",-- "source:src/workbench/widgets/diagnostics/implementation.ts","source:src/workbench/widgets/diagnostics/manifest.ts","source:src/workbench/widgets/gallery/manifest.ts","source:src/workbench/widgets/generate/manifest.ts",@@@ -1786,8 -1788,8 +1805,8 @@@"source:src/workbench/widgets/preview/PreviewFooter.tsx","source:src/workbench/widgets/preview/PreviewFrame.tsx","source:src/workbench/widgets/preview/PreviewHeaderActions.tsx",-- "source:src/workbench/widgets/preview/PreviewLiveReadout.tsx","source:src/workbench/widgets/preview/PreviewMetadataPanel.tsx",++ "source:src/workbench/widgets/preview/PreviewStage.tsx","source:src/workbench/widgets/preview/PreviewWidgetChrome.tsx","source:src/workbench/widgets/preview/PreviewWidgetView.tsx","source:src/workbench/widgets/preview/implementation.ts",@@@ -1800,14 -1802,14 +1819,17 @@@"source:src/workbench/widgets/preview/previewSettings.ts","source:src/workbench/widgets/preview/useCompareLoupe.ts","source:src/workbench/widgets/preview/usePreviewLoupe.ts",++ "source:src/workbench/widgets/preview/usePreviewNavigation.ts","source:src/workbench/widgets/project/manifest.ts",++ "source:src/workbench/widgets/queue-status/QueueStatusWidgetView.tsx",++ "source:src/workbench/widgets/queue-status/implementation.ts",++ "source:src/workbench/widgets/queue-status/manifest.ts",++ "source:src/workbench/widgets/queue-status/queueStatusModel.ts","source:src/workbench/widgets/queue/manifest.ts","source:src/workbench/widgets/server-status/ServerStatusWidgetView.tsx","source:src/workbench/widgets/server-status/implementation.ts","source:src/workbench/widgets/server-status/manifest.ts","source:src/workbench/widgets/upscale/manifest.ts",-- "source:src/workbench/widgets/version-status/VersionStatusWidgetView.tsx",-- "source:src/workbench/widgets/version-status/implementation.ts","source:src/workbench/widgets/version-status/manifest.ts","source:src/workbench/widgets/workflow/manifest.ts","source:src/workbench/workbenchState.ts",@@@ -1993,6 -1995,6 +2015,7 @@@"source:src/features/gallery/ui/GalleryStackedLayout.tsx","source:src/features/gallery/ui/GalleryThumbnail.tsx","source:src/features/gallery/ui/GalleryUiContext.tsx",++ "source:src/features/gallery/ui/GalleryUploadButton.tsx","source:src/features/gallery/ui/GalleryViewTabs.tsx","source:src/features/gallery/ui/GalleryWideLayout.tsx","source:src/features/gallery/ui/GalleryWidgetChrome.tsx",@@@ -2011,6 -2013,6 +2034,7 @@@"source:src/features/gallery/ui/useGalleryGridHotkeys.ts","source:src/features/gallery/ui/useGalleryGridSelection.ts","source:src/features/gallery/ui/useGalleryUploadAction.ts",++ "source:src/features/gallery/ui/useGalleryUploadInput.ts","source:src/features/gallery/utility.ts","source:src/features/gallery/widget.ts","source:src/features/generation/components.ts",@@@ -2116,8 -2118,8 +2140,6 @@@"source:src/features/generation/ui/shared/ConditioningRebalanceBars.tsx","source:src/features/generation/ui/shared/ConditioningRebalanceSparkline.tsx","source:src/features/generation/ui/shared/GenerateCollapsibleSection.tsx",-- "source:src/features/generation/ui/shared/ModelDefaultButton.tsx",-- "source:src/features/generation/ui/shared/SliderNumberField.tsx","source:src/features/generation/ui/shared/modelDefaultSettings.ts","source:src/features/generation/ui/useDebouncedDraftValue.ts","source:src/features/generation/ui/useDynamicPrompts.ts",@@@ -2177,6 -2179,6 +2199,7 @@@"source:src/features/queue/core/historySnapshot.ts","source:src/features/queue/core/historySummary.ts","source:src/features/queue/core/progressImage.ts",++ "source:src/features/queue/core/progressRail.ts","source:src/features/queue/core/promptBatch.ts","source:src/features/queue/core/submissionRules.ts","source:src/features/queue/core/types.ts",@@@ -2289,6 -2291,6 +2312,10 @@@"source:src/features/workflow/ui/graph-preview/index.ts","source:src/features/workflow/ui/implementation.ts","source:src/features/workflow/ui/library/WorkflowLibraryDialog.tsx",++ "source:src/features/workflow/ui/library/libraryAutosave.ts",++ "source:src/features/workflow/ui/library/librarySyncBridge.ts",++ "source:src/features/workflow/ui/library/useSaveWorkflowToLibrary.ts",++ "source:src/features/workflow/ui/library/workflowLibrarySyncStore.ts","source:src/features/workflow/ui/linear/FormBuilderTab.tsx","source:src/features/workflow/ui/linear/LinearFormView.tsx","source:src/features/workflow/ui/linear/NodeFieldControl.tsx",@@@ -2296,6 -2298,6 +2323,7 @@@"source:src/features/workflow/ui/linear/WorkflowDetailsTab.tsx","source:src/features/workflow/ui/linear/WorkflowJsonTab.tsx","source:src/features/workflow/ui/linear/WorkflowLinearPanel.tsx",++ "source:src/features/workflow/ui/linear/formBuilderDnd.ts","source:src/features/workflow/ui/pendingLibraryWorkflowLoadRuntime.ts","source:src/features/workflow/ui/useProjectGraphCommands.ts","source:src/features/workflow/ui/workflowTransfer.ts",@@@ -2339,6 -2341,6 +2367,8 @@@"source:src/platform/ui/InvokeMark.tsx","source:src/platform/ui/JsonPreview.tsx","source:src/platform/ui/Menu.tsx",++ "source:src/platform/ui/MiddleTruncate.tsx",++ "source:src/platform/ui/ModelDefaultButton.tsx","source:src/platform/ui/PageShell.tsx","source:src/platform/ui/Panel.tsx","source:src/platform/ui/Picker.tsx",@@@ -2348,6 -2350,6 +2378,7 @@@"source:src/platform/ui/Scrollable.tsx","source:src/platform/ui/Select.tsx","source:src/platform/ui/Slider.tsx",++ "source:src/platform/ui/SliderNumberField.tsx","source:src/platform/ui/StatusWidgetChip.tsx","source:src/platform/ui/Tabs.tsx","source:src/platform/ui/ToggleDot.tsx",@@@ -2551,6 -2554,6 +2583,7 @@@"source:src/workbench/hotkeys/extensionHotkeys.ts","source:src/workbench/hotkeys/firstPartyCommands.ts","source:src/workbench/hotkeys/index.ts",++ "source:src/workbench/hotkeys/keyGlyphs.tsx","source:src/workbench/hotkeys/keys.ts","source:src/workbench/hotkeys/modalLayer.ts","source:src/workbench/hotkeys/resolve.ts",@@@ -2561,6 -2564,6 +2594,7 @@@"source:src/workbench/image-actions/appendReferenceImage.ts","source:src/workbench/image-actions/canvasImportError.ts","source:src/workbench/image-actions/executeImageRecall.ts",++ "source:src/workbench/image-actions/galleryOptimisticRollback.ts","source:src/workbench/image-actions/imageRecall.ts","source:src/workbench/image-actions/index.ts","source:src/workbench/image-actions/selectedImage.ts",@@@ -2627,6 -2630,6 +2661,7 @@@"source:src/workbench/projects/syncedPersistence.ts","source:src/workbench/projects/useProjectActions.ts","source:src/workbench/projects/useProjectFileActions.ts",++ "source:src/workbench/queue-integration/useActiveQueueProgress.ts","source:src/workbench/queueHistoryNormalization.ts","source:src/workbench/settings/SettingsButton.tsx","source:src/workbench/settings/SettingsDialogHost.tsx",@@@ -2634,12 -2637,12 +2669,15 @@@"source:src/workbench/settings/store.ts","source:src/workbench/shell/BottomPanel.tsx","source:src/workbench/shell/CenterArea.tsx",++ "source:src/workbench/shell/DocumentTitleProgress.tsx","source:src/workbench/shell/Panels.tsx","source:src/workbench/shell/StatusBar.tsx","source:src/workbench/shell/WorkbenchShell.tsx",++ "source:src/workbench/shell/documentTitle.ts","source:src/workbench/shell/index.ts","source:src/workbench/shell/notifications/WorkbenchNotificationToaster.tsx","source:src/workbench/shell/notifications/index.ts",++ "source:src/workbench/shell/notifications/toastPolicy.ts","source:src/workbench/shell/topbar/AppMenu.tsx","source:src/workbench/shell/topbar/InvocationCluster.tsx","source:src/workbench/shell/topbar/InvokeButton.tsx",@@@ -2653,7 -2656,7 +2691,10 @@@"source:src/workbench/shell/topbar/RoutingControl.tsx","source:src/workbench/shell/topbar/RoutingDestinationSegments.tsx","source:src/workbench/shell/topbar/TopBar.tsx",++ "source:src/workbench/shell/topbar/TopbarProgressRail.tsx",++ "source:src/workbench/shell/topbar/TopbarShortcutKeys.tsx","source:src/workbench/shell/topbar/index.ts",++ "source:src/workbench/shell/topbar/invokeButtonModel.ts","source:src/workbench/shell/topbar/layoutPresetDialogModel.ts","source:src/workbench/shell/topbar/layoutPresetIcons.ts","source:src/workbench/shell/topbar/layoutPresetManagerStore.ts",@@@ -2753,9 -2757,9 +2795,6 @@@"source:src/workbench/widgets/canvas/useColorSampler.ts","source:src/workbench/widgets/canvas/useCreateFromBbox.ts","source:src/workbench/widgets/canvas/zoomOptions.ts",-- "source:src/workbench/widgets/diagnostics/DiagnosticsHeaderActions.tsx",-- "source:src/workbench/widgets/diagnostics/DiagnosticsWidgetView.tsx",-- "source:src/workbench/widgets/diagnostics/implementation.ts","source:src/workbench/widgets/diagnostics/manifest.ts","source:src/workbench/widgets/gallery/manifest.ts","source:src/workbench/widgets/generate/manifest.ts",@@@ -2812,8 -2816,8 +2851,8 @@@"source:src/workbench/widgets/preview/PreviewFooter.tsx","source:src/workbench/widgets/preview/PreviewFrame.tsx","source:src/workbench/widgets/preview/PreviewHeaderActions.tsx",-- "source:src/workbench/widgets/preview/PreviewLiveReadout.tsx","source:src/workbench/widgets/preview/PreviewMetadataPanel.tsx",++ "source:src/workbench/widgets/preview/PreviewStage.tsx","source:src/workbench/widgets/preview/PreviewWidgetChrome.tsx","source:src/workbench/widgets/preview/PreviewWidgetView.tsx","source:src/workbench/widgets/preview/implementation.ts",@@@ -2826,14 -2830,14 +2865,17 @@@"source:src/workbench/widgets/preview/previewSettings.ts","source:src/workbench/widgets/preview/useCompareLoupe.ts","source:src/workbench/widgets/preview/usePreviewLoupe.ts",++ "source:src/workbench/widgets/preview/usePreviewNavigation.ts","source:src/workbench/widgets/project/manifest.ts",++ "source:src/workbench/widgets/queue-status/QueueStatusWidgetView.tsx",++ "source:src/workbench/widgets/queue-status/implementation.ts",++ "source:src/workbench/widgets/queue-status/manifest.ts",++ "source:src/workbench/widgets/queue-status/queueStatusModel.ts","source:src/workbench/widgets/queue/manifest.ts","source:src/workbench/widgets/server-status/ServerStatusWidgetView.tsx","source:src/workbench/widgets/server-status/implementation.ts","source:src/workbench/widgets/server-status/manifest.ts","source:src/workbench/widgets/upscale/manifest.ts",-- "source:src/workbench/widgets/version-status/VersionStatusWidgetView.tsx",-- "source:src/workbench/widgets/version-status/implementation.ts","source:src/workbench/widgets/version-status/manifest.ts","source:src/workbench/widgets/workflow/manifest.ts","source:src/workbench/workbenchState.ts",diff --cc invokeai/frontend/webv2/src/workbench/floatingWidgets.test.tsindex 0000000000,86c4f807d5..d272d0c518mode 000000,100644..100644--- a/invokeai/frontend/webv2/src/workbench/floatingWidgets.test.ts+++ b/invokeai/frontend/webv2/src/workbench/floatingWidgets.test.ts@@@ -1,0 -1,476 +1,477 @@@+ import type { Project, WorkbenchState } from '@workbench/projectContracts';++ import { describe, expect, it } from 'vitest';++ import {+ cascadeDefaultGeometry,+ clampSizeToMinimum,+ clampWindowToViewport,+ FLOATING_MIN_HEIGHT_PX,+ FLOATING_MIN_WIDTH_PX,+ nextStackOrder,+ } from './floatingWindows';+ import { doesProjectMatchLayoutPreset, resolveSavedLayoutPreset } from './layoutPresetSnapshots';+ import { normalizeWorkbenchAccount, normalizeWorkbenchProject } from './workbenchState';+ import { createInitialWorkbenchState, workbenchReducer } from './workbenchState.testing';++ const getActiveProject = (state: WorkbenchState): Project => {+ const project = state.projects.find((candidate) => candidate.id === state.activeProjectId);++ if (!project) {+ throw new Error('missing active project');+ }++ return project;+ };++ const floatGallery = (state = createInitialWorkbenchState()): WorkbenchState =>+ workbenchReducer(state, { instanceId: 'gallery', type: 'floatWidget' });++ const getRegionsHolding = (project: Project, instanceId: string): string[] =>+ Object.entries(project.widgetRegions)+ .filter(([, region]) => region.instanceIds.includes(instanceId))+ .map(([regionId]) => regionId);++ describe('floatWidget', () => {+ it('detaches the instance from its region and repairs the active instance', () => {+ const initial = createInitialWorkbenchState();+ const before = getActiveProject(initial).widgetRegions.right;+ expect(before.instanceIds).toContain('gallery');+ expect(before.activeInstanceId).toBe('gallery');++ const state = floatGallery(initial);+ const project = getActiveProject(state);++ expect(project.widgetRegions.right.instanceIds).not.toContain('gallery');+ expect(project.widgetRegions.right.activeInstanceId).not.toBe('gallery');+ expect(project.widgetRegions.right.instanceIds).toContain(project.widgetRegions.right.activeInstanceId);+ expect(project.floatingWidgets?.gallery).toMatchObject({ mode: 'windowed', returnRegion: 'right', stackOrder: 1 });+ });++ it('is a no-op for unknown or already-floating instances', () => {+ const floated = floatGallery();++ expect(workbenchReducer(floated, { instanceId: 'gallery', type: 'floatWidget' })).toBe(floated);+ expect(workbenchReducer(floated, { instanceId: 'no-such-widget', type: 'floatWidget' })).toBe(floated);+ });++ it('cascades geometry and stacks successive windows', () => {+ let state = floatGallery();+ state = workbenchReducer(state, { instanceId: 'queue', type: 'floatWidget' });+ const floating = getActiveProject(state).floatingWidgets;++ expect(floating?.queue.stackOrder).toBe(2);+ expect(floating?.queue.x).toBeGreaterThan(floating?.gallery.x ?? 0);+ });++ it('refuses to float the last center view, which would blank the work surface', () => {+ let state = createInitialWorkbenchState();+ const centerInstanceIds = getActiveProject(state).widgetRegions.center.instanceIds;++ for (const instanceId of centerInstanceIds.slice(1)) {+ state = workbenchReducer(state, { region: 'center', type: 'toggleRegionWidget', widgetId: instanceId });+ }++ const lastCenterInstanceId = centerInstanceIds[0];+ expect(getActiveProject(state).widgetRegions.center.instanceIds).toEqual([lastCenterInstanceId]);+ expect(workbenchReducer(state, { instanceId: lastCenterInstanceId, type: 'floatWidget' })).toBe(state);+ });++ it('collapses a rail it empties instead of leaving it open and blank', () => {+ let state = createInitialWorkbenchState();+ const rightInstanceIds = getActiveProject(state).widgetRegions.right.instanceIds;++ for (const instanceId of rightInstanceIds.slice(1)) {+ state = workbenchReducer(state, { region: 'right', type: 'toggleRegionWidget', widgetId: instanceId });+ }++ state = workbenchReducer(state, { region: 'right', type: 'setRegionWidgetCollapsed', isCollapsed: false });+ state = workbenchReducer(state, { instanceId: rightInstanceIds[0], type: 'floatWidget' });+ const right = getActiveProject(state).widgetRegions.right;++ expect(right.instanceIds).toEqual([]);+ expect(right.isCollapsed).toBe(true);+ });+ });++ describe('dockFloatingWidget', () => {+ it('returns the instance to its origin region as the active widget', () => {+ const state = workbenchReducer(floatGallery(), { instanceId: 'gallery', type: 'dockFloatingWidget' });+ const project = getActiveProject(state);++ expect(project.floatingWidgets?.gallery).toBeUndefined();+ expect(project.widgetRegions.right.instanceIds).toContain('gallery');+ expect(project.widgetRegions.right.activeInstanceId).toBe('gallery');+ expect(project.layout.panels.isRightOpen).toBe(true);+ expect(project.widgetRegions.right.isCollapsed).toBe(false);+ });++ it('float -> dock -> float round-trips', () => {+ let state = floatGallery();+ state = workbenchReducer(state, { instanceId: 'gallery', type: 'dockFloatingWidget' });+ state = workbenchReducer(state, { instanceId: 'gallery', type: 'floatWidget' });++ expect(getActiveProject(state).floatingWidgets?.gallery).toBeDefined();+ expect(getActiveProject(state).widgetRegions.right.instanceIds).not.toContain('gallery');+ });++ it('restores the tab to the position it floated from', () => {+ // Docking appended, so float-then-dock — a gesture that reads as undoing+ // the float — permanently reordered the rail and left the project drifted+ // from its preset.+ const initial = createInitialWorkbenchState();+ const before = [...getActiveProject(initial).widgetRegions.right.instanceIds];++ let state = workbenchReducer(initial, { instanceId: 'image-map', type: 'floatWidget' });+ state = workbenchReducer(state, { instanceId: 'image-map', type: 'dockFloatingWidget' });++ expect(getActiveProject(state).widgetRegions.right.instanceIds).toEqual(before);+ });++ it('docks to the end when the remembered index is gone or nonsensical', () => {- const floated = workbenchReducer(createInitialWorkbenchState(), {- instanceId: 'image-map',- type: 'floatWidget',- });++ // 'gallery' leads the right rail, so a docked-to-the-end result is only++ // reachable by discarding the remembered index rather than honouring it.++ const floated = floatGallery();+ const withBadIndex: WorkbenchState = {+ ...floated,+ projects: floated.projects.map((project) => ({+ ...project,+ floatingWidgets: project.floatingWidgets && {+ ...project.floatingWidgets,- 'image-map': { ...project.floatingWidgets['image-map']!, returnIndex: Number.NaN },++ gallery: { ...project.floatingWidgets.gallery!, returnIndex: Number.NaN },+ },+ })),+ };+- const state = workbenchReducer(withBadIndex, { instanceId: 'image-map', type: 'dockFloatingWidget' });++ const state = workbenchReducer(withBadIndex, { instanceId: 'gallery', type: 'dockFloatingWidget' });+- expect(getActiveProject(state).widgetRegions.right.instanceIds.at(-1)).toBe('image-map');++ expect(getActiveProject(state).widgetRegions.right.instanceIds.at(-1)).toBe('gallery');+ });++ it('is a no-op when nothing is floating', () => {+ const initial = createInitialWorkbenchState();++ expect(workbenchReducer(initial, { instanceId: 'gallery', type: 'dockFloatingWidget' })).toBe(initial);+ });+ });++ describe('geometry, mode, and stacking actions', () => {+ it('clamps committed sizes to the minimums', () => {+ const state = workbenchReducer(floatGallery(), {+ heightPx: 10,+ instanceId: 'gallery',+ type: 'setFloatingWidgetGeometry',+ widthPx: 10,+ x: 5,+ y: 7,+ });+ const floating = getActiveProject(state).floatingWidgets?.gallery;++ expect(floating).toMatchObject({ heightPx: FLOATING_MIN_HEIGHT_PX, widthPx: FLOATING_MIN_WIDTH_PX, x: 5, y: 7 });+ });++ it('ignores a commit that lands on the geometry already stored', () => {+ const state = floatGallery();+ const floating = getActiveProject(state).floatingWidgets?.gallery;++ // What a pointer-down/up with no movement sends: the starting geometry.+ expect(+ workbenchReducer(state, {+ heightPx: floating?.heightPx ?? 0,+ instanceId: 'gallery',+ type: 'setFloatingWidgetGeometry',+ widthPx: floating?.widthPx ?? 0,+ x: floating?.x ?? 0,+ y: floating?.y ?? 0,+ })+ ).toBe(state);+ });++ it('switches modes and ignores repeats', () => {+ const state = workbenchReducer(floatGallery(), {+ instanceId: 'gallery',+ mode: 'maximized',+ type: 'setFloatingWidgetMode',+ });++ expect(getActiveProject(state).floatingWidgets?.gallery.mode).toBe('maximized');+ const repeat = workbenchReducer(state, { instanceId: 'gallery', mode: 'maximized', type: 'setFloatingWidgetMode' });+ expect(repeat).toBe(state);+ });++ it('keeps stack orders compact instead of climbing on every raise', () => {+ let state = floatGallery();+ state = workbenchReducer(state, { instanceId: 'queue', type: 'floatWidget' });++ for (const instanceId of ['gallery', 'queue', 'gallery', 'queue', 'gallery']) {+ state = workbenchReducer(state, { instanceId, type: 'focusFloatingWidget' });+ }++ const floating = getActiveProject(state).floatingWidgets;++ // Two windows, so two orders — no matter how many times they trade places.+ expect(+ Object.values(floating ?? {})+ .map((window) => window.stackOrder)+ .sort()+ ).toEqual([1, 2]);+ expect(floating?.gallery.stackOrder).toBe(2);+ });++ it('focus raises a window to the top and no-ops when already topmost', () => {+ let state = floatGallery();+ state = workbenchReducer(state, { instanceId: 'queue', type: 'floatWidget' });++ state = workbenchReducer(state, { instanceId: 'gallery', type: 'focusFloatingWidget' });+ const floating = getActiveProject(state).floatingWidgets;+ expect(floating?.gallery.stackOrder).toBeGreaterThan(floating?.queue.stackOrder ?? 0);++ expect(workbenchReducer(state, { instanceId: 'gallery', type: 'focusFloatingWidget' })).toBe(state);+ });+ });++ describe('interaction with region placement', () => {+ it('openRegionWidget docks a floating instance instead of double-rendering it', () => {+ const floated = floatGallery();+ const state = workbenchReducer(floated, { region: 'right', type: 'openRegionWidget', widgetId: 'gallery' });+ const project = getActiveProject(state);++ expect(project.floatingWidgets?.gallery).toBeUndefined();+ expect(project.widgetRegions.right.instanceIds).toContain('gallery');+ });+ });++ describe('pure helpers', () => {+ it('nextStackOrder starts at 1 and increments past the max', () => {+ expect(nextStackOrder(undefined)).toBe(1);+ expect(+ nextStackOrder({+ a: { heightPx: 1, mode: 'windowed', returnRegion: 'right', stackOrder: 4, widthPx: 1, x: 0, y: 0 },+ })+ ).toBe(5);+ });++ it('cascadeDefaultGeometry offsets successive windows', () => {+ expect(cascadeDefaultGeometry(1).x).toBe(cascadeDefaultGeometry(0).x + 32);+ });++ it('clampWindowToViewport keeps a grabbable sliver on screen', () => {+ const clamped = clampWindowToViewport(+ { heightPx: 300, widthPx: 400, x: 5000, y: 5000 },+ { height: 800, width: 1200 }+ );+ expect(clamped.x).toBeLessThanOrEqual(1200 - 48);+ expect(clamped.y).toBeLessThanOrEqual(800 - 48);++ const negative = clampWindowToViewport(+ { heightPx: 300, widthPx: 400, x: -5000, y: -50 },+ { height: 800, width: 1200 }+ );+ expect(negative.x).toBeGreaterThanOrEqual(48 - 400);+ expect(negative.y).toBe(0);+ });++ it('clampSizeToMinimum enforces the floor without moving the window', () => {+ expect(clampSizeToMinimum({ heightPx: 1, widthPx: 1, x: 9, y: 9 })).toEqual({+ heightPx: FLOATING_MIN_HEIGHT_PX,+ widthPx: FLOATING_MIN_WIDTH_PX,+ x: 9,+ y: 9,+ });+ });+ });++ describe('normalization of persisted floating windows', () => {+ it('keeps a floated widget floating across a reload instead of re-docking it', () => {- // The right rail migration re-adds `image-map` to any rail that reads as a- // pre-image-map default — which is exactly the shape floating it leaves.- const state = workbenchReducer(createInitialWorkbenchState(), { instanceId: 'image-map', type: 'floatWidget' });++ // The bottom rail migration re-adds `queue-status` to any rail that reads as++ // a pre-queue-status default — which is exactly the shape floating it leaves.++ const state = workbenchReducer(createInitialWorkbenchState(), { instanceId: 'queue-status', type: 'floatWidget' });+ const project = normalizeWorkbenchProject(getActiveProject(state));+- expect(project.floatingWidgets?.['image-map']).toBeDefined();- expect(getRegionsHolding(project, 'image-map')).toEqual([]);++ expect(project.floatingWidgets?.['queue-status']).toBeDefined();++ expect(getRegionsHolding(project, 'queue-status')).toEqual([]);+ });++ it('survives a second normalization pass unchanged', () => {- const state = workbenchReducer(createInitialWorkbenchState(), { instanceId: 'image-map', type: 'floatWidget' });++ const state = workbenchReducer(createInitialWorkbenchState(), { instanceId: 'queue-status', type: 'floatWidget' });+ const once = normalizeWorkbenchProject(getActiveProject(state));+ const twice = normalizeWorkbenchProject(once);++ expect(twice.floatingWidgets).toEqual(once.floatingWidgets);+ expect(twice.widgetRegions).toEqual(once.widgetRegions);+ });++ it('drops entries a hand-edited or foreign project file could carry', () => {+ const project = getActiveProject(floatGallery());+ const normalized = normalizeWorkbenchProject({+ ...project,+ floatingWidgets: {+ // Would crash `dockFloatingWidget` on `widgetRegions[returnRegion]`.- 'image-map': { ...project.floatingWidgets!.gallery, returnRegion: 'nowhere' },++ queue: { ...project.floatingWidgets!.gallery, returnRegion: 'nowhere' },+ // Would reach the window's fixed-position CSS as `NaNpx`.+ preview: { ...project.floatingWidgets!.gallery, x: Number.NaN },+ // No such instance to render.+ 'no-such-widget': { ...project.floatingWidgets!.gallery },- queue: { ...project.floatingWidgets!.gallery, mode: 'iconified' },++ notifications: { ...project.floatingWidgets!.gallery, mode: 'iconified' },+ } as unknown as Project['floatingWidgets'],+ });+++ // Dropping the entry must leave the instance docked where it already was,++ // rather than floating by a malformed description or vanishing entirely.+ expect(normalized.floatingWidgets).toBeUndefined();- for (const instanceId of ['image-map', 'preview', 'queue']) {- expect(getRegionsHolding(normalized, instanceId)).toContain('right');++ for (const instanceId of ['queue', 'preview', 'notifications']) {++ expect(getRegionsHolding(normalized, instanceId)).not.toEqual([]);+ }+ });++ it('clamps persisted geometry below the minimum size', () => {+ const project = getActiveProject(floatGallery());+ const normalized = normalizeWorkbenchProject({+ ...project,+ floatingWidgets: { gallery: { ...project.floatingWidgets!.gallery, heightPx: 1, widthPx: 1 } },+ });++ expect(normalized.floatingWidgets?.gallery).toMatchObject({+ heightPx: FLOATING_MIN_HEIGHT_PX,+ widthPx: FLOATING_MIN_WIDTH_PX,+ });+ });++ it('docks rather than empties the center region', () => {+ const project = getActiveProject(createInitialWorkbenchState());+ const [onlyCenterInstanceId] = project.widgetRegions.center.instanceIds;+ const normalized = normalizeWorkbenchProject({+ ...project,+ floatingWidgets: {+ [onlyCenterInstanceId]: {+ heightPx: 300,+ mode: 'windowed',+ returnRegion: 'center',+ stackOrder: 1,+ widthPx: 400,+ x: 10,+ y: 10,+ },+ },+ widgetRegions: {+ ...project.widgetRegions,+ center: { ...project.widgetRegions.center, instanceIds: [onlyCenterInstanceId] },+ },+ });++ expect(normalized.floatingWidgets).toBeUndefined();+ expect(normalized.widgetRegions.center.instanceIds).toEqual([onlyCenterInstanceId]);+ });+ });++ describe('interaction with presets and undo', () => {+ it('applying a preset docks all floating widgets (no double render)', () => {+ const floated = floatGallery();+ const state = workbenchReducer(floated, { presetId: 'compose', type: 'applyPreset' });+ const project = getActiveProject(state);++ expect(project.floatingWidgets ?? {}).toEqual({});+ expect(project.widgetRegions.right.instanceIds).toContain('gallery');+ });++ it('a preset saved while a widget floats restores the window, not nothing', () => {+ // The rail is customized first so the reload migration is not what keeps+ // the widget alive here — only the preset can.+ let state = workbenchReducer(createInitialWorkbenchState(), {+ region: 'right',+ type: 'toggleRegionWidget',+ widgetId: 'project',+ });+ state = workbenchReducer(state, { instanceId: 'gallery', type: 'floatWidget' });+ state = workbenchReducer(state, { presetId: 'compose', type: 'saveLayoutPreset' });+ // Dock it, then revert to the preset that was saved with it floating.+ state = workbenchReducer(state, { instanceId: 'gallery', type: 'dockFloatingWidget' });+ state = workbenchReducer(state, { presetId: 'compose', type: 'applyPreset' });+ const project = getActiveProject(state);++ expect(project.floatingWidgets?.gallery).toBeDefined();+ expect(getRegionsHolding(project, 'gallery')).toEqual([]);+ });++ it('carries a saved preset’s floating window through account rehydration', () => {+ // Account presets are rebuilt by `cloneLayoutPresetSnapshot` on every load;+ // a field it forgets is a field the preset loses on the next reload.+ let state = workbenchReducer(createInitialWorkbenchState(), { instanceId: 'gallery', type: 'floatWidget' });+ state = workbenchReducer(state, { presetId: 'compose', type: 'saveLayoutPreset' });++ const rehydrated = normalizeWorkbenchAccount(state.account);++ expect(rehydrated.layoutPresetOverrides?.compose?.floatingWidgets?.gallery).toMatchObject({+ mode: 'windowed',+ returnRegion: 'right',+ });+ });++ it('validates a preset’s floating windows the way a persisted project’s are', () => {+ // Preset bodies come from account storage, which never passes through+ // `normalizeWorkbenchProject`.+ let state = workbenchReducer(createInitialWorkbenchState(), { instanceId: 'gallery', type: 'floatWidget' });+ state = workbenchReducer(state, { presetId: 'compose', type: 'saveLayoutPreset' });++ const saved = state.account.layoutPresetOverrides!.compose!;+ const account = normalizeWorkbenchAccount({+ ...state.account,+ layoutPresetOverrides: {+ compose: {+ ...saved,+ floatingWidgets: {+ // Would throw in `dockFloatingWidget` on widgetRegions[returnRegion].+ gallery: { ...saved.floatingWidgets!.gallery, returnRegion: 'nowhere' },+ // Docked by the same preset, so honouring this would double-render.+ queue: { ...saved.floatingWidgets!.gallery },+ },+ },+ },+ } as unknown);+ state = { ...state, account };+ state = workbenchReducer(state, { presetId: 'compose', type: 'applyPreset' });+ const project = getActiveProject(state);++ expect(project.floatingWidgets?.gallery).toBeUndefined();+ expect(getRegionsHolding(project, 'queue')).toEqual([]);+ expect(project.floatingWidgets?.queue).toBeDefined();+ });++ it('reads a floated window as unsaved layout drift until it is saved', () => {+ const floated = workbenchReducer(createInitialWorkbenchState(), { instanceId: 'gallery', type: 'floatWidget' });++ expect(+ doesProjectMatchLayoutPreset(getActiveProject(floated), resolveSavedLayoutPreset(floated.account, 'compose'))+ ).toBe(false);++ const saved = workbenchReducer(floated, { presetId: 'compose', type: 'saveLayoutPreset' });++ expect(+ doesProjectMatchLayoutPreset(getActiveProject(saved), resolveSavedLayoutPreset(saved.account, 'compose'))+ ).toBe(true);+ });++ it('undo restores floating state together with the regions', () => {+ // Snapshot A: gallery docked. The undoable action (apply preset) captures it.+ let state = createInitialWorkbenchState();+ state = workbenchReducer(state, { presetId: 'compose', type: 'applyPreset' });+ // Float after the snapshot, then undo: gallery must return to docked-only.+ state = workbenchReducer(state, { instanceId: 'gallery', type: 'floatWidget' });+ state = workbenchReducer(state, { type: 'undoProjectChange' });+ let project = getActiveProject(state);++ expect(project.floatingWidgets ?? {}).toEqual({});+ expect(project.widgetRegions.right.instanceIds).toContain('gallery');++ // Mirror case: float, take a snapshot, dock, undo -> floating state returns+ // WITH the matching regions; the widget is exactly one of docked/floating.+ state = workbenchReducer(state, { instanceId: 'gallery', type: 'floatWidget' });+ state = workbenchReducer(state, { presetId: 'compose', type: 'applyPreset' });+ state = workbenchReducer(state, { type: 'undoProjectChange' });+ project = getActiveProject(state);++ const isFloating = Boolean(project.floatingWidgets?.gallery);+ const isDocked = Object.values(project.widgetRegions).some((region) => region.instanceIds.includes('gallery'));+ expect(isFloating !== isDocked).toBe(true);+ });+ });diff --cc invokeai/frontend/webv2/src/workbench/graphWidgets.test.tsindex 593ab505af,0a51e71c2d..667d5da7f5--- a/invokeai/frontend/webv2/src/workbench/graphWidgets.test.ts+++ b/invokeai/frontend/webv2/src/workbench/graphWidgets.test.ts@@@ -45,12 -45,25 +45,24 @@@ describe('graph widget sources', () =>expect([...getVisibleWidgetTypeIds(project)]).toEqual(expect.arrayContaining(['generate', 'canvas']));expect(getVisibleWidgetTypeIds(project).has('workflow')).toBe(false);- // ...while Upscale and Workflow are still placed in the same left rail, so- // routing to them needs no new placement, only revealing.- expect([...getPlacedWidgetTypeIds(project)]).toEqual(- expect.arrayContaining(['generate', 'canvas', 'upscale', 'workflow'])- );+ // ...while Upscale is still placed second in the left rail, so routing to+ // it needs no new placement, only revealing. Workflow belongs to Automate.+ expect([...getPlacedWidgetTypeIds(project)]).toEqual(expect.arrayContaining(['generate', 'canvas', 'upscale']));+ expect(getPlacedWidgetTypeIds(project).has('workflow')).toBe(false);});+ it('counts a floated widget as both visible and placed', () => {+ // A widget in a window is on screen; reading only the rails would drop the+ // first graph-bearing widget that floats out of the invoke-source list.+ let state = workbenchReducer(createInitialWorkbenchState(), { presetId: 'edit', type: 'applyPreset' });+ state = workbenchReducer(state, { instanceId: 'upscale', type: 'floatWidget' });+ const project = state.projects.find((candidate) => candidate.id === state.activeProjectId)!;++ expect(project.floatingWidgets?.upscale).toBeDefined();+ expect(getVisibleWidgetTypeIds(project).has('upscale')).toBe(true);+ expect(getPlacedWidgetTypeIds(project).has('upscale')).toBe(true);+ });+it('maps each source to its natural output target', () => {expect(getNaturalDestination('canvas')).toBe('canvas');expect(getNaturalDestination('generate')).toBe('gallery');diff --cc invokeai/frontend/webv2/src/workbench/layoutPresets.test.tsindex 862dcc947a,9f747c3c80..1aecc75cd7--- a/invokeai/frontend/webv2/src/workbench/layoutPresets.test.ts+++ b/invokeai/frontend/webv2/src/workbench/layoutPresets.test.ts@@@ -41,56 -41,4 +41,56 @@@ describe('built-in layout preset descri]);expect(layoutPresets).toEqual(builtInLayoutPresetDescriptors.map(({ preset }) => preset));});++ it('ships task-focused widget sets in interaction-priority order', () => {+ const summaries = Object.fromEntries(+ layoutPresets.map(({ id, snapshot }) => [+ id,+ {+ active: {+ bottom: snapshot.widgetRegions.bottom.activeInstanceId,+ center: snapshot.widgetRegions.center.activeInstanceId,+ left: snapshot.widgetRegions.left.activeInstanceId,+ right: snapshot.widgetRegions.right.activeInstanceId,+ },+ bottom: snapshot.widgetRegions.bottom.instanceIds,+ center: snapshot.widgetRegions.center.instanceIds,+ left: snapshot.widgetRegions.left.instanceIds,+ panels: snapshot.layout.panels,+ right: snapshot.widgetRegions.right.instanceIds,+ },+ ])+ );++ expect(summaries).toEqual({+ automate: {+ active: { bottom: 'gallery:bottom', center: 'workflow:center', left: 'workflow', right: 'queue' },+ bottom: ['server-status', 'queue-status', 'gallery:bottom', 'notifications', 'autosave-status'],+ center: ['workflow:center', 'preview'],+ left: ['workflow'],+ panels: { isBottomOpen: false, isLeftOpen: true, isRightOpen: true },- right: ['queue', 'preview', 'gallery'],++ right: ['queue', 'preview', 'gallery', 'image-map'],+ },+ compose: {+ active: { bottom: 'gallery:bottom', center: 'preview', left: 'generate', right: 'gallery' },+ bottom: ['server-status', 'queue-status', 'gallery:bottom', 'notifications', 'autosave-status'],+ // Compose keeps Gallery as a center view: the retired `gallery` preset+ // migrates here (see legacyLayoutPresetIds) precisely because it was+ // "Compose with the center view swapped", so the swap has to remain+ // available.+ center: ['preview', 'gallery:center'],+ left: ['generate', 'upscale'],+ panels: { isBottomOpen: false, isLeftOpen: true, isRightOpen: true },- right: ['gallery', 'queue'],++ right: ['gallery', 'image-map', 'queue'],+ },+ edit: {+ active: { bottom: 'gallery:bottom', center: 'canvas', left: 'generate', right: 'layers' },+ bottom: ['server-status', 'queue-status', 'gallery:bottom', 'notifications', 'autosave-status'],+ center: ['canvas', 'preview'],+ left: ['generate', 'upscale'],+ panels: { isBottomOpen: false, isLeftOpen: true, isRightOpen: true },- right: ['layers', 'preview', 'gallery', 'queue'],++ right: ['layers', 'preview', 'gallery', 'image-map', 'queue'],+ },+ });+ });});diff --cc invokeai/frontend/webv2/src/workbench/layoutPresets.tsindex 3a6988d1dd,9a39ea173d..2e2566fe03--- a/invokeai/frontend/webv2/src/workbench/layoutPresets.ts+++ b/invokeai/frontend/webv2/src/workbench/layoutPresets.ts@@@ -176,7 -171,7 +176,7 @@@ export const builtInLayoutPresetDescrip}),right: createRegion({activeInstanceId: 'gallery',- instanceIds: ['gallery', 'queue'],- instanceIds: ['gallery', 'image-map', 'preview', 'queue', 'layers', 'diagnostics', 'project'],++ instanceIds: ['gallery', 'image-map', 'queue'],sizePx: 450,}),},@@@ -209,7 -204,7 +209,7 @@@}),right: createRegion({activeInstanceId: 'layers',- instanceIds: ['layers', 'preview', 'gallery', 'queue'],- instanceIds: ['layers', 'gallery', 'image-map', 'queue', 'preview', 'diagnostics', 'project'],++ instanceIds: ['layers', 'preview', 'gallery', 'image-map', 'queue'],sizePx: 450,}),},@@@ -242,7 -237,7 +242,7 @@@}),right: createRegion({activeInstanceId: 'queue',- instanceIds: ['queue', 'preview', 'gallery'],- instanceIds: ['queue', 'gallery', 'image-map', 'layers', 'preview', 'diagnostics', 'project'],++ instanceIds: ['queue', 'preview', 'gallery', 'image-map'],sizePx: 450,}),},diff --cc invokeai/frontend/webv2/src/workbench/workbenchState.test.tsindex e913c954ba,4f2fc854fa..fa1ca98ae6--- a/invokeai/frontend/webv2/src/workbench/workbenchState.test.ts+++ b/invokeai/frontend/webv2/src/workbench/workbenchState.test.ts@@@ -357,22 -357,13 +357,22 @@@ const submitGenerate = (state: WorkbencworkbenchReducer(state, { backendSupportsCancellation: true, type: 'submitInvocationSnapshot' });describe('workbench widget region defaults', () => {- it('enables Diagnostics in the right side panel rail', () => {+ it('starts new projects from the curated Compose widget defaults', () => {const state = createInitialWorkbenchState();+ const project = getActiveProject(state);- expect(getActiveProject(state).widgetRegions.right.instanceIds).toContain('diagnostics');+ expect(project.widgetRegions.left.instanceIds).toEqual(['generate', 'upscale']);- expect(project.widgetRegions.right.instanceIds).toEqual(['gallery', 'queue']);++ expect(project.widgetRegions.right.instanceIds).toEqual(['gallery', 'image-map', 'queue']);+ expect(project.widgetRegions.bottom.instanceIds).toEqual([+ 'server-status',+ 'queue-status',+ 'gallery:bottom',+ 'notifications',+ 'autosave-status',+ ]);});- it('hydrates the old default right rail with Diagnostics while preserving customized rails', () => {+ it('hydrates the old default right rail to the curated Compose defaults while preserving customized rails', () => {const initial = createInitialWorkbenchState();const legacyDefault = {...initial,@@@ -398,16 -389,24 +398,19 @@@const hydratedLegacyDefault = workbenchReducer(initial, { state: legacyDefault, type: 'hydrateWorkbench' });const hydratedCustomized = workbenchReducer(initial, { state: customized, type: 'hydrateWorkbench' });- expect(getActiveProject(hydratedLegacyDefault).widgetRegions.right.instanceIds).toEqual(['gallery', 'queue']);+ expect(getActiveProject(hydratedLegacyDefault).widgetRegions.right.instanceIds).toEqual([+ 'gallery',+ 'image-map',- 'preview',+ 'queue',- 'layers',- 'diagnostics',- 'project',+ ]);expect(getActiveProject(hydratedCustomized).widgetRegions.right.instanceIds).toEqual(['gallery', 'layers']);});-- it('adds Image Map to an untouched pre-image-map right rail so it does not read as drifted', () => {-- // The built-in presets now list image-map. A project persisted before that-- // keeps the old rail, so without this migration every existing user's-- // layout compares unequal to the preset it was loaded from: the topbar-- // shows an unsaved-changes dot and offers to revert a layout they never-- // edited, and the widget itself is only reachable from the enable menu.++ it('hydrates a pre-image-map right rail to the curated rail rather than splicing Image Map in', () => {++ // Splicing would leave a rail no preset holds, so an untouched project++ // would compare unequal to the preset it was loaded from — the drift dot++ // the rail migrations exist to avoid. Adopting the curated rail is the++ // only result that both surfaces the widget and keeps the two in step.const initial = createInitialWorkbenchState();const withRightIds = (instanceIds: Project['widgetRegions']['right']['instanceIds']): WorkbenchState => ({...initial,@@@ -428,11 -427,11 +431,7 @@@expect(getActiveProject(hydratedDefault).widgetRegions.right.instanceIds).toEqual(['gallery','image-map',-- 'preview','queue',-- 'layers',-- 'diagnostics',-- 'project',]);// A rail the user actually arranged is still theirs.expect(getActiveProject(hydratedCustomized).widgetRegions.right.instanceIds).toEqual([@@@ -440,6 -439,6 +439,9 @@@'gallery','queue',]);++ for (const preset of layoutPresets) {++ expect(preset.snapshot.widgetRegions.right.instanceIds).toContain('image-map');++ }});it('adds Upscale to untouched legacy left rails while preserving customized rails', () => {@@@ -470,51 -469,6 +472,95 @@@expect(getActiveProject(customized).widgetRegions.left.instanceIds).toEqual(['generate', 'gallery']);});+ it('adds queue-status to untouched legacy bottom rails while preserving customized rails', () => {+ const initial = createInitialWorkbenchState();+ const withoutQueueStatusInstance = Object.fromEntries(+ Object.entries(getActiveProject(initial).widgetInstances).filter(([id]) => id !== 'queue-status')+ ) as Project['widgetInstances'];+ const withBottomIds = (instanceIds: Project['widgetRegions']['bottom']['instanceIds']): WorkbenchState => ({+ ...initial,+ projects: initial.projects.map((project) => ({+ ...project,+ widgetInstances: withoutQueueStatusInstance,+ widgetRegions: { ...project.widgetRegions, bottom: { ...project.widgetRegions.bottom, instanceIds } },+ })),+ });++ const migrated = workbenchReducer(initial, {+ state: withBottomIds(['server-status', 'gallery:bottom', 'notifications', 'autosave-status']),+ type: 'hydrateWorkbench',+ });+ const customized = workbenchReducer(initial, {+ state: withBottomIds(['server-status', 'notifications']),+ type: 'hydrateWorkbench',+ });+ const alreadyPresent = workbenchReducer(initial, {+ state: withBottomIds(['queue-status', 'server-status', 'gallery:bottom', 'notifications', 'autosave-status']),+ type: 'hydrateWorkbench',+ });++ expect(getActiveProject(migrated).widgetRegions.bottom.instanceIds).toEqual([+ 'server-status',+ 'queue-status',+ 'gallery:bottom',+ 'notifications',+ 'autosave-status',+ ]);+ expect(getActiveProject(migrated).widgetInstances['queue-status']?.typeId).toBe('queue-status');+ expect(getActiveProject(customized).widgetRegions.bottom.instanceIds).toEqual(['server-status', 'notifications']);+ expect(getActiveProject(alreadyPresent).widgetRegions.bottom.instanceIds).toEqual([+ 'queue-status',+ 'server-status',+ 'gallery:bottom',+ 'notifications',+ 'autosave-status',+ ]);+ });+++ it('leaves a floated queue-status floating instead of re-docking it every load', () => {++ // A rail whose queue-status was floated back out is byte-identical to the++ // pre-branch default, so the migration re-adds it. Reconciliation runs on++ // the migration's output and must win, or the widget re-docks on every++ // reload and the layout reads as permanently drifted.++ const initial = createInitialWorkbenchState();++ const migrated = workbenchReducer(initial, {++ state: {++ ...initial,++ projects: initial.projects.map((project) => ({++ ...project,++ floatingWidgets: {++ 'queue-status': {++ heightPx: 180,++ mode: 'windowed',++ returnIndex: 1,++ returnRegion: 'bottom',++ stackOrder: 1,++ widthPx: 320,++ x: 64,++ y: 64,++ },++ },++ widgetRegions: {++ ...project.widgetRegions,++ bottom: {++ ...project.widgetRegions.bottom,++ instanceIds: ['server-status', 'gallery:bottom', 'notifications', 'autosave-status'],++ },++ },++ })),++ },++ type: 'hydrateWorkbench',++ });++++ expect(getActiveProject(migrated).widgetRegions.bottom.instanceIds).toEqual([++ 'server-status',++ 'gallery:bottom',++ 'notifications',++ 'autosave-status',++ ]);++ expect(getActiveProject(migrated).floatingWidgets?.['queue-status']?.returnRegion).toBe('bottom');++ });++it('migrates a legacy Upscale prompt only when Generate has no prompt content', () => {const initial = createInitialWorkbenchState();const withPrompts = (generatePrompt: string): WorkbenchState => ({@@@ -937,7 -891,7 +983,7 @@@ describe('workbench layout presets', (});expect(project.widgetRegions.right).toMatchObject({activeInstanceId: 'gallery',- instanceIds: ['gallery', 'queue'],- instanceIds: ['gallery', 'image-map', 'preview', 'queue', 'layers', 'diagnostics', 'project'],++ instanceIds: ['gallery', 'image-map', 'queue'],isCollapsed: false,sizePx: 450,});diff --cc invokeai/frontend/webv2/src/workbench/workbenchState.tsindex 57b33a5c8a,6889092cfc..a528315b2a--- a/invokeai/frontend/webv2/src/workbench/workbenchState.ts+++ b/invokeai/frontend/webv2/src/workbench/workbenchState.ts@@@ -1271,23 -1219,23 +1291,25 @@@ const ensureLeftRegion = (leftRegion: Wreturn { ...leftRegion, instanceIds };};--const LEGACY_RIGHT_REGION_WIDGET_IDS: WidgetId[] = ['queue', 'gallery', 'layers'];++// Every right rail this app has shipped as a default. A project persisted with++// one of these exactly is an untouched default rather than a customization, so++// it adopts the current curated rail wholesale.++//++// Adopting beats splicing the new widget in: the curated presets are the only++// arrangements a rail can hold without reading as drifted, and a spliced rail++// is by construction not one of them — it would show the unsaved-changes dot++// and offer to revert a layout nobody edited.++const LEGACY_RIGHT_REGION_WIDGET_IDS: WidgetId[][] = [++ ['queue', 'gallery', 'layers'],++ // The rail as it shipped before the image map existed.++ ['gallery', 'preview', 'queue', 'layers', 'diagnostics', 'project'],++];const isLegacyDefaultRightRegion = (region: WidgetRegionState): boolean =>-- region.instanceIds.length === LEGACY_RIGHT_REGION_WIDGET_IDS.length &&-- region.instanceIds.every((widgetId, index) => widgetId === LEGACY_RIGHT_REGION_WIDGET_IDS[index]);----// The right rail as it shipped before the image map existed. A project--// persisted with exactly this arrangement is an untouched default, not a--// customization, so it gains the new widget the way a fresh project would.--const PRE_IMAGE_MAP_DEFAULT_RIGHT_REGION_WIDGET_IDS: WidgetId[] = [-- 'gallery',-- 'preview',-- 'queue',-- 'layers',-- 'diagnostics',-- 'project',--];++ LEGACY_RIGHT_REGION_WIDGET_IDS.some(++ (ids) =>++ ids.length === region.instanceIds.length && ids.every((widgetId, index) => region.instanceIds[index] === widgetId)++ );const ensureRightRegion = (rightRegion: WidgetRegionState | undefined): WidgetRegionState => {const defaultRightRegion = createWidgetRegions().right;@@@ -1300,70 -1248,33 +1322,50 @@@return { ...rightRegion, instanceIds: defaultRightRegion.instanceIds };}-- if (rightRegion.instanceIds.includes('image-map')) {- return rightRegion;- }-- const isPreImageMapDefault =- rightRegion.instanceIds.length === PRE_IMAGE_MAP_DEFAULT_RIGHT_REGION_WIDGET_IDS.length &&- rightRegion.instanceIds.every(- (widgetId, index) => widgetId === PRE_IMAGE_MAP_DEFAULT_RIGHT_REGION_WIDGET_IDS[index]- );-- if (!isPreImageMapDefault) {- // A customized rail is left alone, matching how `upscale` was introduced.-- return rightRegion;-- }-- // Without this, adding the widget to the built-in presets makes every- // existing project read as drifted from the preset it was loaded from — the- // topbar shows an unsaved-changes dot, and offers to revert a layout the user- // never edited. Migrating the persisted rail keeps the two in step, and is- // also the only way the widget is discoverable without hunting through the- // enable menu.- const galleryIndex = rightRegion.instanceIds.indexOf('gallery');- const instanceIds = [...rightRegion.instanceIds];-- instanceIds.splice(galleryIndex === -1 ? instanceIds.length : galleryIndex + 1, 0, 'image-map');-- return { ...rightRegion, instanceIds };++ return rightRegion;+};- const isPreImageMapDefault =- rightRegion.instanceIds.length === PRE_IMAGE_MAP_DEFAULT_RIGHT_REGION_WIDGET_IDS.length &&- rightRegion.instanceIds.every(- (widgetId, index) => widgetId === PRE_IMAGE_MAP_DEFAULT_RIGHT_REGION_WIDGET_IDS[index]- );+// The shipped bottom-region default before 'queue-status' was added — a+// persisted project whose bottom rail matches this exactly is still running+// the pre-branch defaults, so it should pick up the new widget the same way+// a fresh project would.++//++// A rail whose 'queue-status' was floated back out matches this shape too, so++// the migration re-docks it on every load. That is left to++// `reconcileFloatingWidgets`, which runs on this region's output and drops any++// instance holding a floating window — the same contract the other rail++// migrations here rely on.+const LEGACY_DEFAULT_BOTTOM_REGION_WIDGET_IDS: readonly WidgetInstanceId[] = [+ 'server-status',+ 'gallery:bottom',+ 'notifications',+ 'autosave-status',+];- if (!isPreImageMapDefault) {- // A customized rail is left alone, matching how `upscale` was introduced.- return rightRegion;+const isLegacyDefaultBottomRegion = (region: WidgetRegionState): boolean =>+ region.instanceIds.length === LEGACY_DEFAULT_BOTTOM_REGION_WIDGET_IDS.length &&+ region.instanceIds.every((widgetId, index) => widgetId === LEGACY_DEFAULT_BOTTOM_REGION_WIDGET_IDS[index]);++const ensureBottomRegion = (bottomRegion: WidgetRegionState | undefined): WidgetRegionState => {+ const fallback = createWidgetRegions().bottom;++ if (!bottomRegion) {+ return fallback;+ }+ if (bottomRegion.instanceIds.includes('queue-status')) {+ return bottomRegion;}- // Without this, adding the widget to the built-in presets makes every- // existing project read as drifted from the preset it was loaded from — the- // topbar shows an unsaved-changes dot, and offers to revert a layout the user- // never edited. Migrating the persisted rail keeps the two in step, and is- // also the only way the widget is discoverable without hunting through the- // enable menu.- const galleryIndex = rightRegion.instanceIds.indexOf('gallery');- const instanceIds = [...rightRegion.instanceIds];+ if (!isLegacyDefaultBottomRegion(bottomRegion)) {+ return bottomRegion;+ }- instanceIds.splice(galleryIndex === -1 ? instanceIds.length : galleryIndex + 1, 0, 'image-map');+ const serverStatusIndex = bottomRegion.instanceIds.indexOf('server-status');+ const instanceIds = [...bottomRegion.instanceIds];- return { ...rightRegion, instanceIds };+ instanceIds.splice(serverStatusIndex === -1 ? instanceIds.length : serverStatusIndex + 1, 0, 'queue-status');++ return { ...bottomRegion, instanceIds };};const getCenterWidgetIdFromViewId = (centerViewId: CenterViewId): WidgetInstanceId => {@@@ -1479,6 -1530,15 +1625,15 @@@ export const normalizeWorkbenchProject}const canvas = cloneCanvas(migrateCanvasStateToV2(project.canvas));+ const placement = reconcileFloatingWidgets(+ {+ left: leftRegion,+ right: ensureRightRegion(legacyWidgetRegions?.right ?? legacyWidgetRegions?.['right-panel']),- bottom: legacyWidgetRegions?.bottom ?? legacyWidgetRegions?.['status-bar'] ?? defaultWidgetRegions.bottom,++ bottom: bottomRegion,+ center: ensureCenterRegion(legacyWidgetRegions?.center, project.layout.centerViewId),+ },+ normalizeFloatingWidgets((project as Partial<Project>).floatingWidgets, widgetInstances)+ );return {...project,