Skip to content

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

fix(webv2): restore architecture performance checks

joshistoast40fb387eea29
diff --git a/invokeai/frontend/webv2/performance/architecture-fixtures.json b/invokeai/frontend/webv2/performance/architecture-fixtures.json
index adb73287aa..89f6e67245 100644
--- a/invokeai/frontend/webv2/performance/architecture-fixtures.json
+++ b/invokeai/frontend/webv2/performance/architecture-fixtures.json
@@ -71,7 +71,7 @@
"path": "/#/app?new=true",
"readyMark": "invokeai:ready:widget:center:canvas",
"expectedScriptPattern": "WorkbenchApp-",
- "layoutPreset": "Canvas",
+ "layoutPreset": "Edit",
"requiredWidgetRequests": ["GalleryImageActionsBridge", "widget:canvas", "widget:layers"],
"forbiddenWidgetRequests": ["widget:project", "widget:upscale"],
"remediationTicket": "deepen-widget-registry-loading"
@@ -83,7 +83,7 @@
"path": "/#/app?project=fixture-project-001",
"readyMark": "invokeai:ready:widget:center:canvas",
"expectedScriptPattern": "WorkbenchApp-",
- "layoutPreset": "Canvas",
+ "layoutPreset": "Edit",
"requiredWidgetRequests": ["GalleryImageActionsBridge", "widget:canvas", "widget:layers"],
"forbiddenWidgetRequests": ["widget:project", "widget:upscale"],
"remediationTicket": "deepen-widget-registry-loading"
@@ -95,7 +95,7 @@
"path": "/#/app?new=true",
"readyMark": "invokeai:ready:widget:center:workflow",
"expectedScriptPattern": "WorkbenchApp-",
- "layoutPreset": "Workflow",
+ "layoutPreset": "Automate",
"requiredWidgetRequests": ["GalleryImageActionsBridge", "widget:workflow", "widget:queue"],
"forbiddenWidgetRequests": ["widget:canvas", "widget:layers", "widget:project", "widget:upscale"],
"remediationTicket": "deepen-widget-registry-loading"
@@ -107,7 +107,7 @@
"path": "/#/app?project=fixture-project-001",
"readyMark": "invokeai:ready:widget:center:workflow",
"expectedScriptPattern": "WorkbenchApp-",
- "layoutPreset": "Workflow",
+ "layoutPreset": "Automate",
"requiredWidgetRequests": ["GalleryImageActionsBridge", "widget:workflow", "widget:queue"],
"forbiddenWidgetRequests": ["widget:canvas", "widget:layers", "widget:project", "widget:upscale"],
"remediationTicket": "deepen-widget-registry-loading"
@@ -119,7 +119,7 @@
"path": "/#/app?new=true",
"readyMark": "invokeai:ready:widget:center:gallery",
"expectedScriptPattern": "WorkbenchApp-",
- "layoutPreset": "Gallery",
+ "centerView": "Gallery",
"requiredWidgetRequests": ["GalleryImageActionsBridge", "widget:gallery", "widget:preview"],
"forbiddenWidgetRequests": ["widget:canvas", "widget:layers", "widget:project", "widget:upscale"],
"remediationTicket": "deepen-widget-registry-loading"
@@ -131,7 +131,7 @@
"path": "/#/app?project=fixture-project-001",
"readyMark": "invokeai:ready:widget:center:gallery",
"expectedScriptPattern": "WorkbenchApp-",
- "layoutPreset": "Gallery",
+ "centerView": "Gallery",
"requiredWidgetRequests": ["GalleryImageActionsBridge", "widget:gallery", "widget:preview"],
"forbiddenWidgetRequests": ["widget:canvas", "widget:layers", "widget:project", "widget:upscale"],
"remediationTicket": "deepen-widget-registry-loading"
diff --git a/invokeai/frontend/webv2/performance/browser-baseline.json b/invokeai/frontend/webv2/performance/browser-baseline.json
index b8e2098559..6f8e917425 100644
--- a/invokeai/frontend/webv2/performance/browser-baseline.json
+++ b/invokeai/frontend/webv2/performance/browser-baseline.json
@@ -1,6 +1,6 @@
{
"browserExecutable": "/home/toast/.cache/ms-playwright/chromium-1228/chrome-linux64/chrome",
- "capturedAt": "2026-07-31",
+ "capturedAt": "2026-08-03",
"routes": [
{
"activatedResourceBaseline": {
@@ -25,11 +25,11 @@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 111.3999999994412,
+ "domContentLoadedMedianMs": 100,
"id": "launchpad",
"layoutSwitchMedianMs": 0,
- "loadMedianMs": 111.5,
- "longestTaskMaxMs": 68,
+ "loadMedianMs": 100,
+ "longestTaskMaxMs": 62,
"owner": "app",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:launchpad",
@@ -38,25 +38,25 @@
"cssRawBytes": 2159,
"fontRawBytes": 23664,
"imageRawBytes": 0,
- "largestAssetRawBytes": 737757,
- "otherRawBytes": 103506,
- "requestCount": 19,
- "scriptRawBytes": 1456006,
- "scriptRequestCount": 15,
- "totalRawBytes": 1585335
+ "largestAssetRawBytes": 737852,
+ "otherRawBytes": 110335,
+ "requestCount": 20,
+ "scriptRawBytes": 1478576,
+ "scriptRequestCount": 16,
+ "totalRawBytes": 1614734
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 0,
- "largestAssetRawBytes": 745135,
- "otherRawBytes": 104542,
- "requestCount": 19,
- "scriptRawBytes": 1470567,
- "scriptRequestCount": 15,
- "totalRawBytes": 1601189
+ "largestAssetRawBytes": 745231,
+ "otherRawBytes": 111439,
+ "requestCount": 20,
+ "scriptRawBytes": 1493362,
+ "scriptRequestCount": 16,
+ "totalRawBytes": 1630882
},
- "routeReadyMedianMs": 227.5,
+ "routeReadyMedianMs": 210.5,
"scriptSourceOwnerSet": "launchpad-static",
"stateProfile": "empty"
},
@@ -83,11 +83,11 @@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 109.90000000037253,
+ "domContentLoadedMedianMs": 103.3999999994412,
"id": "launchpad",
"layoutSwitchMedianMs": 0,
- "loadMedianMs": 109.90000000037253,
- "longestTaskMaxMs": 69,
+ "loadMedianMs": 103.3999999994412,
+ "longestTaskMaxMs": 65,
"owner": "app",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:launchpad",
@@ -96,25 +96,25 @@
"cssRawBytes": 2159,
"fontRawBytes": 23664,
"imageRawBytes": 0,
- "largestAssetRawBytes": 737757,
- "otherRawBytes": 103506,
- "requestCount": 19,
- "scriptRawBytes": 1456006,
- "scriptRequestCount": 15,
- "totalRawBytes": 1585335
+ "largestAssetRawBytes": 737852,
+ "otherRawBytes": 110335,
+ "requestCount": 20,
+ "scriptRawBytes": 1478576,
+ "scriptRequestCount": 16,
+ "totalRawBytes": 1614734
},
"resourceLimits": {
"cssRawBytes": 2181,
"fontRawBytes": 23901,
"imageRawBytes": 0,
- "largestAssetRawBytes": 745135,
- "otherRawBytes": 104542,
- "requestCount": 19,
- "scriptRawBytes": 1470567,
- "scriptRequestCount": 15,
- "totalRawBytes": 1601189
+ "largestAssetRawBytes": 745231,
+ "otherRawBytes": 111439,
+ "requestCount": 20,
+ "scriptRawBytes": 1493362,
+ "scriptRequestCount": 16,
+ "totalRawBytes": 1630882
},
- "routeReadyMedianMs": 281.69999999925494,
+ "routeReadyMedianMs": 266.20000000018626,
"scriptSourceOwnerSet": "launchpad-static",
"stateProfile": "representative"
},
@@ -141,38 +141,38 @@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 112,
+ "domContentLoadedMedianMs": 100.70000000018626,
"id": "editor-minimal",
"layoutSwitchMedianMs": 0,
- "loadMedianMs": 112,
- "longestTaskMaxMs": 113,
+ "loadMedianMs": 100.70000000018626,
+ "longestTaskMaxMs": 85,
"owner": "workbench",
- "projectSwitchMedianMs": 70.06946200000039,
+ "projectSwitchMedianMs": 64.9341970000005,
"readyMark": "invokeai:ready:widget:center:preview",
"remediationTicket": "deepen-widget-registry-loading",
"resourceBaseline": {
"cssRawBytes": 17572,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 737757,
- "otherRawBytes": 103506,
- "requestCount": 94,
- "scriptRawBytes": 3088075,
- "scriptRequestCount": 88,
- "totalRawBytes": 3389193
+ "largestAssetRawBytes": 737852,
+ "otherRawBytes": 110335,
+ "requestCount": 99,
+ "scriptRawBytes": 3191870,
+ "scriptRequestCount": 93,
+ "totalRawBytes": 3499817
},
"resourceLimits": {
"cssRawBytes": 17748,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 745135,
- "otherRawBytes": 104542,
- "requestCount": 94,
- "scriptRawBytes": 3118956,
- "scriptRequestCount": 88,
- "totalRawBytes": 3423085
+ "largestAssetRawBytes": 745231,
+ "otherRawBytes": 111439,
+ "requestCount": 99,
+ "scriptRawBytes": 3223789,
+ "scriptRequestCount": 93,
+ "totalRawBytes": 3534816
},
- "routeReadyMedianMs": 614.7000000001863,
+ "routeReadyMedianMs": 589.8000000007451,
"scriptSourceOwnerSet": "editor-minimal-static",
"stateProfile": "empty"
},
@@ -199,38 +199,38 @@
"scriptRequestCount": 0,
"totalRawBytes": 0
},
- "domContentLoadedMedianMs": 112.59999999962747,
+ "domContentLoadedMedianMs": 102.5,
"id": "editor-minimal",
"layoutSwitchMedianMs": 0,
- "loadMedianMs": 112.70000000018626,
- "longestTaskMaxMs": 123,
+ "loadMedianMs": 102.5,
+ "longestTaskMaxMs": 83,
"owner": "workbench",
- "projectSwitchMedianMs": 86.34619100000054,
+ "projectSwitchMedianMs": 82.07309800000075,
"readyMark": "invokeai:ready:widget:center:preview",
"remediationTicket": "deepen-widget-registry-loading",
"resourceBaseline": {
"cssRawBytes": 17572,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 737757,
- "otherRawBytes": 103506,
- "requestCount": 94,
- "scriptRawBytes": 3088075,
- "scriptRequestCount": 88,
- "totalRawBytes": 3389193
+ "largestAssetRawBytes": 737852,
+ "otherRawBytes": 110335,
+ "requestCount": 99,
+ "scriptRawBytes": 3191870,
+ "scriptRequestCount": 93,
+ "totalRawBytes": 3499817
},
"resourceLimits": {
"cssRawBytes": 17748,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 745135,
- "otherRawBytes": 104542,
- "requestCount": 94,
- "scriptRawBytes": 3118956,
- "scriptRequestCount": 88,
- "totalRawBytes": 3423085
+ "largestAssetRawBytes": 745231,
+ "otherRawBytes": 111439,
+ "requestCount": 99,
+ "scriptRawBytes": 3223789,
+ "scriptRequestCount": 93,
+ "totalRawBytes": 3534816
},
- "routeReadyMedianMs": 664.9000000003725,
+ "routeReadyMedianMs": 623,
"scriptSourceOwnerSet": "editor-minimal-static",
"stateProfile": "representative"
},
@@ -239,29 +239,29 @@
"cssRawBytes": 0,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 136939,
+ "largestAssetRawBytes": 135417,
"otherRawBytes": 0,
"requestCount": 7,
- "scriptRawBytes": 293074,
+ "scriptRawBytes": 303460,
"scriptRequestCount": 7,
- "totalRawBytes": 293074
+ "totalRawBytes": 303460
},
"activatedResourceLimits": {
"cssRawBytes": 0,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 138309,
+ "largestAssetRawBytes": 136772,
"otherRawBytes": 0,
"requestCount": 7,
- "scriptRawBytes": 296005,
+ "scriptRawBytes": 306495,
"scriptRequestCount": 7,
- "totalRawBytes": 296005
+ "totalRawBytes": 306495
},
- "domContentLoadedMedianMs": 112.29999999981374,
+ "domContentLoadedMedianMs": 100.5,
"id": "editor-canvas",
- "layoutSwitchMedianMs": 79.09999999962747,
- "loadMedianMs": 112.29999999981374,
- "longestTaskMaxMs": 113,
+ "layoutSwitchMedianMs": 77.79999999981374,
+ "loadMedianMs": 100.5,
+ "longestTaskMaxMs": 85,
"owner": "canvas",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:canvas",
@@ -270,25 +270,25 @@
"cssRawBytes": 17572,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 737757,
- "otherRawBytes": 103506,
- "requestCount": 98,
- "scriptRawBytes": 3366592,
- "scriptRequestCount": 92,
- "totalRawBytes": 3667710
+ "largestAssetRawBytes": 737852,
+ "otherRawBytes": 110335,
+ "requestCount": 103,
+ "scriptRawBytes": 3469562,
+ "scriptRequestCount": 97,
+ "totalRawBytes": 3777509
},
"resourceLimits": {
"cssRawBytes": 17748,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 745135,
- "otherRawBytes": 104542,
- "requestCount": 98,
- "scriptRawBytes": 3400258,
- "scriptRequestCount": 92,
- "totalRawBytes": 3704388
+ "largestAssetRawBytes": 745231,
+ "otherRawBytes": 111439,
+ "requestCount": 103,
+ "scriptRawBytes": 3504258,
+ "scriptRequestCount": 97,
+ "totalRawBytes": 3815285
},
- "routeReadyMedianMs": 760.7999999998137,
+ "routeReadyMedianMs": 597.2000000001863,
"scriptSourceOwnerSet": "editor-canvas-static",
"stateProfile": "empty"
},
@@ -297,29 +297,29 @@
"cssRawBytes": 0,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 136939,
+ "largestAssetRawBytes": 135417,
"otherRawBytes": 0,
"requestCount": 7,
- "scriptRawBytes": 293074,
+ "scriptRawBytes": 303460,
"scriptRequestCount": 7,
- "totalRawBytes": 293074
+ "totalRawBytes": 303460
},
"activatedResourceLimits": {
"cssRawBytes": 0,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 138309,
+ "largestAssetRawBytes": 136772,
"otherRawBytes": 0,
"requestCount": 7,
- "scriptRawBytes": 296005,
+ "scriptRawBytes": 306495,
"scriptRequestCount": 7,
- "totalRawBytes": 296005
+ "totalRawBytes": 306495
},
- "domContentLoadedMedianMs": 110.5,
+ "domContentLoadedMedianMs": 101,
"id": "editor-canvas",
- "layoutSwitchMedianMs": 328.70000000018626,
- "loadMedianMs": 110.6000000005588,
- "longestTaskMaxMs": 384,
+ "layoutSwitchMedianMs": 180.90000000037253,
+ "loadMedianMs": 101,
+ "longestTaskMaxMs": 332,
"owner": "canvas",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:canvas",
@@ -328,25 +328,25 @@
"cssRawBytes": 17572,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 737757,
- "otherRawBytes": 103506,
- "requestCount": 98,
- "scriptRawBytes": 3366592,
- "scriptRequestCount": 92,
- "totalRawBytes": 3667710
+ "largestAssetRawBytes": 737852,
+ "otherRawBytes": 110335,
+ "requestCount": 103,
+ "scriptRawBytes": 3469562,
+ "scriptRequestCount": 97,
+ "totalRawBytes": 3777509
},
"resourceLimits": {
"cssRawBytes": 17748,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 745135,
- "otherRawBytes": 104542,
- "requestCount": 98,
- "scriptRawBytes": 3400258,
- "scriptRequestCount": 92,
- "totalRawBytes": 3704388
+ "largestAssetRawBytes": 745231,
+ "otherRawBytes": 111439,
+ "requestCount": 103,
+ "scriptRawBytes": 3504258,
+ "scriptRequestCount": 97,
+ "totalRawBytes": 3815285
},
- "routeReadyMedianMs": 1169.6000000005588,
+ "routeReadyMedianMs": 660.5,
"scriptSourceOwnerSet": "editor-canvas-static",
"stateProfile": "representative"
},
@@ -355,29 +355,29 @@
"cssRawBytes": 0,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 13254,
+ "largestAssetRawBytes": 24261,
"otherRawBytes": 0,
"requestCount": 3,
- "scriptRawBytes": 14557,
+ "scriptRawBytes": 25768,
"scriptRequestCount": 3,
- "totalRawBytes": 14557
+ "totalRawBytes": 25768
},
"activatedResourceLimits": {
"cssRawBytes": 0,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 13387,
+ "largestAssetRawBytes": 24504,
"otherRawBytes": 0,
"requestCount": 3,
- "scriptRawBytes": 14703,
+ "scriptRawBytes": 26026,
"scriptRequestCount": 3,
- "totalRawBytes": 14703
+ "totalRawBytes": 26026
},
- "domContentLoadedMedianMs": 107.40000000037253,
+ "domContentLoadedMedianMs": 99.70000000018626,
"id": "editor-workflow",
- "layoutSwitchMedianMs": 71.79999999981374,
- "loadMedianMs": 107.40000000037253,
- "longestTaskMaxMs": 109,
+ "layoutSwitchMedianMs": 51.799999999813735,
+ "loadMedianMs": 99.70000000018626,
+ "longestTaskMaxMs": 83,
"owner": "workflow",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:workflow",
@@ -386,25 +386,25 @@
"cssRawBytes": 17572,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 737757,
- "otherRawBytes": 103506,
- "requestCount": 94,
- "scriptRawBytes": 3088075,
- "scriptRequestCount": 88,
- "totalRawBytes": 3389193
+ "largestAssetRawBytes": 737852,
+ "otherRawBytes": 110335,
+ "requestCount": 99,
+ "scriptRawBytes": 3191870,
+ "scriptRequestCount": 93,
+ "totalRawBytes": 3499817
},
"resourceLimits": {
"cssRawBytes": 17748,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 745135,
- "otherRawBytes": 104542,
- "requestCount": 94,
- "scriptRawBytes": 3118956,
- "scriptRequestCount": 88,
- "totalRawBytes": 3423085
+ "largestAssetRawBytes": 745231,
+ "otherRawBytes": 111439,
+ "requestCount": 99,
+ "scriptRawBytes": 3223789,
+ "scriptRequestCount": 93,
+ "totalRawBytes": 3534816
},
- "routeReadyMedianMs": 754.8000000007451,
+ "routeReadyMedianMs": 509.29999999981374,
"scriptSourceOwnerSet": "editor-minimal-static",
"stateProfile": "empty"
},
@@ -413,29 +413,29 @@
"cssRawBytes": 0,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 13254,
+ "largestAssetRawBytes": 24261,
"otherRawBytes": 0,
"requestCount": 3,
- "scriptRawBytes": 14557,
+ "scriptRawBytes": 25768,
"scriptRequestCount": 3,
- "totalRawBytes": 14557
+ "totalRawBytes": 25768
},
"activatedResourceLimits": {
"cssRawBytes": 0,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 13387,
+ "largestAssetRawBytes": 24504,
"otherRawBytes": 0,
"requestCount": 3,
- "scriptRawBytes": 14703,
+ "scriptRawBytes": 26026,
"scriptRequestCount": 3,
- "totalRawBytes": 14703
+ "totalRawBytes": 26026
},
- "domContentLoadedMedianMs": 110.70000000018626,
+ "domContentLoadedMedianMs": 101,
"id": "editor-workflow",
- "layoutSwitchMedianMs": 127.09999999962747,
- "loadMedianMs": 110.70000000018626,
- "longestTaskMaxMs": 412,
+ "layoutSwitchMedianMs": 89.59999999962747,
+ "loadMedianMs": 101,
+ "longestTaskMaxMs": 321,
"owner": "workflow",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:workflow",
@@ -444,25 +444,25 @@
"cssRawBytes": 17572,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 737757,
- "otherRawBytes": 103506,
- "requestCount": 94,
- "scriptRawBytes": 3088075,
- "scriptRequestCount": 88,
- "totalRawBytes": 3389193
+ "largestAssetRawBytes": 737852,
+ "otherRawBytes": 110335,
+ "requestCount": 99,
+ "scriptRawBytes": 3191870,
+ "scriptRequestCount": 93,
+ "totalRawBytes": 3499817
},
"resourceLimits": {
"cssRawBytes": 17748,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 745135,
- "otherRawBytes": 104542,
- "requestCount": 94,
- "scriptRawBytes": 3118956,
- "scriptRequestCount": 88,
- "totalRawBytes": 3423085
+ "largestAssetRawBytes": 745231,
+ "otherRawBytes": 111439,
+ "requestCount": 99,
+ "scriptRawBytes": 3223789,
+ "scriptRequestCount": 93,
+ "totalRawBytes": 3534816
},
- "routeReadyMedianMs": 956.2999999998137,
+ "routeReadyMedianMs": 572.5,
"scriptSourceOwnerSet": "editor-minimal-static",
"stateProfile": "representative"
},
@@ -471,29 +471,29 @@
"cssRawBytes": 0,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 13254,
+ "largestAssetRawBytes": 24261,
"otherRawBytes": 0,
"requestCount": 3,
- "scriptRawBytes": 14557,
+ "scriptRawBytes": 25768,
"scriptRequestCount": 3,
- "totalRawBytes": 14557
+ "totalRawBytes": 25768
},
"activatedResourceLimits": {
"cssRawBytes": 0,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 13387,
+ "largestAssetRawBytes": 24504,
"otherRawBytes": 0,
"requestCount": 3,
- "scriptRawBytes": 14703,
+ "scriptRawBytes": 26026,
"scriptRequestCount": 3,
- "totalRawBytes": 14703
+ "totalRawBytes": 26026
},
- "domContentLoadedMedianMs": 110.20000000018626,
+ "domContentLoadedMedianMs": 99.90000000037253,
"id": "editor-gallery",
- "layoutSwitchMedianMs": 28.600000000558794,
- "loadMedianMs": 110.20000000018626,
- "longestTaskMaxMs": 115,
+ "layoutSwitchMedianMs": 23.799999999813735,
+ "loadMedianMs": 99.90000000037253,
+ "longestTaskMaxMs": 83,
"owner": "gallery",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:gallery",
@@ -502,25 +502,25 @@
"cssRawBytes": 17572,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 737757,
- "otherRawBytes": 103506,
- "requestCount": 94,
- "scriptRawBytes": 3088075,
- "scriptRequestCount": 88,
- "totalRawBytes": 3389193
+ "largestAssetRawBytes": 737852,
+ "otherRawBytes": 110335,
+ "requestCount": 99,
+ "scriptRawBytes": 3191870,
+ "scriptRequestCount": 93,
+ "totalRawBytes": 3499817
},
"resourceLimits": {
"cssRawBytes": 17748,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 745135,
- "otherRawBytes": 104542,
- "requestCount": 94,
- "scriptRawBytes": 3118956,
- "scriptRequestCount": 88,
- "totalRawBytes": 3423085
+ "largestAssetRawBytes": 745231,
+ "otherRawBytes": 111439,
+ "requestCount": 99,
+ "scriptRawBytes": 3223789,
+ "scriptRequestCount": 93,
+ "totalRawBytes": 3534816
},
- "routeReadyMedianMs": 738.4000000003725,
+ "routeReadyMedianMs": 674.6000000005588,
"scriptSourceOwnerSet": "editor-minimal-static",
"stateProfile": "empty"
},
@@ -529,29 +529,29 @@
"cssRawBytes": 0,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 13254,
+ "largestAssetRawBytes": 24261,
"otherRawBytes": 0,
"requestCount": 3,
- "scriptRawBytes": 14557,
+ "scriptRawBytes": 25768,
"scriptRequestCount": 3,
- "totalRawBytes": 14557
+ "totalRawBytes": 25768
},
"activatedResourceLimits": {
"cssRawBytes": 0,
"fontRawBytes": 0,
"imageRawBytes": 0,
- "largestAssetRawBytes": 13387,
+ "largestAssetRawBytes": 24504,
"otherRawBytes": 0,
"requestCount": 3,
- "scriptRawBytes": 14703,
+ "scriptRawBytes": 26026,
"scriptRequestCount": 3,
- "totalRawBytes": 14703
+ "totalRawBytes": 26026
},
- "domContentLoadedMedianMs": 109.90000000037253,
+ "domContentLoadedMedianMs": 101.5,
"id": "editor-gallery",
- "layoutSwitchMedianMs": 39.30000000074506,
- "loadMedianMs": 109.90000000037253,
- "longestTaskMaxMs": 121,
+ "layoutSwitchMedianMs": 45.5,
+ "loadMedianMs": 101.5,
+ "longestTaskMaxMs": 86,
"owner": "gallery",
"projectSwitchMedianMs": 0,
"readyMark": "invokeai:ready:widget:center:gallery",
@@ -560,25 +560,25 @@
"cssRawBytes": 17572,
"fontRawBytes": 23664,
"imageRawBytes": 156376,
- "largestAssetRawBytes": 737757,
- "otherRawBytes": 103506,
- "requestCount": 94,
- "scriptRawBytes": 3088075,
- "scriptRequestCount": 88,
- "totalRawBytes": 3389193
+ "largestAssetRawBytes": 737852,
+ "otherRawBytes": 110335,
+ "requestCount": 99,
+ "scriptRawBytes": 3191870,
+ "scriptRequestCount": 93,
+ "totalRawBytes": 3499817
},
"resourceLimits": {
"cssRawBytes": 17748,
"fontRawBytes": 23901,
"imageRawBytes": 157940,
- "largestAssetRawBytes": 745135,
- "otherRawBytes": 104542,
- "requestCount": 94,
- "scriptRawBytes": 3118956,
- "scriptRequestCount": 88,
- "totalRawBytes": 3423085
+ "largestAssetRawBytes": 745231,
+ "otherRawBytes": 111439,
+ "requestCount": 99,
+ "scriptRawBytes": 3223789,
+ "scriptRequestCount": 93,
+ "totalRawBytes": 3534816
},
- "routeReadyMedianMs": 866.2000000001863,
+ "routeReadyMedianMs": 837.9000000003725,
"scriptSourceOwnerSet": "editor-minimal-static",
"stateProfile": "representative"
}
@@ -713,6 +713,7 @@
"source:src/features/identity/session.ts",
"source:src/features/identity/transportAdapter.ts",
"source:src/features/identity/ui/AccountMenu.tsx",
+ "source:src/features/identity/ui/AccountMenuSection.tsx",
"source:src/features/identity/ui/AuthScreen.tsx",
"source:src/features/identity/ui/AuthUnavailableScreen.tsx",
"source:src/features/identity/ui/LoginScreen.tsx",
@@ -764,6 +765,7 @@
"source:src/platform/ui/ConfirmDialog.tsx",
"source:src/platform/ui/DropZone.tsx",
"source:src/platform/ui/Field.tsx",
+ "source:src/platform/ui/Group.tsx",
"source:src/platform/ui/InvokeMark.tsx",
"source:src/platform/ui/JsonPreview.tsx",
"source:src/platform/ui/Menu.tsx",
@@ -779,6 +781,8 @@
"source:src/platform/ui/ToggleDot.tsx",
"source:src/platform/ui/Toolbar.tsx",
"source:src/platform/ui/Tooltip.tsx",
+ "source:src/platform/ui/color.ts",
+ "source:src/platform/ui/colorPickerStore.ts",
"source:src/platform/ui/colorPickerSync.ts",
"source:src/platform/ui/index.ts",
"source:src/platform/ui/theme/applyTheme.ts",
@@ -807,10 +811,10 @@
"source:src/workbench/projects/api.ts",
"source:src/workbench/projects/ids.ts",
"source:src/workbench/projects/library.ts",
- "source:src/workbench/projects/projectDocument.ts",
"source:src/workbench/projects/projectFile.ts",
"source:src/workbench/projects/session.ts",
"source:src/workbench/settings/SettingsButton.tsx",
+ "source:src/workbench/settings/SettingsDialogHost.tsx",
"source:src/workbench/settings/settingsDialogStore.ts",
"source:src/workbench/settings/store.ts"
],
@@ -957,6 +961,7 @@
"source:src/app/workbenchPorts.tsx",
"source:src/assets/SplashImage.webp",
"source:src/features/gallery/contracts.ts",
+ "source:src/features/gallery/core/boardLabels.ts",
"source:src/features/gallery/core/image.ts",
"source:src/features/gallery/core/imagePaths.ts",
"source:src/features/gallery/core/items.ts",
@@ -972,19 +977,44 @@
"source:src/features/gallery/index.ts",
"source:src/features/gallery/queries.ts",
"source:src/features/gallery/react.ts",
+ "source:src/features/gallery/ui/GalleryBoardCover.tsx",
+ "source:src/features/gallery/ui/GalleryBoardDragMonitor.tsx",
+ "source:src/features/gallery/ui/GalleryBoardFilters.tsx",
"source:src/features/gallery/ui/GalleryBoardMenu.tsx",
- "source:src/features/gallery/ui/GalleryBoardSelect.tsx",
+ "source:src/features/gallery/ui/GalleryBoardRow.tsx",
+ "source:src/features/gallery/ui/GalleryBoardRowShell.tsx",
+ "source:src/features/gallery/ui/GalleryBoardSection.tsx",
+ "source:src/features/gallery/ui/GalleryBoardsPanel.tsx",
"source:src/features/gallery/ui/GalleryImageGrid.tsx",
- "source:src/features/gallery/ui/GalleryPanelContent.tsx",
- "source:src/features/gallery/ui/GalleryToolbar.tsx",
+ "source:src/features/gallery/ui/GalleryItemSearch.tsx",
+ "source:src/features/gallery/ui/GalleryItemSortMenu.tsx",
+ "source:src/features/gallery/ui/GalleryLayout.tsx",
+ "source:src/features/gallery/ui/GalleryQueuePlaceholderCell.tsx",
+ "source:src/features/gallery/ui/GallerySearchField.tsx",
+ "source:src/features/gallery/ui/GallerySelectionBar.tsx",
+ "source:src/features/gallery/ui/GallerySettingsMenu.tsx",
+ "source:src/features/gallery/ui/GallerySplitHandle.tsx",
+ "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/GalleryViewTabs.tsx",
+ "source:src/features/gallery/ui/GalleryWideLayout.tsx",
+ "source:src/features/gallery/ui/GalleryWidgetChrome.tsx",
"source:src/features/gallery/ui/GalleryWidgetContext.tsx",
"source:src/features/gallery/ui/GalleryWidgetFooter.tsx",
"source:src/features/gallery/ui/GalleryWidgetView.tsx",
+ "source:src/features/gallery/ui/galleryBoardGroups.ts",
+ "source:src/features/gallery/ui/galleryBoardLabels.ts",
+ "source:src/features/gallery/ui/galleryDensity.ts",
"source:src/features/gallery/ui/galleryDnd.ts",
+ "source:src/features/gallery/ui/galleryGridLayout.ts",
+ "source:src/features/gallery/ui/galleryMenuIds.ts",
"source:src/features/gallery/ui/galleryStateView.ts",
"source:src/features/gallery/ui/useGalleryActions.ts",
"source:src/features/gallery/ui/useGalleryData.ts",
+ "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/utility.ts",
"source:src/features/gallery/widget.ts",
"source:src/features/generation/core/baseGenerationPolicies.ts",
@@ -1068,6 +1098,7 @@
"source:src/features/generation/ui/promptFields/promptHistoryNavigation.ts",
"source:src/features/generation/ui/promptFields/promptTriggerOptions.ts",
"source:src/features/generation/ui/promptFields/useDismissOnViewportChange.ts",
+ "source:src/features/generation/ui/promptFields/usePromptImageDrop.ts",
"source:src/features/generation/ui/promptFields/usePromptTriggerAutocomplete.tsx",
"source:src/features/generation/ui/promptFields/usePromptTriggerPicker.ts",
"source:src/features/generation/ui/promptFields/useSystemPrompts.ts",
@@ -1098,6 +1129,7 @@
"source:src/features/identity/session.ts",
"source:src/features/identity/transportAdapter.ts",
"source:src/features/identity/ui/AccountMenu.tsx",
+ "source:src/features/identity/ui/AccountMenuSection.tsx",
"source:src/features/identity/ui/AuthScreen.tsx",
"source:src/features/identity/ui/AuthUnavailableScreen.tsx",
"source:src/features/identity/ui/LoginScreen.tsx",
@@ -1120,6 +1152,7 @@
"source:src/features/models/ui/ModelsPage.tsx",
"source:src/features/models/ui/ModelsUiContext.tsx",
"source:src/features/models/ui/components/ModelSelect.tsx",
+ "source:src/features/models/ui/uiStore.ts",
"source:src/features/nodes/core/catalog.ts",
"source:src/features/nodes/data/api.ts",
"source:src/features/nodes/data/nodeExecutionStore.ts",
@@ -1288,10 +1321,12 @@
"source:src/platform/ui/ConfirmDialog.tsx",
"source:src/platform/ui/DropZone.tsx",
"source:src/platform/ui/Field.tsx",
+ "source:src/platform/ui/Group.tsx",
"source:src/platform/ui/InvokeMark.tsx",
"source:src/platform/ui/JsonPreview.tsx",
"source:src/platform/ui/Menu.tsx",
"source:src/platform/ui/Panel.tsx",
+ "source:src/platform/ui/Picker.tsx",
"source:src/platform/ui/RenameDialog.tsx",
"source:src/platform/ui/ResizableTextarea.tsx",
"source:src/platform/ui/Row.tsx",
@@ -1303,6 +1338,8 @@
"source:src/platform/ui/ToggleDot.tsx",
"source:src/platform/ui/Toolbar.tsx",
"source:src/platform/ui/Tooltip.tsx",
+ "source:src/platform/ui/color.ts",
+ "source:src/platform/ui/colorPickerStore.ts",
"source:src/platform/ui/colorPickerSync.ts",
"source:src/platform/ui/index.ts",
"source:src/platform/ui/streaming-image/StreamingImageFrame.tsx",
@@ -1317,6 +1354,7 @@
"source:src/workbench/WorkbenchRuntime.tsx",
"source:src/workbench/WorkbenchSessionController.tsx",
"source:src/workbench/WorkbenchWidgetRegistryContext.tsx",
+ "source:src/workbench/activeInvocationSubmission.ts",
"source:src/workbench/autoRoutePolicy.ts",
"source:src/workbench/canvas-engine/api.ts",
"source:src/workbench/canvas-engine/capabilities.ts",
@@ -1483,6 +1521,7 @@
"source:src/workbench/focusRegions.tsx",
"source:src/workbench/graphPreviewInvocation.ts",
"source:src/workbench/graphSurfaces.ts",
+ "source:src/workbench/graphWidgets.ts",
"source:src/workbench/hotkeys/WorkbenchHotkeyRuntime.tsx",
"source:src/workbench/hotkeys/catalog.ts",
"source:src/workbench/hotkeys/extensionHotkeys.ts",
@@ -1501,6 +1540,7 @@
"source:src/workbench/image-actions/imageRecall.ts",
"source:src/workbench/image-actions/index.ts",
"source:src/workbench/image-actions/selectedImage.ts",
+ "source:src/workbench/image-actions/useDeletionConfirmation.tsx",
"source:src/workbench/image-actions/useImageActions.ts",
"source:src/workbench/invocation.ts",
"source:src/workbench/invocationSubmit.ts",
@@ -1514,6 +1554,7 @@
"source:src/workbench/launchpad/ResourceLinks.tsx",
"source:src/workbench/launchpad/formatRelativeTime.ts",
"source:src/workbench/launchpad/pages/ProjectsPage.tsx",
+ "source:src/workbench/layoutPresetActivation.ts",
"source:src/workbench/layoutPresetSnapshots.ts",
"source:src/workbench/layoutPresets.ts",
"source:src/workbench/palette/LaunchpadCommandPalette.tsx",
@@ -1527,7 +1568,6 @@
"source:src/workbench/persistenceRuntime.ts",
"source:src/workbench/projects/api.ts",
"source:src/workbench/projects/components/OpenProjectDialog.tsx",
- "source:src/workbench/projects/components/ProjectTabs.tsx",
"source:src/workbench/projects/components/index.ts",
"source:src/workbench/projects/ids.ts",
"source:src/workbench/projects/library.ts",
@@ -1540,6 +1580,7 @@
"source:src/workbench/projects/useProjectActions.ts",
"source:src/workbench/queueHistoryNormalization.ts",
"source:src/workbench/settings/SettingsButton.tsx",
+ "source:src/workbench/settings/SettingsDialogHost.tsx",
"source:src/workbench/settings/settingsDialogStore.ts",
"source:src/workbench/settings/store.ts",
"source:src/workbench/shell/BottomPanel.tsx",
@@ -1550,15 +1591,27 @@
"source:src/workbench/shell/index.ts",
"source:src/workbench/shell/notifications/WorkbenchNotificationToaster.tsx",
"source:src/workbench/shell/notifications/index.ts",
- "source:src/workbench/shell/topbar/BatchCountField.tsx",
- "source:src/workbench/shell/topbar/InvokeControl.tsx",
- "source:src/workbench/shell/topbar/LayoutPresetMenu.tsx",
- "source:src/workbench/shell/topbar/ModelManagerButton.tsx",
- "source:src/workbench/shell/topbar/NodeManagerButton.tsx",
- "source:src/workbench/shell/topbar/QueueActions.tsx",
- "source:src/workbench/shell/topbar/QueueInfo.tsx",
+ "source:src/workbench/shell/topbar/AppMenu.tsx",
+ "source:src/workbench/shell/topbar/InvocationCluster.tsx",
+ "source:src/workbench/shell/topbar/InvokeButton.tsx",
+ "source:src/workbench/shell/topbar/IterationsField.tsx",
+ "source:src/workbench/shell/topbar/LayoutPresetAdminDialogs.tsx",
+ "source:src/workbench/shell/topbar/LayoutPresetDialog.tsx",
+ "source:src/workbench/shell/topbar/LayoutPresetManagerDialog.tsx",
+ "source:src/workbench/shell/topbar/LayoutPresetStrip.tsx",
+ "source:src/workbench/shell/topbar/ProjectSwitcher.tsx",
+ "source:src/workbench/shell/topbar/QueueCluster.tsx",
+ "source:src/workbench/shell/topbar/RoutingControl.tsx",
"source:src/workbench/shell/topbar/TopBar.tsx",
"source:src/workbench/shell/topbar/index.ts",
+ "source:src/workbench/shell/topbar/layoutPresetIcons.ts",
+ "source:src/workbench/shell/topbar/layoutPresetManagerStore.ts",
+ "source:src/workbench/shell/topbar/layoutPresetPresentation.ts",
+ "source:src/workbench/shell/topbar/projectSwitcherStore.ts",
+ "source:src/workbench/shell/topbar/topbarBreakpoints.ts",
+ "source:src/workbench/shell/topbar/useInvocationState.ts",
+ "source:src/workbench/shell/topbar/useLayoutDrift.ts",
+ "source:src/workbench/shell/topbar/useTopbarShortcut.ts",
"source:src/workbench/useNotify.ts",
"source:src/workbench/useOpenWorkbenchWidget.ts",
"source:src/workbench/widget-frame/WidgetActionsMenu.tsx",
@@ -1572,6 +1625,7 @@
"source:src/workbench/widget-frame/WidgetLoadingFallback.tsx",
"source:src/workbench/widget-frame/WidgetRegionDropOverlay.tsx",
"source:src/workbench/widget-frame/WidgetRenderer.tsx",
+ "source:src/workbench/widget-frame/WidgetSourceLockBadge.tsx",
"source:src/workbench/widget-frame/WidgetStrip.tsx",
"source:src/workbench/widget-frame/createWidgetRuntime.ts",
"source:src/workbench/widget-frame/index.ts",
@@ -1784,6 +1838,7 @@
"source:src/app/workbenchPorts.tsx",
"source:src/assets/SplashImage.webp",
"source:src/features/gallery/contracts.ts",
+ "source:src/features/gallery/core/boardLabels.ts",
"source:src/features/gallery/core/image.ts",
"source:src/features/gallery/core/imagePaths.ts",
"source:src/features/gallery/core/items.ts",
@@ -1799,19 +1854,44 @@
"source:src/features/gallery/index.ts",
"source:src/features/gallery/queries.ts",
"source:src/features/gallery/react.ts",
+ "source:src/features/gallery/ui/GalleryBoardCover.tsx",
+ "source:src/features/gallery/ui/GalleryBoardDragMonitor.tsx",
+ "source:src/features/gallery/ui/GalleryBoardFilters.tsx",
"source:src/features/gallery/ui/GalleryBoardMenu.tsx",
- "source:src/features/gallery/ui/GalleryBoardSelect.tsx",
+ "source:src/features/gallery/ui/GalleryBoardRow.tsx",
+ "source:src/features/gallery/ui/GalleryBoardRowShell.tsx",
+ "source:src/features/gallery/ui/GalleryBoardSection.tsx",
+ "source:src/features/gallery/ui/GalleryBoardsPanel.tsx",
"source:src/features/gallery/ui/GalleryImageGrid.tsx",
- "source:src/features/gallery/ui/GalleryPanelContent.tsx",
- "source:src/features/gallery/ui/GalleryToolbar.tsx",
+ "source:src/features/gallery/ui/GalleryItemSearch.tsx",
+ "source:src/features/gallery/ui/GalleryItemSortMenu.tsx",
+ "source:src/features/gallery/ui/GalleryLayout.tsx",
+ "source:src/features/gallery/ui/GalleryQueuePlaceholderCell.tsx",
+ "source:src/features/gallery/ui/GallerySearchField.tsx",
+ "source:src/features/gallery/ui/GallerySelectionBar.tsx",
+ "source:src/features/gallery/ui/GallerySettingsMenu.tsx",
+ "source:src/features/gallery/ui/GallerySplitHandle.tsx",
+ "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/GalleryViewTabs.tsx",
+ "source:src/features/gallery/ui/GalleryWideLayout.tsx",
+ "source:src/features/gallery/ui/GalleryWidgetChrome.tsx",
"source:src/features/gallery/ui/GalleryWidgetContext.tsx",
"source:src/features/gallery/ui/GalleryWidgetFooter.tsx",
"source:src/features/gallery/ui/GalleryWidgetView.tsx",
+ "source:src/features/gallery/ui/galleryBoardGroups.ts",
+ "source:src/features/gallery/ui/galleryBoardLabels.ts",
+ "source:src/features/gallery/ui/galleryDensity.ts",
"source:src/features/gallery/ui/galleryDnd.ts",
+ "source:src/features/gallery/ui/galleryGridLayout.ts",
+ "source:src/features/gallery/ui/galleryMenuIds.ts",
"source:src/features/gallery/ui/galleryStateView.ts",
"source:src/features/gallery/ui/useGalleryActions.ts",
"source:src/features/gallery/ui/useGalleryData.ts",
+ "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/utility.ts",
"source:src/features/gallery/widget.ts",
"source:src/features/generation/components.ts",
@@ -1896,6 +1976,7 @@
"source:src/features/generation/ui/promptFields/promptHistoryNavigation.ts",
"source:src/features/generation/ui/promptFields/promptTriggerOptions.ts",
"source:src/features/generation/ui/promptFields/useDismissOnViewportChange.ts",
+ "source:src/features/generation/ui/promptFields/usePromptImageDrop.ts",
"source:src/features/generation/ui/promptFields/usePromptTriggerAutocomplete.tsx",
"source:src/features/generation/ui/promptFields/usePromptTriggerPicker.ts",
"source:src/features/generation/ui/promptFields/useSystemPrompts.ts",
@@ -1926,6 +2007,7 @@
"source:src/features/identity/session.ts",
"source:src/features/identity/transportAdapter.ts",
"source:src/features/identity/ui/AccountMenu.tsx",
+ "source:src/features/identity/ui/AccountMenuSection.tsx",
"source:src/features/identity/ui/AuthScreen.tsx",
"source:src/features/identity/ui/AuthUnavailableScreen.tsx",
"source:src/features/identity/ui/LoginScreen.tsx",
@@ -1948,6 +2030,7 @@
"source:src/features/models/ui/ModelsPage.tsx",
"source:src/features/models/ui/ModelsUiContext.tsx",
"source:src/features/models/ui/components/ModelSelect.tsx",
+ "source:src/features/models/ui/uiStore.ts",
"source:src/features/nodes/core/catalog.ts",
"source:src/features/nodes/data/api.ts",
"source:src/features/nodes/data/nodeExecutionStore.ts",
@@ -2116,10 +2199,12 @@
"source:src/platform/ui/ConfirmDialog.tsx",
"source:src/platform/ui/DropZone.tsx",
"source:src/platform/ui/Field.tsx",
+ "source:src/platform/ui/Group.tsx",
"source:src/platform/ui/InvokeMark.tsx",
"source:src/platform/ui/JsonPreview.tsx",
"source:src/platform/ui/Menu.tsx",
"source:src/platform/ui/Panel.tsx",
+ "source:src/platform/ui/Picker.tsx",
"source:src/platform/ui/RenameDialog.tsx",
"source:src/platform/ui/ResizableTextarea.tsx",
"source:src/platform/ui/Row.tsx",
@@ -2131,6 +2216,8 @@
"source:src/platform/ui/ToggleDot.tsx",
"source:src/platform/ui/Toolbar.tsx",
"source:src/platform/ui/Tooltip.tsx",
+ "source:src/platform/ui/color.ts",
+ "source:src/platform/ui/colorPickerStore.ts",
"source:src/platform/ui/colorPickerSync.ts",
"source:src/platform/ui/index.ts",
"source:src/platform/ui/streaming-image/StreamingImageFrame.tsx",
@@ -2145,6 +2232,7 @@
"source:src/workbench/WorkbenchRuntime.tsx",
"source:src/workbench/WorkbenchSessionController.tsx",
"source:src/workbench/WorkbenchWidgetRegistryContext.tsx",
+ "source:src/workbench/activeInvocationSubmission.ts",
"source:src/workbench/autoRoutePolicy.ts",
"source:src/workbench/canvas-engine/api.ts",
"source:src/workbench/canvas-engine/capabilities.ts",
@@ -2316,6 +2404,7 @@
"source:src/workbench/focusRegions.tsx",
"source:src/workbench/graphPreviewInvocation.ts",
"source:src/workbench/graphSurfaces.ts",
+ "source:src/workbench/graphWidgets.ts",
"source:src/workbench/hotkeys/WorkbenchHotkeyRuntime.tsx",
"source:src/workbench/hotkeys/catalog.ts",
"source:src/workbench/hotkeys/extensionHotkeys.ts",
@@ -2334,6 +2423,7 @@
"source:src/workbench/image-actions/imageRecall.ts",
"source:src/workbench/image-actions/index.ts",
"source:src/workbench/image-actions/selectedImage.ts",
+ "source:src/workbench/image-actions/useDeletionConfirmation.tsx",
"source:src/workbench/image-actions/useImageActions.ts",
"source:src/workbench/invocation.ts",
"source:src/workbench/invocationSubmit.ts",
@@ -2347,6 +2437,7 @@
"source:src/workbench/launchpad/ResourceLinks.tsx",
"source:src/workbench/launchpad/formatRelativeTime.ts",
"source:src/workbench/launchpad/pages/ProjectsPage.tsx",
+ "source:src/workbench/layoutPresetActivation.ts",
"source:src/workbench/layoutPresetSnapshots.ts",
"source:src/workbench/layoutPresets.ts",
"source:src/workbench/palette/LaunchpadCommandPalette.tsx",
@@ -2360,7 +2451,6 @@
"source:src/workbench/persistenceRuntime.ts",
"source:src/workbench/projects/api.ts",
"source:src/workbench/projects/components/OpenProjectDialog.tsx",
- "source:src/workbench/projects/components/ProjectTabs.tsx",
"source:src/workbench/projects/components/index.ts",
"source:src/workbench/projects/ids.ts",
"source:src/workbench/projects/library.ts",
@@ -2373,6 +2463,7 @@
"source:src/workbench/projects/useProjectActions.ts",
"source:src/workbench/queueHistoryNormalization.ts",
"source:src/workbench/settings/SettingsButton.tsx",
+ "source:src/workbench/settings/SettingsDialogHost.tsx",
"source:src/workbench/settings/settingsDialogStore.ts",
"source:src/workbench/settings/store.ts",
"source:src/workbench/shell/BottomPanel.tsx",
@@ -2383,15 +2474,27 @@
"source:src/workbench/shell/index.ts",
"source:src/workbench/shell/notifications/WorkbenchNotificationToaster.tsx",
"source:src/workbench/shell/notifications/index.ts",
- "source:src/workbench/shell/topbar/BatchCountField.tsx",
- "source:src/workbench/shell/topbar/InvokeControl.tsx",
- "source:src/workbench/shell/topbar/LayoutPresetMenu.tsx",
- "source:src/workbench/shell/topbar/ModelManagerButton.tsx",
- "source:src/workbench/shell/topbar/NodeManagerButton.tsx",
- "source:src/workbench/shell/topbar/QueueActions.tsx",
- "source:src/workbench/shell/topbar/QueueInfo.tsx",
+ "source:src/workbench/shell/topbar/AppMenu.tsx",
+ "source:src/workbench/shell/topbar/InvocationCluster.tsx",
+ "source:src/workbench/shell/topbar/InvokeButton.tsx",
+ "source:src/workbench/shell/topbar/IterationsField.tsx",
+ "source:src/workbench/shell/topbar/LayoutPresetAdminDialogs.tsx",
+ "source:src/workbench/shell/topbar/LayoutPresetDialog.tsx",
+ "source:src/workbench/shell/topbar/LayoutPresetManagerDialog.tsx",
+ "source:src/workbench/shell/topbar/LayoutPresetStrip.tsx",
+ "source:src/workbench/shell/topbar/ProjectSwitcher.tsx",
+ "source:src/workbench/shell/topbar/QueueCluster.tsx",
+ "source:src/workbench/shell/topbar/RoutingControl.tsx",
"source:src/workbench/shell/topbar/TopBar.tsx",
"source:src/workbench/shell/topbar/index.ts",
+ "source:src/workbench/shell/topbar/layoutPresetIcons.ts",
+ "source:src/workbench/shell/topbar/layoutPresetManagerStore.ts",
+ "source:src/workbench/shell/topbar/layoutPresetPresentation.ts",
+ "source:src/workbench/shell/topbar/projectSwitcherStore.ts",
+ "source:src/workbench/shell/topbar/topbarBreakpoints.ts",
+ "source:src/workbench/shell/topbar/useInvocationState.ts",
+ "source:src/workbench/shell/topbar/useLayoutDrift.ts",
+ "source:src/workbench/shell/topbar/useTopbarShortcut.ts",
"source:src/workbench/useCanvasProjectMutationDispatch.ts",
"source:src/workbench/useNotify.ts",
"source:src/workbench/useOpenWorkbenchWidget.ts",
@@ -2406,6 +2509,7 @@
"source:src/workbench/widget-frame/WidgetLoadingFallback.tsx",
"source:src/workbench/widget-frame/WidgetRegionDropOverlay.tsx",
"source:src/workbench/widget-frame/WidgetRenderer.tsx",
+ "source:src/workbench/widget-frame/WidgetSourceLockBadge.tsx",
"source:src/workbench/widget-frame/WidgetStrip.tsx",
"source:src/workbench/widget-frame/createWidgetRuntime.ts",
"source:src/workbench/widget-frame/index.ts",
@@ -2478,6 +2582,7 @@
"source:src/workbench/widgets/canvas/tool-options/useBboxEditor.ts",
"source:src/workbench/widgets/canvas/useCanvasEngine.ts",
"source:src/workbench/widgets/canvas/useCanvasGallerySave.ts",
+ "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",
diff --git a/invokeai/frontend/webv2/scripts/measure-architecture-performance.mjs b/invokeai/frontend/webv2/scripts/measure-architecture-performance.mjs
index 0a385d8665..368383e170 100644
--- a/invokeai/frontend/webv2/scripts/measure-architecture-performance.mjs
+++ b/invokeai/frontend/webv2/scripts/measure-architecture-performance.mjs
@@ -313,33 +313,24 @@ const runSample = async (browser, fixture, sample) => {
let activatedResourcePaths = new Set();
let layoutSwitchMs = 0;
- if (fixture.layoutPreset) {
- const presetTrigger = page.getByRole('button', { name: /^Layout preset:/ });
- await presetTrigger.waitFor({ timeout: 10_000 });
+ if (fixture.layoutPreset || fixture.centerView) {
+ const activationTrigger = fixture.layoutPreset
+ ? page.getByRole('tab', { exact: true, name: fixture.layoutPreset })
+ : page.getByRole('button', { name: /^Center view:/ });
+ await activationTrigger.waitFor({ timeout: 10_000 });
const beforeActivation = await resourceCollector.settle();
const beforePaths = new Set(beforeActivation.map((resource) => resource.path));
const interactionMark = `invokeai:interaction:${fixture.id}:${fixture.stateProfile}:layout-switch`;
-
- // Open the menu BEFORE starting the clock, and let the page stamp the
- // interaction mark itself when the selection actually lands.
- //
- // Marking from the driver ahead of `presetTrigger.click()` folded two costs
- // that are not the app's into the measurement: opening the menu, and
- // Playwright's actionability wait before it will click a menu item. The
- // second is not small — dispatching the same click in-page instead cut the
- // gap from 272.9ms to 25.8ms, so roughly 40% of the recorded layout switch
- // was the driver deciding the item was safe to click. A real click is still
- // used here; only the waiting is excluded, by moving the start of the
- // interval to the pointer event itself.
- await presetTrigger.click();
- const presetItem = page.getByRole('menuitem', { exact: true, name: fixture.layoutPreset });
- await presetItem.waitFor({ timeout: 10_000 });
+ let activationTarget = activationTrigger;
+ if (fixture.centerView) {
+ await activationTrigger.click();
+ activationTarget = page.getByRole('menuitemradio', { exact: true, name: fixture.centerView });
+ await activationTarget.waitFor({ timeout: 10_000 });
+ }
await page.evaluate(
({ interactionMarkName, readyMark }) => {
performance.clearMarks(interactionMarkName);
performance.clearMarks(readyMark);
- // Capture-phase and document-level, so this cannot miss the way matching
- // on a menu item's text could. The next pointerdown is the selection.
document.addEventListener(
'pointerdown',
() => {
@@ -350,19 +341,22 @@ const runSample = async (browser, fixture, sample) => {
},
{ interactionMarkName: interactionMark, readyMark: fixture.readyMark }
);
- await presetItem.click();
- await page
- .getByRole('button', { exact: true, name: `Layout preset: ${fixture.layoutPreset}` })
- .waitFor({ timeout: 10_000 });
+ await activationTarget.click();
+ if (fixture.layoutPreset) {
+ const activationElement = await activationTarget.elementHandle();
+ await page.waitForFunction((element) => element?.getAttribute('aria-selected') === 'true', activationElement, {
+ timeout: 10_000,
+ });
+ } else {
+ await page
+ .getByRole('button', { exact: true, name: `Center view: ${fixture.centerView}` })
+ .waitFor({ timeout: 10_000 });
+ }
await waitForSemanticMark(page, fixture.readyMark);
layoutSwitchMs = await page.evaluate(
({ interactionMarkName, readyMark }) => {
const start = performance.getEntriesByName(interactionMarkName, 'mark').at(-1);
const end = performance.getEntriesByName(readyMark, 'mark').at(-1);
-
- // A missing start mark used to read as 0 and silently turn the whole
- // interval into "time since navigation", which looks like a plausible
- // number rather than a broken one.
return start && end ? Math.max(0, end.startTime - start.startTime) : null;
},
{ interactionMarkName: interactionMark, readyMark: fixture.readyMark }
@@ -380,17 +374,26 @@ const runSample = async (browser, fixture, sample) => {
let projectSwitchMs = 0;
if (fixture.measureProjectSwitch) {
- const projectTabs = page.getByRole('tab');
- const originalProject = projectTabs.first();
- await page.getByRole('button', { name: /new project/i }).click();
- await projectTabs.nth(1).waitFor({ timeout: 10_000 });
- const projectSwitchStart = performance.now();
- await originalProject.click();
- await originalProject.waitFor({ state: 'visible' });
+ const projectSwitcher = page.getByRole('button', { name: /^Switch project\. Current project:/ });
+ const originalProjectName = (await projectSwitcher.textContent())?.trim();
+ if (!originalProjectName) {
+ throw new Error(`${fixture.id}/${fixture.stateProfile} project switcher did not name the active project.`);
+ }
+
+ await projectSwitcher.click();
+ await page.getByRole('menuitem', { exact: true, name: /new project/i }).click();
await page.waitForFunction(
- (projectTab) => projectTab instanceof HTMLElement && projectTab.getAttribute('aria-selected') === 'true',
- await originalProject.elementHandle()
+ (name) => document.querySelector('button[aria-label^="Switch project."]')?.textContent?.trim() !== name,
+ originalProjectName
);
+ await projectSwitcher.click();
+ const originalProject = page.getByRole('menuitemradio').filter({ hasText: originalProjectName });
+ await originalProject.waitFor({ timeout: 10_000 });
+ const projectSwitchStart = performance.now();
+ await originalProject.click();
+ await page
+ .getByRole('button', { exact: true, name: `Switch project. Current project: ${originalProjectName}` })
+ .waitFor({ timeout: 10_000 });
projectSwitchMs = performance.now() - projectSwitchStart;
}
diff --git a/invokeai/frontend/webv2/src/workbench/shell/CenterArea.tsx b/invokeai/frontend/webv2/src/workbench/shell/CenterArea.tsx
index 780f7e067d..fef7ce516d 100644
--- a/invokeai/frontend/webv2/src/workbench/shell/CenterArea.tsx
+++ b/invokeai/frontend/webv2/src/workbench/shell/CenterArea.tsx
@@ -383,7 +383,9 @@ const CenterViewSlot = ({ item }: { item: CenterWidgetItem }) => {
return <FallbackCenterView label="Center widget unavailable" />;
}
- return <WidgetRendererById instanceId={item.instance.id} widget={item.widget} region="center" />;
+ return (
+ <WidgetRendererById key={item.instance.id} instanceId={item.instance.id} widget={item.widget} region="center" />
+ );
};
const FallbackCenterView = ({ label }: { label: string }) => (