diff --git a/browser_tests/tests/interaction.spec.ts-snapshots/dragged-node1-chromium-linux.png b/browser_tests/tests/interaction.spec.ts-snapshots/dragged-node1-chromium-linux.png index fb2a06c6ff..9bbb027fbd 100644 Binary files a/browser_tests/tests/interaction.spec.ts-snapshots/dragged-node1-chromium-linux.png and b/browser_tests/tests/interaction.spec.ts-snapshots/dragged-node1-chromium-linux.png differ diff --git a/browser_tests/tests/selectionToolbox.spec.ts-snapshots/selection-toolbox-multiple-nodes-border-chromium-linux.png b/browser_tests/tests/selectionToolbox.spec.ts-snapshots/selection-toolbox-multiple-nodes-border-chromium-linux.png index 1528eba436..93bcf0b1bb 100644 Binary files a/browser_tests/tests/selectionToolbox.spec.ts-snapshots/selection-toolbox-multiple-nodes-border-chromium-linux.png and b/browser_tests/tests/selectionToolbox.spec.ts-snapshots/selection-toolbox-multiple-nodes-border-chromium-linux.png differ diff --git a/browser_tests/tests/sidebar/workflows.spec.ts b/browser_tests/tests/sidebar/workflows.spec.ts index f2cf6b4cff..d663b402bc 100644 --- a/browser_tests/tests/sidebar/workflows.spec.ts +++ b/browser_tests/tests/sidebar/workflows.spec.ts @@ -330,12 +330,9 @@ test.describe('Workflows sidebar', () => { .getPersistedItem('workflow1.json') .click({ button: 'right' }) await comfyPage.contextMenu.clickMenuItem('Duplicate') - await comfyPage.nextFrame() - - expect(await workflowsTab.getOpenedWorkflowNames()).toEqual([ - '*Unsaved Workflow.json', - '*workflow1 (Copy).json' - ]) + await expect + .poll(() => workflowsTab.getOpenedWorkflowNames()) + .toEqual(['*Unsaved Workflow.json', '*workflow1 (Copy).json']) }) test('Can drop workflow from workflows sidebar', async ({ comfyPage }) => { diff --git a/browser_tests/tests/vueNodes/interactions/node/bringToFront.spec.ts-snapshots/bring-to-front-widget-overlapped-after-chromium-linux.png b/browser_tests/tests/vueNodes/interactions/node/bringToFront.spec.ts-snapshots/bring-to-front-widget-overlapped-after-chromium-linux.png index e1f226051f..31022fb233 100644 Binary files a/browser_tests/tests/vueNodes/interactions/node/bringToFront.spec.ts-snapshots/bring-to-front-widget-overlapped-after-chromium-linux.png and b/browser_tests/tests/vueNodes/interactions/node/bringToFront.spec.ts-snapshots/bring-to-front-widget-overlapped-after-chromium-linux.png differ diff --git a/package.json b/package.json index b53f6ce5d2..ba65461c79 100644 --- a/package.json +++ b/package.json @@ -60,6 +60,7 @@ "@comfyorg/registry-types": "workspace:*", "@comfyorg/shared-frontend-utils": "workspace:*", "@comfyorg/tailwind-utils": "workspace:*", + "@formkit/auto-animate": "catalog:", "@iconify/json": "catalog:", "@primeuix/forms": "catalog:", "@primeuix/styled": "catalog:", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2302a1a7bf..5f4e45abac 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,6 +15,9 @@ catalogs: '@eslint/js': specifier: ^9.39.1 version: 9.39.1 + '@formkit/auto-animate': + specifier: ^0.9.0 + version: 0.9.0 '@iconify-json/lucide': specifier: ^1.1.178 version: 1.2.79 @@ -392,6 +395,9 @@ importers: '@comfyorg/tailwind-utils': specifier: workspace:* version: link:packages/tailwind-utils + '@formkit/auto-animate': + specifier: 'catalog:' + version: 0.9.0 '@iconify/json': specifier: 'catalog:' version: 2.2.380 @@ -2185,6 +2191,9 @@ packages: '@floating-ui/vue@1.1.9': resolution: {integrity: sha512-BfNqNW6KA83Nexspgb9DZuz578R7HT8MZw1CfK9I6Ah4QReNWEJsXWHN+SdmOVLNGmTPDi+fDT535Df5PzMLbQ==} + '@formkit/auto-animate@0.9.0': + resolution: {integrity: sha512-VhP4zEAacXS3dfTpJpJ88QdLqMTcabMg0jwpOSxZ/VzfQVfl3GkZSCZThhGC5uhq/TxPHPzW0dzr4H9Bb1OgKA==} + '@grpc/grpc-js@1.9.15': resolution: {integrity: sha512-nqE7Hc0AzI+euzUwDAy0aY5hCp10r734gMGRdU+qOPX0XSceI2ULrcXB5U2xSc5VkWwalCj4M7GzCAygZl2KoQ==} engines: {node: ^8.13.0 || >=10.10.0} @@ -10163,6 +10172,8 @@ snapshots: - '@vue/composition-api' - vue + '@formkit/auto-animate@0.9.0': {} + '@grpc/grpc-js@1.9.15': dependencies: '@grpc/proto-loader': 0.7.13 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 349662478f..c455964545 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -6,6 +6,7 @@ catalog: '@alloc/quick-lru': ^5.2.0 '@comfyorg/comfyui-electron-types': 0.6.2 '@eslint/js': ^9.39.1 + '@formkit/auto-animate': ^0.9.0 '@iconify-json/lucide': ^1.1.178 '@iconify/json': ^2.2.380 '@iconify/tailwind4': ^1.2.0 diff --git a/src/components/TopMenuSection.vue b/src/components/TopMenuSection.vue index 5ee9d62f00..c23df7bd49 100644 --- a/src/components/TopMenuSection.vue +++ b/src/components/TopMenuSection.vue @@ -51,6 +51,7 @@ ref="legacyCommandsContainerRef" class="[&:not(:has(*>*:not(:empty)))]:hidden" > + +