From 890ab2019f774448663f03b1754304e0486802d9 Mon Sep 17 00:00:00 2001 From: Johnpaul Chiwetelu <49923152+Myestery@users.noreply.github.com> Date: Wed, 17 Dec 2025 21:54:05 +0100 Subject: [PATCH] feat: add Update ComfyUI option to Help Center for non-desktop environments (#7578) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary - Adds "Update ComfyUI" menu item to Help Center for portable/localhost environments - Wires existing `/v2/manager/queue/update_comfyui` endpoint to the frontend - Only visible in non-desktop, non-cloud distributions (where Electron update mechanism isn't available) ## Changes 1. **Service layer**: Added `updateComfyUI()` method to `comfyManagerService.ts` 2. **UI**: Added menu item with download icon to `HelpCenterMenuContent.vue` 3. **i18n**: Added translation key for the new menu item ## Context The new Manager UI (v4) lost the ability to update ComfyUI core in non-desktop environments. This restores that functionality by integrating the existing manager endpoint into the Help Center menu. ## Test plan - [ ] Verify menu item appears in portable/localhost environments - [ ] Verify menu item does NOT appear in desktop (Electron) environments - [ ] Verify menu item does NOT appear in cloud environments - [ ] Test clicking the menu item triggers update and reboot ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7578-feat-add-Update-ComfyUI-option-to-Help-Center-for-non-desktop-environments-2cc6d73d3650811e9e4fe55515f50333) by [Unito](https://www.unito.io) --- .../helpcenter/HelpCenterMenuContent.vue | 58 +++++++++++++++++++ src/locales/en/main.json | 8 ++- .../manager/services/comfyManagerService.ts | 30 ++++++++++ .../tests/store/comfyManagerStore.test.ts | 1 + 4 files changed, 96 insertions(+), 1 deletion(-) diff --git a/src/components/helpcenter/HelpCenterMenuContent.vue b/src/components/helpcenter/HelpCenterMenuContent.vue index 7465429c2..d912a2941 100644 --- a/src/components/helpcenter/HelpCenterMenuContent.vue +++ b/src/components/helpcenter/HelpCenterMenuContent.vue @@ -152,6 +152,7 @@