From a4fc6e6ac1b5db4dca309af658133af28a3737dd Mon Sep 17 00:00:00 2001 From: Benjamin Lu Date: Mon, 15 Dec 2025 09:35:38 -0800 Subject: [PATCH] Topbar: add Custom Nodes Manager button (#7400) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a desktop-only "Custom Nodes Manager" topbar button (Lucide puzzle) in its own bordered island left of the actionbar. Button opens the manager via useManagerState().openManager(). - New i18n key: menu.customNodesManager image ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7400-Topbar-add-Custom-Nodes-Manager-button-2c76d73d3650810b9122da61a3c4be39) by [Unito](https://www.unito.io) --- src/components/TopMenuSection.vue | 122 +++++++++++++++++++----------- src/locales/en/main.json | 1 + 2 files changed, 80 insertions(+), 43 deletions(-) diff --git a/src/components/TopMenuSection.vue b/src/components/TopMenuSection.vue index f9cc7054a35..b27f65fbf0d 100644 --- a/src/components/TopMenuSection.vue +++ b/src/components/TopMenuSection.vue @@ -10,48 +10,66 @@
-
- - +
- - - - - {{ queuedCount }} - - - - - + +
+ +
- - + + +
+ + + + + {{ queuedCount }} + + + + + + + +
queueStore.pendingTasks.length) const queueHistoryTooltipConfig = computed(() => buildTooltipConfig(t('sideToolbar.queueProgressOverlay.viewJobHistory')) ) +const customNodesManagerTooltipConfig = computed(() => + buildTooltipConfig(t('menu.customNodesManager')) +) // Right side panel toggle const { isOpen: isRightSidePanelOpen } = storeToRefs(rightSidePanelStore) @@ -112,10 +138,20 @@ onMounted(() => { const toggleQueueOverlay = () => { isQueueOverlayExpanded.value = !isQueueOverlayExpanded.value } - - + diff --git a/src/locales/en/main.json b/src/locales/en/main.json index 6df336ed8d4..8858adc5496 100644 --- a/src/locales/en/main.json +++ b/src/locales/en/main.json @@ -794,6 +794,7 @@ "dark": "Dark", "light": "Light", "manageExtensions": "Manage Extensions", + "customNodesManager": "Custom Nodes Manager", "settings": "Settings", "help": "Help", "queue": "Queue Panel"