From dd8520020ebb2080954a85f85af7fcdbb3bcb8c7 Mon Sep 17 00:00:00 2001 From: jaeone94 <89377375+jaeone94@users.noreply.github.com> Date: Mon, 23 Feb 2026 17:43:17 +0900 Subject: [PATCH] feat(node): show Enter Subgraph and Error buttons side by side in node footer (#9126) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Show the \"Enter Subgraph\" and \"Error\" buttons simultaneously in the node footer when a subgraph node has errors, instead of only showing the Error button. ## Changes - **What**: Replaced the single mutually-exclusive `Button` in the node footer with a flex container that can display both the \"Enter Subgraph\" button and the \"Error\" button side by side, separated by a divider - **What**: When a subgraph node has errors, the Enter button shows a short label \"Enter\" to fit alongside the Error button; otherwise it shows the full \"Enter Subgraph\" label - **What**: Advanced inputs toggle button is now explicitly restricted to non-subgraph nodes (preserving existing behavior) - **What**: Added `"enter": "Enter"` i18n key for the shortened subgraph entry label ## Review Focus - Layout behavior when both buttons are visible (subgraph node with errors) - Collapsed vs. expanded node states with the new flex container - The `divide-x divide-component-node-border` divider between buttons > Note: May need to backport to a stable release branch. ## Screenshot https://github.com/user-attachments/assets/1eb4afe0-bf82-4677-ad86-6e15a9c0a487 - Fixes ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-9126-feat-node-show-Enter-Subgraph-and-Error-buttons-side-by-side-in-node-footer-3106d73d3650818a9afdeb51813825d9) by [Unito](https://www.unito.io) --- src/locales/en/main.json | 1 + .../vueNodes/components/LGraphNode.vue | 91 +++++++++++++------ 2 files changed, 66 insertions(+), 26 deletions(-) diff --git a/src/locales/en/main.json b/src/locales/en/main.json index e378ac152..644cc01d7 100644 --- a/src/locales/en/main.json +++ b/src/locales/en/main.json @@ -69,6 +69,7 @@ "icon": "Icon", "color": "Color", "error": "Error", + "enter": "Enter", "enterSubgraph": "Enter Subgraph", "resizeFromBottomRight": "Resize from bottom-right corner", "resizeFromTopRight": "Resize from top-right corner", diff --git a/src/renderer/extensions/vueNodes/components/LGraphNode.vue b/src/renderer/extensions/vueNodes/components/LGraphNode.vue index 1f373529a..1571640bc 100644 --- a/src/renderer/extensions/vueNodes/components/LGraphNode.vue +++ b/src/renderer/extensions/vueNodes/components/LGraphNode.vue @@ -122,46 +122,85 @@ - - - + + + + + - + +