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.

Merge origin/main into fix/general-tweaks-fixes-03

Josh Corbett6fba131ad89b
diff --cc invokeai/frontend/webv2/performance/architecture-baseline.json
index d297c30858,aa3f509adc..66cd509803
--- a/invokeai/frontend/webv2/performance/architecture-baseline.json
+++ b/invokeai/frontend/webv2/performance/architecture-baseline.json
@@@ -2,17 -2,17 +2,17 @@@
"build": {
"launchpad": {
"baseline": {
- "brotliBytes": 852795,
- "brotliBytes": 849936,
++ "brotliBytes": 854238,
"cssRawBytes": 2159,
"fontRawBytes": 219480,
- "gzipBytes": 852090,
- "gzipBytes": 849109,
++ "gzipBytes": 853412,
"imageRawBytes": 156376,
- "initialRawBytes": 1992177,
- "initialRawBytes": 1984850,
- "largestAssetRawBytes": 746121,
++ "initialRawBytes": 1995691,
+ "largestAssetRawBytes": 747209,
"otherAssetRawBytes": 0,
- "ownedRawBytes": 74128,
- "requestCount": 42,
- "scriptRequestCount": 26,
- "ownedRawBytes": 73967,
++ "ownedRawBytes": 74196,
+ "requestCount": 44,
+ "scriptRequestCount": 28,
"sourceOwners": [
"package:@ark-ui/react",
"package:@chakra-ui/react",
@@@ -304,17 -298,17 +306,17 @@@
]
},
"limits": {
- "brotliBytes": 861323,
- "brotliBytes": 858436,
++ "brotliBytes": 862781,
"cssRawBytes": 2181,
"fontRawBytes": 221675,
- "gzipBytes": 860611,
- "gzipBytes": 857601,
++ "gzipBytes": 861947,
"imageRawBytes": 157940,
- "initialRawBytes": 2012099,
- "initialRawBytes": 2004699,
- "largestAssetRawBytes": 753583,
++ "initialRawBytes": 2015648,
+ "largestAssetRawBytes": 754682,
"otherAssetRawBytes": 0,
- "ownedRawBytes": 74128,
- "requestCount": 42,
- "scriptRequestCount": 26
- "ownedRawBytes": 73967,
++ "ownedRawBytes": 74196,
+ "requestCount": 44,
+ "scriptRequestCount": 28
},
"owner": "app",
"remediationTicket": "set-performance-budgets",
@@@ -322,17 -316,17 +324,17 @@@
},
"editor": {
"baseline": {
- "brotliBytes": 1168531,
- "brotliBytes": 1163632,
++ "brotliBytes": 1175359,
"cssRawBytes": 2159,
"fontRawBytes": 219480,
- "gzipBytes": 1163348,
- "gzipBytes": 1157960,
++ "gzipBytes": 1169588,
"imageRawBytes": 156376,
- "initialRawBytes": 2947612,
- "initialRawBytes": 2937602,
- "largestAssetRawBytes": 746121,
++ "initialRawBytes": 2972354,
+ "largestAssetRawBytes": 747209,
"otherAssetRawBytes": 0,
- "ownedRawBytes": 130954,
- "requestCount": 104,
- "scriptRequestCount": 88,
- "ownedRawBytes": 132886,
++ "ownedRawBytes": 131277,
+ "requestCount": 106,
+ "scriptRequestCount": 90,
"sourceOwners": [
"package:@ark-ui/react",
"package:@chakra-ui/react",
@@@ -1008,17 -989,17 +1013,17 @@@
]
},
"limits": {
- "brotliBytes": 1180217,
- "brotliBytes": 1175269,
++ "brotliBytes": 1187113,
"cssRawBytes": 2181,
"fontRawBytes": 221675,
- "gzipBytes": 1174982,
- "gzipBytes": 1169540,
++ "gzipBytes": 1181284,
"imageRawBytes": 157940,
- "initialRawBytes": 2977089,
- "initialRawBytes": 2966979,
- "largestAssetRawBytes": 753583,
++ "initialRawBytes": 3002078,
+ "largestAssetRawBytes": 754682,
"otherAssetRawBytes": 0,
- "ownedRawBytes": 130954,
- "requestCount": 104,
- "scriptRequestCount": 88
- "ownedRawBytes": 132886,
++ "ownedRawBytes": 131277,
+ "requestCount": 106,
+ "scriptRequestCount": 90
},
"owner": "workbench",
"remediationTicket": "deepen-widget-registry-loading",
diff --cc invokeai/frontend/webv2/performance/browser-baseline.json
index 17a404f908,49df4bcba4..85b0ca6627
--- 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-09-06",
+ "browserExecutable": "/home/toast/.cache/ms-playwright/chromium-1234/chrome-linux64/chrome",
- "capturedAt": "2026-09-06",
++ "capturedAt": "2026-09-07",
"routes": [
{
"activatedResourceBaseline": {
@@@ -25,13 -25,13 +25,13 @@@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 117.20000000298023,
- "domContentLoadedMedianMs": 95.70000004768372,
++ "domContentLoadedMedianMs": 116.79999999701977,
"id": "launchpad",
"layoutAckMedianMs": 0,
"layoutReturnSwitchMedianMs": 0,
"layoutSwitchMedianMs": 0,
- "loadMedianMs": 117.30000000074506,
- "longestTaskMaxMs": 70,
- "loadMedianMs": 95.80000007152557,
- "longestTaskMaxMs": 56,
++ "loadMedianMs": 116.79999999701977,
++ "longestTaskMaxMs": 69,
"owner": "app",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:launchpad",
@@@ -40,25 -40,25 +40,25 @@@
"cssRawBytes": 2159,
"fontRawBytes": 23664,
"imageRawBytes": 0,
- "largestAssetRawBytes": 747173,
- "otherRawBytes": 146662,
- "requestCount": 37,
- "scriptRawBytes": 1670421,
- "scriptRequestCount": 33,
- "totalRawBytes": 1842906
- "largestAssetRawBytes": 746121,
- "otherRawBytes": 172175,
++ "largestAssetRawBytes": 747209,
++ "otherRawBytes": 150650,
+ "requestCount": 39,
- "scriptRawBytes": 1664980,
++ "scriptRawBytes": 1676948,
+ "scriptRequestCount": 35,
- "totalRawBytes": 1862978
++ "totalRawBytes": 1853421
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 0,
- "largestAssetRawBytes": 754645,
- "otherRawBytes": 148129,
- "requestCount": 37,
- "scriptRawBytes": 1687126,
- "scriptRequestCount": 33,
- "totalRawBytes": 1861336
- "largestAssetRawBytes": 753583,
- "otherRawBytes": 173897,
++ "largestAssetRawBytes": 754682,
++ "otherRawBytes": 152157,
+ "requestCount": 39,
- "scriptRawBytes": 1681630,
++ "scriptRawBytes": 1693718,
+ "scriptRequestCount": 35,
- "totalRawBytes": 1881608
++ "totalRawBytes": 1871956
},
- "routeReadyMedianMs": 265.30000000074506,
- "routeReadyMedianMs": 219.09999990463257,
++ "routeReadyMedianMs": 260.19999999552965,
"scriptSourceOwnerSet": "launchpad-static",
"stateProfile": "empty"
},
@@@ -85,13 -85,13 +85,13 @@@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 113.69999999925494,
- "domContentLoadedMedianMs": 94.39999997615814,
++ "domContentLoadedMedianMs": 117.89999999850988,
"id": "launchpad",
"layoutAckMedianMs": 0,
"layoutReturnSwitchMedianMs": 0,
"layoutSwitchMedianMs": 0,
- "loadMedianMs": 113.80000000074506,
- "longestTaskMaxMs": 72,
- "loadMedianMs": 94.5,
- "longestTaskMaxMs": 59,
++ "loadMedianMs": 118,
++ "longestTaskMaxMs": 69,
"owner": "app",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:launchpad",
@@@ -100,25 -100,25 +100,25 @@@
"cssRawBytes": 2159,
"fontRawBytes": 23664,
"imageRawBytes": 0,
- "largestAssetRawBytes": 747173,
- "otherRawBytes": 146662,
- "requestCount": 37,
- "scriptRawBytes": 1670421,
- "scriptRequestCount": 33,
- "totalRawBytes": 1842906
- "largestAssetRawBytes": 746121,
- "otherRawBytes": 172175,
++ "largestAssetRawBytes": 747209,
++ "otherRawBytes": 150650,
+ "requestCount": 39,
- "scriptRawBytes": 1664980,
++ "scriptRawBytes": 1676948,
+ "scriptRequestCount": 35,
- "totalRawBytes": 1862978
++ "totalRawBytes": 1853421
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 0,
- "largestAssetRawBytes": 754645,
- "otherRawBytes": 148129,
- "requestCount": 37,
- "scriptRawBytes": 1687126,
- "scriptRequestCount": 33,
- "totalRawBytes": 1861336
- "largestAssetRawBytes": 753583,
- "otherRawBytes": 173897,
++ "largestAssetRawBytes": 754682,
++ "otherRawBytes": 152157,
+ "requestCount": 39,
- "scriptRawBytes": 1681630,
++ "scriptRawBytes": 1693718,
+ "scriptRequestCount": 35,
- "totalRawBytes": 1881608
++ "totalRawBytes": 1871956
},
- "routeReadyMedianMs": 267.69999999925494,
- "routeReadyMedianMs": 227.29999995231628,
++ "routeReadyMedianMs": 271.8999999985099,
"scriptSourceOwnerSet": "launchpad-static",
"stateProfile": "representative"
},
@@@ -145,40 -145,40 +145,40 @@@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 123.59999999776483,
- "domContentLoadedMedianMs": 95.70000004768372,
++ "domContentLoadedMedianMs": 117.20000000298023,
"id": "editor-minimal",
"layoutAckMedianMs": 0,
"layoutReturnSwitchMedianMs": 0,
"layoutSwitchMedianMs": 0,
- "loadMedianMs": 123.69999999925494,
- "longestTaskMaxMs": 141,
- "loadMedianMs": 95.79999995231628,
- "longestTaskMaxMs": 103,
++ "loadMedianMs": 117.30000000447035,
++ "longestTaskMaxMs": 126,
"owner": "workbench",
- "projectSwitchMedianMs": 40.600000001490116,
- "projectSwitchMedianMs": 29.299999952316284,
++ "projectSwitchMedianMs": 37.79999999701977,
"readyMark": "invokeai:ready:widget:center:preview",
"remediationTicket": "deepen-widget-registry-loading",
"resourceBaseline": {
"cssRawBytes": 2159,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 747173,
- "otherRawBytes": 146662,
- "requestCount": 121,
- "scriptRawBytes": 3466577,
- "scriptRequestCount": 116,
- "totalRawBytes": 3795438
- "largestAssetRawBytes": 746121,
- "otherRawBytes": 172175,
- "requestCount": 123,
- "scriptRawBytes": 3465497,
- "scriptRequestCount": 118,
- "totalRawBytes": 3819871
++ "largestAssetRawBytes": 747209,
++ "otherRawBytes": 150650,
++ "requestCount": 122,
++ "scriptRawBytes": 3507724,
++ "scriptRequestCount": 117,
++ "totalRawBytes": 3840573
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 754645,
- "otherRawBytes": 148129,
- "requestCount": 121,
- "scriptRawBytes": 3501243,
- "scriptRequestCount": 116,
- "totalRawBytes": 3833393
- "largestAssetRawBytes": 753583,
- "otherRawBytes": 173897,
- "requestCount": 123,
- "scriptRawBytes": 3500152,
- "scriptRequestCount": 118,
- "totalRawBytes": 3858070
++ "largestAssetRawBytes": 754682,
++ "otherRawBytes": 152157,
++ "requestCount": 122,
++ "scriptRawBytes": 3542802,
++ "scriptRequestCount": 117,
++ "totalRawBytes": 3878979
},
- "routeReadyMedianMs": 456.80000000074506,
- "routeReadyMedianMs": 351,
++ "routeReadyMedianMs": 424.29999999701977,
"scriptSourceOwnerSet": "editor-minimal-static",
"stateProfile": "empty"
},
@@@ -205,40 -205,40 +205,40 @@@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 133.40000000223517,
- "domContentLoadedMedianMs": 93,
++ "domContentLoadedMedianMs": 116.60000000149012,
"id": "editor-minimal",
"layoutAckMedianMs": 0,
"layoutReturnSwitchMedianMs": 0,
"layoutSwitchMedianMs": 0,
- "loadMedianMs": 133.5,
- "longestTaskMaxMs": 194,
- "loadMedianMs": 93.20000004768372,
- "longestTaskMaxMs": 101,
++ "loadMedianMs": 116.70000000298023,
++ "longestTaskMaxMs": 144,
"owner": "workbench",
- "projectSwitchMedianMs": 55.5,
- "projectSwitchMedianMs": 36.200000047683716,
++ "projectSwitchMedianMs": 42.70000000298023,
"readyMark": "invokeai:ready:widget:center:preview",
"remediationTicket": "deepen-widget-registry-loading",
"resourceBaseline": {
"cssRawBytes": 2159,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 747173,
- "otherRawBytes": 146662,
- "requestCount": 121,
- "scriptRawBytes": 3466577,
- "scriptRequestCount": 116,
- "totalRawBytes": 3795438
- "largestAssetRawBytes": 746121,
- "otherRawBytes": 172175,
- "requestCount": 123,
- "scriptRawBytes": 3465497,
- "scriptRequestCount": 118,
- "totalRawBytes": 3819871
++ "largestAssetRawBytes": 747209,
++ "otherRawBytes": 150650,
++ "requestCount": 122,
++ "scriptRawBytes": 3507724,
++ "scriptRequestCount": 117,
++ "totalRawBytes": 3840573
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 754645,
- "otherRawBytes": 148129,
- "requestCount": 121,
- "scriptRawBytes": 3501243,
- "scriptRequestCount": 116,
- "totalRawBytes": 3833393
- "largestAssetRawBytes": 753583,
- "otherRawBytes": 173897,
- "requestCount": 123,
- "scriptRawBytes": 3500152,
- "scriptRequestCount": 118,
- "totalRawBytes": 3858070
++ "largestAssetRawBytes": 754682,
++ "otherRawBytes": 152157,
++ "requestCount": 122,
++ "scriptRawBytes": 3542802,
++ "scriptRequestCount": 117,
++ "totalRawBytes": 3878979
},
- "routeReadyMedianMs": 494.19999999925494,
- "routeReadyMedianMs": 358.60000002384186,
++ "routeReadyMedianMs": 430.1000000014901,
"scriptSourceOwnerSet": "editor-minimal-static",
"stateProfile": "representative"
},
@@@ -247,31 -247,31 +247,31 @@@
"cssRawBytes": 0,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 315728,
- "largestAssetRawBytes": 315682,
++ "largestAssetRawBytes": 319690,
"otherRawBytes": 0,
-- "requestCount": 7,
- "scriptRawBytes": 480988,
- "scriptRawBytes": 483080,
-- "scriptRequestCount": 7,
- "totalRawBytes": 480988
- "totalRawBytes": 483080
++ "requestCount": 10,
++ "scriptRawBytes": 501642,
++ "scriptRequestCount": 10,
++ "totalRawBytes": 501642
},
"activatedResourceLimits": {
"cssRawBytes": 0,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 318886,
- "largestAssetRawBytes": 318839,
++ "largestAssetRawBytes": 322887,
"otherRawBytes": 0,
-- "requestCount": 7,
- "scriptRawBytes": 485798,
- "scriptRawBytes": 487911,
-- "scriptRequestCount": 7,
- "totalRawBytes": 485798
- "totalRawBytes": 487911
++ "requestCount": 10,
++ "scriptRawBytes": 506659,
++ "scriptRequestCount": 10,
++ "totalRawBytes": 506659
},
- "domContentLoadedMedianMs": 128.90000000223517,
- "domContentLoadedMedianMs": 95.5,
++ "domContentLoadedMedianMs": 117.29999999701977,
"id": "editor-canvas",
- "layoutAckMedianMs": 2.800000000745058,
- "layoutReturnSwitchMedianMs": 60.30000000074506,
- "layoutSwitchMedianMs": 92,
- "loadMedianMs": 128.90000000223517,
- "longestTaskMaxMs": 178,
- "layoutAckMedianMs": 2,
- "layoutReturnSwitchMedianMs": 47.800000071525574,
- "layoutSwitchMedianMs": 76.89999997615814,
- "loadMedianMs": 95.5,
- "longestTaskMaxMs": 114,
++ "layoutAckMedianMs": 2.1999999955296516,
++ "layoutReturnSwitchMedianMs": 56.69999999552965,
++ "layoutSwitchMedianMs": 92.69999999552965,
++ "loadMedianMs": 117.39999999850988,
++ "longestTaskMaxMs": 137,
"owner": "canvas",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:canvas",
@@@ -280,25 -280,25 +280,25 @@@
"cssRawBytes": 2159,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 747173,
- "otherRawBytes": 146662,
- "requestCount": 128,
- "scriptRawBytes": 3947565,
- "scriptRequestCount": 123,
- "totalRawBytes": 4276426
- "largestAssetRawBytes": 746121,
- "otherRawBytes": 172175,
- "requestCount": 130,
- "scriptRawBytes": 3948577,
- "scriptRequestCount": 125,
- "totalRawBytes": 4302951
++ "largestAssetRawBytes": 747209,
++ "otherRawBytes": 150650,
++ "requestCount": 132,
++ "scriptRawBytes": 4009366,
++ "scriptRequestCount": 127,
++ "totalRawBytes": 4342215
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 754645,
- "otherRawBytes": 148129,
- "requestCount": 128,
- "scriptRawBytes": 3987041,
- "scriptRequestCount": 123,
- "totalRawBytes": 4319191
- "largestAssetRawBytes": 753583,
- "otherRawBytes": 173897,
- "requestCount": 130,
- "scriptRawBytes": 3988063,
- "scriptRequestCount": 125,
- "totalRawBytes": 4345981
++ "largestAssetRawBytes": 754682,
++ "otherRawBytes": 152157,
++ "requestCount": 132,
++ "scriptRawBytes": 4049460,
++ "scriptRequestCount": 127,
++ "totalRawBytes": 4385638
},
- "routeReadyMedianMs": 1176.199999999255,
- "routeReadyMedianMs": 1023.6999999284744,
++ "routeReadyMedianMs": 1108.8000000044703,
"scriptSourceOwnerSet": "editor-canvas-static",
"stateProfile": "empty"
},
@@@ -307,31 -307,31 +307,31 @@@
"cssRawBytes": 0,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 315728,
- "largestAssetRawBytes": 315682,
++ "largestAssetRawBytes": 319690,
"otherRawBytes": 0,
-- "requestCount": 7,
- "scriptRawBytes": 480988,
- "scriptRawBytes": 483080,
-- "scriptRequestCount": 7,
- "totalRawBytes": 480988
- "totalRawBytes": 483080
++ "requestCount": 10,
++ "scriptRawBytes": 501642,
++ "scriptRequestCount": 10,
++ "totalRawBytes": 501642
},
"activatedResourceLimits": {
"cssRawBytes": 0,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 318886,
- "largestAssetRawBytes": 318839,
++ "largestAssetRawBytes": 322887,
"otherRawBytes": 0,
-- "requestCount": 7,
- "scriptRawBytes": 485798,
- "scriptRawBytes": 487911,
-- "scriptRequestCount": 7,
- "totalRawBytes": 485798
- "totalRawBytes": 487911
++ "requestCount": 10,
++ "scriptRawBytes": 506659,
++ "scriptRequestCount": 10,
++ "totalRawBytes": 506659
},
- "domContentLoadedMedianMs": 123.09999999776483,
- "domContentLoadedMedianMs": 97,
++ "domContentLoadedMedianMs": 115.10000000149012,
"id": "editor-canvas",
- "layoutAckMedianMs": 4.100000001490116,
- "layoutReturnSwitchMedianMs": 50.100000001490116,
- "layoutSwitchMedianMs": 93.10000000149012,
- "loadMedianMs": 123.19999999925494,
- "longestTaskMaxMs": 200,
- "layoutAckMedianMs": 3.399999976158142,
- "layoutReturnSwitchMedianMs": 46.60000002384186,
- "layoutSwitchMedianMs": 77.79999995231628,
- "loadMedianMs": 97.10000002384186,
- "longestTaskMaxMs": 150,
++ "layoutAckMedianMs": 2.899999998509884,
++ "layoutReturnSwitchMedianMs": 52.80000000447035,
++ "layoutSwitchMedianMs": 84.29999999701977,
++ "loadMedianMs": 115.29999999701977,
++ "longestTaskMaxMs": 191,
"owner": "canvas",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:canvas",
@@@ -340,25 -340,25 +340,25 @@@
"cssRawBytes": 2159,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 747173,
- "otherRawBytes": 146662,
- "requestCount": 128,
- "scriptRawBytes": 3947565,
- "scriptRequestCount": 123,
- "totalRawBytes": 4276426
- "largestAssetRawBytes": 746121,
- "otherRawBytes": 172175,
- "requestCount": 130,
- "scriptRawBytes": 3948577,
- "scriptRequestCount": 125,
- "totalRawBytes": 4302951
++ "largestAssetRawBytes": 747209,
++ "otherRawBytes": 150650,
++ "requestCount": 132,
++ "scriptRawBytes": 4009366,
++ "scriptRequestCount": 127,
++ "totalRawBytes": 4342215
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 754645,
- "otherRawBytes": 148129,
- "requestCount": 128,
- "scriptRawBytes": 3987041,
- "scriptRequestCount": 123,
- "totalRawBytes": 4319191
- "largestAssetRawBytes": 753583,
- "otherRawBytes": 173897,
- "requestCount": 130,
- "scriptRawBytes": 3988063,
- "scriptRequestCount": 125,
- "totalRawBytes": 4345981
++ "largestAssetRawBytes": 754682,
++ "otherRawBytes": 152157,
++ "requestCount": 132,
++ "scriptRawBytes": 4049460,
++ "scriptRequestCount": 127,
++ "totalRawBytes": 4385638
},
- "routeReadyMedianMs": 1146.9000000022352,
- "routeReadyMedianMs": 1048.3999999761581,
++ "routeReadyMedianMs": 1095.6999999955297,
"scriptSourceOwnerSet": "editor-canvas-static",
"stateProfile": "representative"
},
@@@ -367,31 -367,31 +367,31 @@@
"cssRawBytes": 15413,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 173980,
+ "largestAssetRawBytes": 174131,
"otherRawBytes": 0,
"requestCount": 7,
- "scriptRawBytes": 364616,
- "scriptRawBytes": 368104,
++ "scriptRawBytes": 368278,
"scriptRequestCount": 6,
- "totalRawBytes": 380029
- "totalRawBytes": 383517
++ "totalRawBytes": 383691
},
"activatedResourceLimits": {
"cssRawBytes": 15568,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 175720,
+ "largestAssetRawBytes": 175873,
"otherRawBytes": 0,
"requestCount": 7,
- "scriptRawBytes": 368263,
- "scriptRawBytes": 371786,
++ "scriptRawBytes": 371961,
"scriptRequestCount": 6,
- "totalRawBytes": 383830
- "totalRawBytes": 387353
++ "totalRawBytes": 387528
},
- "domContentLoadedMedianMs": 126,
- "domContentLoadedMedianMs": 95.79999995231628,
++ "domContentLoadedMedianMs": 115,
"id": "editor-workflow",
- "layoutAckMedianMs": 3.100000001490116,
- "layoutReturnSwitchMedianMs": 35.399999998509884,
- "layoutSwitchMedianMs": 98.40000000223517,
- "loadMedianMs": 126.09999999776483,
- "longestTaskMaxMs": 143,
- "layoutAckMedianMs": 2.200000047683716,
- "layoutReturnSwitchMedianMs": 29.100000023841858,
- "layoutSwitchMedianMs": 76.10000002384186,
- "loadMedianMs": 96,
- "longestTaskMaxMs": 108,
++ "layoutAckMedianMs": 2.399999998509884,
++ "layoutReturnSwitchMedianMs": 32.100000001490116,
++ "layoutSwitchMedianMs": 89.40000000596046,
++ "loadMedianMs": 115.19999999552965,
++ "longestTaskMaxMs": 122,
"owner": "workflow",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:workflow",
@@@ -400,25 -400,25 +400,25 @@@
"cssRawBytes": 17572,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 747173,
- "otherRawBytes": 146662,
- "requestCount": 128,
- "scriptRawBytes": 3831193,
- "scriptRequestCount": 122,
- "totalRawBytes": 4175467
- "largestAssetRawBytes": 746121,
- "otherRawBytes": 172175,
- "requestCount": 130,
- "scriptRawBytes": 3833601,
- "scriptRequestCount": 124,
- "totalRawBytes": 4203388
++ "largestAssetRawBytes": 747209,
++ "otherRawBytes": 150650,
++ "requestCount": 129,
++ "scriptRawBytes": 3876002,
++ "scriptRequestCount": 123,
++ "totalRawBytes": 4224264
},
"resourceLimits": {
"cssRawBytes": 17748,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 754645,
- "otherRawBytes": 148129,
- "requestCount": 128,
- "scriptRawBytes": 3869505,
- "scriptRequestCount": 122,
- "totalRawBytes": 4217222
- "largestAssetRawBytes": 753583,
- "otherRawBytes": 173897,
- "requestCount": 130,
- "scriptRawBytes": 3871938,
- "scriptRequestCount": 124,
- "totalRawBytes": 4245422
++ "largestAssetRawBytes": 754682,
++ "otherRawBytes": 152157,
++ "requestCount": 129,
++ "scriptRawBytes": 3914763,
++ "scriptRequestCount": 123,
++ "totalRawBytes": 4266507
},
- "routeReadyMedianMs": 1174,
- "routeReadyMedianMs": 1032.6999999284744,
++ "routeReadyMedianMs": 1106,
"scriptSourceOwnerSet": "editor-workflow-static",
"stateProfile": "empty"
},
@@@ -427,31 -427,31 +427,31 @@@
"cssRawBytes": 15413,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 173980,
+ "largestAssetRawBytes": 174131,
"otherRawBytes": 0,
"requestCount": 7,
- "scriptRawBytes": 364616,
- "scriptRawBytes": 368104,
++ "scriptRawBytes": 368278,
"scriptRequestCount": 6,
- "totalRawBytes": 380029
- "totalRawBytes": 383517
++ "totalRawBytes": 383691
},
"activatedResourceLimits": {
"cssRawBytes": 15568,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 175720,
+ "largestAssetRawBytes": 175873,
"otherRawBytes": 0,
"requestCount": 7,
- "scriptRawBytes": 368263,
- "scriptRawBytes": 371786,
++ "scriptRawBytes": 371961,
"scriptRequestCount": 6,
- "totalRawBytes": 383830
- "totalRawBytes": 387353
++ "totalRawBytes": 387528
},
- "domContentLoadedMedianMs": 126.40000000223517,
- "domContentLoadedMedianMs": 92.79999995231628,
++ "domContentLoadedMedianMs": 115.69999999552965,
"id": "editor-workflow",
- "layoutAckMedianMs": 4.600000001490116,
- "layoutReturnSwitchMedianMs": 42.399999998509884,
- "layoutSwitchMedianMs": 139.59999999776483,
- "loadMedianMs": 126.5,
- "longestTaskMaxMs": 436,
- "layoutAckMedianMs": 3.200000047683716,
- "layoutReturnSwitchMedianMs": 35.89999997615814,
- "layoutSwitchMedianMs": 111.89999997615814,
- "loadMedianMs": 92.89999997615814,
- "longestTaskMaxMs": 377,
++ "layoutAckMedianMs": 3.3000000044703484,
++ "layoutReturnSwitchMedianMs": 38.20000000298023,
++ "layoutSwitchMedianMs": 122.10000000149012,
++ "loadMedianMs": 115.79999999701977,
++ "longestTaskMaxMs": 353,
"owner": "workflow",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:workflow",
@@@ -460,25 -460,25 +460,25 @@@
"cssRawBytes": 17572,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 747173,
- "otherRawBytes": 146662,
- "requestCount": 128,
- "scriptRawBytes": 3831193,
- "scriptRequestCount": 122,
- "totalRawBytes": 4175467
- "largestAssetRawBytes": 746121,
- "otherRawBytes": 172175,
- "requestCount": 130,
- "scriptRawBytes": 3833601,
- "scriptRequestCount": 124,
- "totalRawBytes": 4203388
++ "largestAssetRawBytes": 747209,
++ "otherRawBytes": 150650,
++ "requestCount": 129,
++ "scriptRawBytes": 3876002,
++ "scriptRequestCount": 123,
++ "totalRawBytes": 4224264
},
"resourceLimits": {
"cssRawBytes": 17748,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 754645,
- "otherRawBytes": 148129,
- "requestCount": 128,
- "scriptRawBytes": 3869505,
- "scriptRequestCount": 122,
- "totalRawBytes": 4217222
- "largestAssetRawBytes": 753583,
- "otherRawBytes": 173897,
- "requestCount": 130,
- "scriptRawBytes": 3871938,
- "scriptRequestCount": 124,
- "totalRawBytes": 4245422
++ "largestAssetRawBytes": 754682,
++ "otherRawBytes": 152157,
++ "requestCount": 129,
++ "scriptRawBytes": 3914763,
++ "scriptRequestCount": 123,
++ "totalRawBytes": 4266507
},
- "routeReadyMedianMs": 1211,
- "routeReadyMedianMs": 1089.8999999761581,
++ "routeReadyMedianMs": 1141.3999999985099,
"scriptSourceOwnerSet": "editor-workflow-static",
"stateProfile": "representative"
},
@@@ -505,13 -505,13 +505,13 @@@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 123.90000000223517,
- "domContentLoadedMedianMs": 144.60000002384186,
++ "domContentLoadedMedianMs": 115.89999999850988,
"id": "editor-gallery",
"layoutAckMedianMs": 0,
"layoutReturnSwitchMedianMs": 0,
- "layoutSwitchMedianMs": 26.300000000745058,
- "loadMedianMs": 124,
- "longestTaskMaxMs": 138,
- "layoutSwitchMedianMs": 35.700000047683716,
- "loadMedianMs": 144.80000007152557,
- "longestTaskMaxMs": 170,
++ "layoutSwitchMedianMs": 24.200000002980232,
++ "loadMedianMs": 115.89999999850988,
++ "longestTaskMaxMs": 127,
"owner": "gallery",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:gallery",
@@@ -520,25 -520,25 +520,25 @@@
"cssRawBytes": 2159,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 747173,
- "otherRawBytes": 146662,
- "requestCount": 121,
- "scriptRawBytes": 3466577,
- "scriptRequestCount": 116,
- "totalRawBytes": 3795438
- "largestAssetRawBytes": 746121,
- "otherRawBytes": 172175,
- "requestCount": 123,
- "scriptRawBytes": 3465497,
- "scriptRequestCount": 118,
- "totalRawBytes": 3819871
++ "largestAssetRawBytes": 747209,
++ "otherRawBytes": 150650,
++ "requestCount": 122,
++ "scriptRawBytes": 3507724,
++ "scriptRequestCount": 117,
++ "totalRawBytes": 3840573
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 754645,
- "otherRawBytes": 148129,
- "requestCount": 121,
- "scriptRawBytes": 3501243,
- "scriptRequestCount": 116,
- "totalRawBytes": 3833393
- "largestAssetRawBytes": 753583,
- "otherRawBytes": 173897,
- "requestCount": 123,
- "scriptRawBytes": 3500152,
- "scriptRequestCount": 118,
- "totalRawBytes": 3858070
++ "largestAssetRawBytes": 754682,
++ "otherRawBytes": 152157,
++ "requestCount": 122,
++ "scriptRawBytes": 3542802,
++ "scriptRequestCount": 117,
++ "totalRawBytes": 3878979
},
- "routeReadyMedianMs": 1349.5999999977648,
- "routeReadyMedianMs": 1494.7000000476837,
++ "routeReadyMedianMs": 1312.4000000059605,
"scriptSourceOwnerSet": "editor-minimal-static",
"stateProfile": "empty"
},
@@@ -565,13 -565,13 +565,13 @@@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 121.89999999850988,
- "domContentLoadedMedianMs": 93,
++ "domContentLoadedMedianMs": 117.10000000149012,
"id": "editor-gallery",
"layoutAckMedianMs": 0,
"layoutReturnSwitchMedianMs": 0,
- "layoutSwitchMedianMs": 35.399999998509884,
- "loadMedianMs": 122,
- "longestTaskMaxMs": 125,
- "layoutSwitchMedianMs": 26.699999928474426,
- "loadMedianMs": 93.10000002384186,
- "longestTaskMaxMs": 101,
++ "layoutSwitchMedianMs": 33,
++ "loadMedianMs": 117.20000000298023,
++ "longestTaskMaxMs": 117,
"owner": "gallery",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:gallery",
@@@ -580,25 -580,25 +580,25 @@@
"cssRawBytes": 2159,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 747173,
- "otherRawBytes": 146662,
- "requestCount": 121,
- "scriptRawBytes": 3466577,
- "scriptRequestCount": 116,
- "totalRawBytes": 3795438
- "largestAssetRawBytes": 746121,
- "otherRawBytes": 172175,
- "requestCount": 123,
- "scriptRawBytes": 3465497,
- "scriptRequestCount": 118,
- "totalRawBytes": 3819871
++ "largestAssetRawBytes": 747209,
++ "otherRawBytes": 150650,
++ "requestCount": 122,
++ "scriptRawBytes": 3507724,
++ "scriptRequestCount": 117,
++ "totalRawBytes": 3840573
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 754645,
- "otherRawBytes": 148129,
- "requestCount": 121,
- "scriptRawBytes": 3501243,
- "scriptRequestCount": 116,
- "totalRawBytes": 3833393
- "largestAssetRawBytes": 753583,
- "otherRawBytes": 173897,
- "requestCount": 123,
- "scriptRawBytes": 3500152,
- "scriptRequestCount": 118,
- "totalRawBytes": 3858070
++ "largestAssetRawBytes": 754682,
++ "otherRawBytes": 152157,
++ "requestCount": 122,
++ "scriptRawBytes": 3542802,
++ "scriptRequestCount": 117,
++ "totalRawBytes": 3878979
},
- "routeReadyMedianMs": 1382.1000000014901,
- "routeReadyMedianMs": 1261.8999999761581,
++ "routeReadyMedianMs": 1329.2000000029802,
"scriptSourceOwnerSet": "editor-minimal-static",
"stateProfile": "representative"
}
@@@ -873,12 -871,10 +875,14 @@@
"source:src/platform/ui/theme/themes.ts",
"source:src/platform/ui/toaster.tsx",
"source:src/platform/ui/useScrollAreaPhantomHeal.ts",
++ "source:src/platform/ui/widgetOverlayRegistry.ts",
++ "source:src/platform/ui/widgetOverlays.ts",
"source:src/workbench/canvasSchemaVersion.ts",
"source:src/workbench/components/WorkbenchSplashScreen.tsx",
+ "source:src/workbench/deferredResource.ts",
"source:src/workbench/hotkeys/catalog.ts",
"source:src/workbench/hotkeys/keys.ts",
+ "source:src/workbench/hotkeys/modalLayer.ts",
"source:src/workbench/hotkeys/resolve.ts",
"source:src/workbench/launchpad/HelpMenu.tsx",
"source:src/workbench/launchpad/KnownBrowserIssuesAlert.tsx",
@@@ -1477,6 -1470,6 +1484,8 @@@
"source:src/platform/ui/theme/themes.ts",
"source:src/platform/ui/toaster.tsx",
"source:src/platform/ui/useScrollAreaPhantomHeal.ts",
++ "source:src/platform/ui/widgetOverlayRegistry.ts",
++ "source:src/platform/ui/widgetOverlays.ts",
"source:src/workbench/WorkbenchContext.tsx",
"source:src/workbench/WorkbenchRuntime.tsx",
"source:src/workbench/WorkbenchSessionController.tsx",
@@@ -1599,6 -1592,6 +1608,7 @@@
"source:src/workbench/canvas-engine/selection/floatingSelection.ts",
"source:src/workbench/canvas-engine/selection/marchingAnts.ts",
"source:src/workbench/canvas-engine/selection/maskOutline.ts",
++ "source:src/workbench/canvas-engine/selection/selectionHistory.ts",
"source:src/workbench/canvas-engine/selection/selectionOpMode.ts",
"source:src/workbench/canvas-engine/selection/selectionOps.ts",
"source:src/workbench/canvas-engine/selection/selectionPaths.ts",
@@@ -1618,6 -1611,6 +1628,7 @@@
"source:src/workbench/canvas-engine/tools/moveTool.ts",
"source:src/workbench/canvas-engine/tools/paintConstants.ts",
"source:src/workbench/canvas-engine/tools/paintTool.ts",
++ "source:src/workbench/canvas-engine/tools/polylineSession.ts",
"source:src/workbench/canvas-engine/tools/samHitTest.ts",
"source:src/workbench/canvas-engine/tools/samTool.ts",
"source:src/workbench/canvas-engine/tools/shapeTool.ts",
@@@ -1636,6 -1629,6 +1647,7 @@@
"source:src/workbench/canvas-operations/compositeForGeneration.ts",
"source:src/workbench/canvas-operations/controlRecommendations.ts",
"source:src/workbench/canvas-operations/createCanvasEngine.ts",
++ "source:src/workbench/canvas-operations/createCanvasFromImages.ts",
"source:src/workbench/canvas-operations/createFromBbox.ts",
"source:src/workbench/canvas-operations/engineRegistry.ts",
"source:src/workbench/canvas-operations/exportCanvasComposite.ts",
@@@ -2133,12 -2115,12 +2145,14 @@@
"source:src/features/gallery/utility.ts",
"source:src/features/gallery/widget.ts",
"source:src/features/generation/canvasGraph.ts",
++ "source:src/features/generation/canvasProcessingSize.ts",
"source:src/features/generation/components.ts",
"source:src/features/generation/core/baseGenerationPolicies.ts",
"source:src/features/generation/core/batch.ts",
"source:src/features/generation/core/canvas/addControlLayers.ts",
"source:src/features/generation/core/canvas/addRegionalGuidance.ts",
"source:src/features/generation/core/canvas/canvasMode.ts",
++ "source:src/features/generation/core/canvas/canvasProcessingSize.ts",
"source:src/features/generation/core/canvas/compileCanvasGraph.ts",
"source:src/features/generation/core/canvas/controlValidation.ts",
"source:src/features/generation/core/catalogSearch.ts",
@@@ -2323,6 -2305,6 +2337,7 @@@
"source:src/features/queue/index.ts",
"source:src/features/queue/menu.ts",
"source:src/features/queue/publicApi.ts",
++ "source:src/features/queue/queries.ts",
"source:src/features/queue/react.ts",
"source:src/features/queue/reveal.ts",
"source:src/features/queue/runtime.ts",
@@@ -2485,6 -2467,6 +2503,9 @@@
"source:src/platform/ui/theme/themes.ts",
"source:src/platform/ui/toaster.tsx",
"source:src/platform/ui/useScrollAreaPhantomHeal.ts",
++ "source:src/platform/ui/wheelScrollsHorizontally.ts",
++ "source:src/platform/ui/widgetOverlayRegistry.ts",
++ "source:src/platform/ui/widgetOverlays.ts",
"source:src/workbench/WorkbenchContext.tsx",
"source:src/workbench/WorkbenchRuntime.tsx",
"source:src/workbench/WorkbenchSessionController.tsx",
@@@ -2607,6 -2589,6 +2628,7 @@@
"source:src/workbench/canvas-engine/selection/floatingSelection.ts",
"source:src/workbench/canvas-engine/selection/marchingAnts.ts",
"source:src/workbench/canvas-engine/selection/maskOutline.ts",
++ "source:src/workbench/canvas-engine/selection/selectionHistory.ts",
"source:src/workbench/canvas-engine/selection/selectionOpMode.ts",
"source:src/workbench/canvas-engine/selection/selectionOps.ts",
"source:src/workbench/canvas-engine/selection/selectionPaths.ts",
@@@ -2626,6 -2608,6 +2648,7 @@@
"source:src/workbench/canvas-engine/tools/moveTool.ts",
"source:src/workbench/canvas-engine/tools/paintConstants.ts",
"source:src/workbench/canvas-engine/tools/paintTool.ts",
++ "source:src/workbench/canvas-engine/tools/polylineSession.ts",
"source:src/workbench/canvas-engine/tools/samHitTest.ts",
"source:src/workbench/canvas-engine/tools/samTool.ts",
"source:src/workbench/canvas-engine/tools/shapeTool.ts",
@@@ -2644,6 -2626,6 +2667,7 @@@
"source:src/workbench/canvas-operations/compositeForGeneration.ts",
"source:src/workbench/canvas-operations/controlRecommendations.ts",
"source:src/workbench/canvas-operations/createCanvasEngine.ts",
++ "source:src/workbench/canvas-operations/createCanvasFromImages.ts",
"source:src/workbench/canvas-operations/createFromBbox.ts",
"source:src/workbench/canvas-operations/createFromBboxNotice.ts",
"source:src/workbench/canvas-operations/engineRegistry.ts",
@@@ -2793,6 -2775,6 +2817,7 @@@
"source:src/workbench/queue-integration/QueueProgressRail.tsx",
"source:src/workbench/queue-integration/QueueRecoveryNotice.tsx",
"source:src/workbench/queue-integration/activeQueueRuns.ts",
++ "source:src/workbench/queue-integration/queueRecall.ts",
"source:src/workbench/queue-integration/queueRecallCache.ts",
"source:src/workbench/queue-integration/queueRecovery.ts",
"source:src/workbench/queue-integration/queueRunJournal.ts",
@@@ -2800,6 -2782,6 +2825,8 @@@
"source:src/workbench/queue-integration/queueRunPersistence.ts",
"source:src/workbench/queue-integration/queueRunRestoration.ts",
"source:src/workbench/queue-integration/useActiveQueueProgress.ts",
++ "source:src/workbench/queue-integration/useLocalRecallSnapshot.ts",
++ "source:src/workbench/queue-integration/useQueueItemRecall.ts",
"source:src/workbench/queue-integration/useQueueRecoveryProjectIds.ts",
"source:src/workbench/settings/SettingsButton.tsx",
"source:src/workbench/settings/SettingsDialogHost.tsx",
@@@ -2896,9 -2874,9 +2923,11 @@@
"source:src/workbench/widgets/canvas/CanvasWidgetView.tsx",
"source:src/workbench/widgets/canvas/DenoisingStrengthWave.tsx",
"source:src/workbench/widgets/canvas/GenerateCanvasCompositingSection.tsx",
++ "source:src/workbench/widgets/canvas/GenerateCanvasScalingSection.tsx",
"source:src/workbench/widgets/canvas/GenerateCanvasSections.tsx",
"source:src/workbench/widgets/canvas/GenerateDenoisingStrength.tsx",
"source:src/workbench/widgets/canvas/StagingBar.tsx",
++ "source:src/workbench/widgets/canvas/StagingItemContextMenu.tsx",
"source:src/workbench/widgets/canvas/TextEditPortal.tsx",
"source:src/workbench/widgets/canvas/ToolStrip.tsx",
"source:src/workbench/widgets/canvas/ToolStripFlyout.tsx",
@@@ -2922,6 -2900,6 +2951,7 @@@
"source:src/workbench/widgets/canvas/fitBbox.ts",
"source:src/workbench/widgets/canvas/implementation.ts",
"source:src/workbench/widgets/canvas/invoke/canvasCompositing.ts",
++ "source:src/workbench/widgets/canvas/invoke/canvasScaling.ts",
"source:src/workbench/widgets/canvas/invoke/canvasStrength.ts",
"source:src/workbench/widgets/canvas/invoke/prepareCanvasInvocation.ts",
"source:src/workbench/widgets/canvas/manifest.ts",
@@@ -3029,6 -3005,6 +3059,7 @@@
"source:src/workbench/widgets/layers/runLayerWorkflow.ts",
"source:src/workbench/widgets/layers/selectedModel.ts",
"source:src/workbench/widgets/layers/useAddLayer.ts",
++ "source:src/workbench/widgets/layers/useCanvasHistoryHotkeys.ts",
"source:src/workbench/widgets/layers/useLayerSelectionCommands.ts",
"source:src/workbench/widgets/layers/useLayerStackActions.ts",
"source:src/workbench/widgets/layers/useSelectedMainModel.ts",
@@@ -3697,6 -3672,6 +3734,8 @@@
"source:src/platform/ui/theme/themes.ts",
"source:src/platform/ui/toaster.tsx",
"source:src/platform/ui/useScrollAreaPhantomHeal.ts",
++ "source:src/platform/ui/widgetOverlayRegistry.ts",
++ "source:src/platform/ui/widgetOverlays.ts",
"source:src/workbench/WorkbenchContext.tsx",
"source:src/workbench/WorkbenchRuntime.tsx",
"source:src/workbench/WorkbenchSessionController.tsx",
@@@ -3819,6 -3794,6 +3858,7 @@@
"source:src/workbench/canvas-engine/selection/floatingSelection.ts",
"source:src/workbench/canvas-engine/selection/marchingAnts.ts",
"source:src/workbench/canvas-engine/selection/maskOutline.ts",
++ "source:src/workbench/canvas-engine/selection/selectionHistory.ts",
"source:src/workbench/canvas-engine/selection/selectionOpMode.ts",
"source:src/workbench/canvas-engine/selection/selectionOps.ts",
"source:src/workbench/canvas-engine/selection/selectionPaths.ts",
@@@ -3838,6 -3813,6 +3878,7 @@@
"source:src/workbench/canvas-engine/tools/moveTool.ts",
"source:src/workbench/canvas-engine/tools/paintConstants.ts",
"source:src/workbench/canvas-engine/tools/paintTool.ts",
++ "source:src/workbench/canvas-engine/tools/polylineSession.ts",
"source:src/workbench/canvas-engine/tools/samHitTest.ts",
"source:src/workbench/canvas-engine/tools/samTool.ts",
"source:src/workbench/canvas-engine/tools/shapeTool.ts",
@@@ -3856,6 -3831,6 +3897,7 @@@
"source:src/workbench/canvas-operations/compositeForGeneration.ts",
"source:src/workbench/canvas-operations/controlRecommendations.ts",
"source:src/workbench/canvas-operations/createCanvasEngine.ts",
++ "source:src/workbench/canvas-operations/createCanvasFromImages.ts",
"source:src/workbench/canvas-operations/createFromBbox.ts",
"source:src/workbench/canvas-operations/engineRegistry.ts",
"source:src/workbench/canvas-operations/exportCanvasComposite.ts",
diff --cc invokeai/frontend/webv2/src/workbench/widget-frame/WidgetFrames.tsx
index ca553dcf3f,7ae1d9ed4e..36a9f99690
--- a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetFrames.tsx
+++ b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetFrames.tsx
@@@ -15,13 -14,11 +15,12 @@@ import { Box, Flex, HStack, Icon, Stack
import { flushWorkbenchDrafts } from '@platform/react/draftRegistry';
import { useMountEffect } from '@platform/react/useMountEffect';
import { IconButton } from '@platform/ui/Button';
+import { PanelHeader } from '@platform/ui/PanelHeader';
import { Tooltip } from '@platform/ui/Tooltip';
import { useFocusRegionProps } from '@workbench/focusRegions';
+ import { isWidgetRegion } from '@workbench/layoutContracts';
-import { openWorkbenchSettings } from '@workbench/settings/settingsDialogStore';
+import { WidgetSettingsButton } from '@workbench/settings/WidgetSettingsButton';
import { resolveWidgetInstanceLabel } from '@workbench/widgetLabels';
- import { getEnabledCenterViewCount } from '@workbench/widgetPlacementCommands';
- import { areWidgetPlacementProjectsEqual, getWidgetPlacementProject } from '@workbench/widgetPlacementMeta';
import { useActiveProjectSelector, useWorkbenchCommands } from '@workbench/WorkbenchContext';
import {
clampPanelSize,
@@@ -29,8 -26,7 +28,7 @@@
getVisiblePanelCollapseThreshold,
shouldSnapPanelShutAt,
} from '@workbench/workbenchState';
- import { useWorkbenchWidgetRegistry } from '@workbench/WorkbenchWidgetRegistryContext';
-import { PictureInPicture2Icon, SettingsIcon } from 'lucide-react';
+import { PictureInPicture2Icon } from 'lucide-react';
import {
useCallback,
useEffect,
diff --cc invokeai/frontend/webv2/src/workbench/workbenchState.test.ts
index dd302143a6,78f4aaa648..86e35f06a0
--- a/invokeai/frontend/webv2/src/workbench/workbenchState.test.ts
+++ b/invokeai/frontend/webv2/src/workbench/workbenchState.test.ts
@@@ -3971,57 -4112,138 +4112,189 @@@ describe('workbenchReducer Phase 5 gene
expect(getActiveProject(state).settings.showProgressImagesInViewer).toBe(false);
});
+ it('resets the page and stamps the selection query when the starred-only filter changes', () => {
+ let state = createInitialWorkbenchState();
+
+ state = workbenchReducer(state, { page: 4, type: 'setGalleryPage' });
+ state = workbenchReducer(state, { starredOnly: true, type: 'setGalleryStarredOnly' });
+
+ let values = getProjectWidgetValues(getActiveProject(state), 'gallery');
+ expect(values.starredOnly).toBe(true);
+ expect(values.galleryPage).toBe(0);
+
+ state = workbenchReducer(state, { item: createGalleryImageItem('starred.png'), type: 'selectGalleryItem' });
+ values = getProjectWidgetValues(getActiveProject(state), 'gallery');
+ expect(values.selectedImageQuery).toMatchObject({ starredOnly: true });
+
+ // Releasing the filter is a listing change too: the page resets, and a
+ // later selection is stamped against the unfiltered listing.
+ state = workbenchReducer(state, { page: 2, type: 'setGalleryPage' });
+ state = workbenchReducer(state, { starredOnly: false, type: 'setGalleryStarredOnly' });
+ state = workbenchReducer(state, {
+ itemKeys: ['image:a.png', 'image:b.png'],
+ primaryItem: createGalleryImageItem('b.png'),
+ type: 'setGalleryMultiSelection',
+ });
+ values = getProjectWidgetValues(getActiveProject(state), 'gallery');
+ expect(values.galleryPage).toBe(0);
+ expect(values.selectedImageQuery).toMatchObject({ starredOnly: false });
+ });
+
+ it('stamps a landing generation against the unfiltered listing', () => {
+ // A fresh result is never starred, so following it means leaving the
+ // starred-only listing — the stamp says so, exactly as it clears the search.
+ let state = primeGenerate();
+ state = workbenchReducer(state, { destination: 'gallery', type: 'setInvocationDestination' });
+ state = workbenchReducer(state, { starredOnly: true, type: 'setGalleryStarredOnly' });
+ state = submitGenerate(state);
+
+ const project = getActiveProject(state);
+ const queueItem = project.queue.items[0];
+ state = workbenchReducer(state, {
+ images: [createImage('completed.png', queueItem.id)],
+ projectId: project.id,
+ queueItemId: queueItem.id,
+ type: 'routeQueueItemResults',
+ });
+
+ expect(getProjectWidgetValues(getActiveProject(state), 'gallery').selectedImageQuery).toMatchObject({
+ searchTerm: '',
+ starredOnly: false,
+ });
+ });
+
+ it('exits a similarity search when the view moves to another board', () => {
+ // A ranking answers with images from wherever they live, so it is not a
+ // view OF any board; left up, a board click would be answered with the
+ // same results under a new board name.
+ let state = createInitialWorkbenchState();
+
+ state = workbenchReducer(state, { boardId: 'board-a', type: 'selectGalleryBoard' });
+ state = workbenchReducer(state, {
+ type: 'patchWidgetValues',
+ values: { galleryPage: 4, semanticImageQuery: { kind: 'text', query: 'sunset' } },
+ widgetId: 'gallery',
+ });
+
+ state = workbenchReducer(state, { boardId: 'board-b', type: 'selectGalleryBoard' });
+
+ const values = getProjectWidgetValues(getActiveProject(state), 'gallery');
+
+ expect(values.semanticImageQuery).toBeNull();
+ expect(values.selectedBoardId).toBe('board-b');
+ expect(values.galleryPage).toBe(0);
+ });
+
+ it('keeps a similarity search when the board already shown is picked again', () => {
+ // A text or image reference survives a reload, so a click that changes
+ // nothing about the view must not erase persisted state — and autosave
+ // the loss — on what reads as a no-op.
+ let state = createInitialWorkbenchState();
+
+ state = workbenchReducer(state, { boardId: 'board-a', type: 'selectGalleryBoard' });
+ state = workbenchReducer(state, {
+ type: 'patchWidgetValues',
+ values: { semanticImageQuery: { kind: 'text', query: 'sunset' } },
+ widgetId: 'gallery',
+ });
+
+ state = workbenchReducer(state, { boardId: 'board-a', type: 'selectGalleryBoard' });
+
+ expect(getProjectWidgetValues(getActiveProject(state), 'gallery').semanticImageQuery).toEqual({
+ kind: 'text',
+ query: 'sunset',
+ });
+ });
+
+ it('leaves the page stamped on the selection alone when a search is dismissed by a board move', () => {
+ // The selection here was made BEFORE the search, so its page is a real
+ // board position that the search never rewrote (setSemanticImageQuery
+ // touches only the grid's page). Zeroing it — as the adoption path must,
+ // having no better information — would cost Preview the cursor it still
+ // has and strand its arrows at the top of the board.
+ let state = createInitialWorkbenchState();
+
+ state = workbenchReducer(state, { boardId: 'board-a', type: 'selectGalleryBoard' });
+ state = workbenchReducer(state, {
+ item: createGalleryImageItem('deep.png'),
+ selectionPage: 7,
+ type: 'selectGalleryItem',
+ });
+ state = workbenchReducer(state, {
+ type: 'patchWidgetValues',
+ values: { semanticImageQuery: { kind: 'text', query: 'sunset' } },
+ widgetId: 'gallery',
+ });
+
+ state = workbenchReducer(state, { boardId: 'board-b', type: 'selectGalleryBoard' });
+
+ const values = getProjectWidgetValues(getActiveProject(state), 'gallery');
+
+ expect(values.semanticImageQuery).toBeNull();
+ expect(values.selectedImagePage).toBe(7);
+ expect((values.selectedImageQuery as { boardId: string; page: number }).page).toBe(7);
+ expect((values.selectedImageQuery as { boardId: string; page: number }).boardId).toBe('board-a');
+ });
+
+ it('exits a similarity search when the Images/Assets tab is switched, but not when it is re-clicked', () => {
+ // The two tabs are two listings and the ranking is a view of neither. A
+ // gallery that never touched the setting has no galleryView at all, and
+ // that reads as Images — so clicking Images there is not a switch.
+ let state = createInitialWorkbenchState();
+
+ state = workbenchReducer(state, {
+ type: 'patchWidgetValues',
+ values: { semanticImageQuery: { kind: 'text', query: 'sunset' } },
+ widgetId: 'gallery',
+ });
+
+ state = workbenchReducer(state, { galleryView: 'images', type: 'setGalleryView' });
+
+ expect(getProjectWidgetValues(getActiveProject(state), 'gallery').semanticImageQuery).toEqual({
+ kind: 'text',
+ query: 'sunset',
+ });
+
+ state = workbenchReducer(state, { galleryView: 'assets', type: 'setGalleryView' });
+
+ const values = getProjectWidgetValues(getActiveProject(state), 'gallery');
+
+ expect(values.semanticImageQuery).toBeNull();
+ expect(values.galleryView).toBe('assets');
+ });
+
+ it('exits a similarity search when the board being viewed is deleted', () => {
+ // Deleting the viewed board moves the view to Uncategorized without
+ // going through `selectGalleryBoard`, so the rule has to be applied here
+ // too — otherwise the ranking survives under a board name that is gone.
+ let state = createInitialWorkbenchState();
+
+ state = workbenchReducer(state, { boardId: 'doomed-board', type: 'selectGalleryBoard' });
+ state = workbenchReducer(state, {
+ type: 'patchWidgetValues',
+ values: { semanticImageQuery: { kind: 'text', query: 'sunset' } },
+ widgetId: 'gallery',
+ });
+
+ state = workbenchReducer(state, {
+ outcome: {
+ boardId: 'doomed-board',
+ deletedBoardImageNames: [],
+ deletedBoardVideoNames: [],
+ deletedImageNames: [],
+ deletedVideoNames: [],
+ failedImageNames: [],
+ failedVideoNames: [],
+ },
+ type: 'reconcileDeletedGalleryBoard',
+ });
+
+ const values = getProjectWidgetValues(getActiveProject(state), 'gallery');
+
+ expect(values.selectedBoardId).toBe('none');
+ expect(values.semanticImageQuery).toBeNull();
+ });
+
it('stores selected backend board id for gallery submissions', () => {
let state = createInitialWorkbenchState();