From 93178c80ba08e9dab52c473febdc5e5db4515e77 Mon Sep 17 00:00:00 2001 From: Benjamin Lu Date: Sun, 14 Dec 2025 18:40:25 -0800 Subject: [PATCH] feat(server-config): add legacy manager UI toggle (#7478) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a Desktop (Electron) Server-Config setting for `--enable-manager-legacy-ui` so users can opt into ComfyUI-Manager’s legacy UI. - Adds `enable-manager-legacy-ui` to `SERVER_CONFIG_ITEMS` - Adds EN i18n label + tooltip Note: this PR only adds the setting/flag wiring; it does not change restart behavior in Desktop. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7478-feat-server-config-add-legacy-manager-UI-toggle-2ca6d73d365081a79bb2c376506f5346) by [Unito](https://www.unito.io) > [!NOTE] > This is a stacked PR. (main <= https://github.com/Comfy-Org/ComfyUI_frontend/pull/7478 <= https://github.com/Comfy-Org/ComfyUI_frontend/pull/7479) --- src/constants/serverConfig.ts | 7 +++++++ src/locales/en/main.json | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/constants/serverConfig.ts b/src/constants/serverConfig.ts index 64e655e3d..bd47a0895 100644 --- a/src/constants/serverConfig.ts +++ b/src/constants/serverConfig.ts @@ -389,6 +389,13 @@ export const SERVER_CONFIG_ITEMS: ServerConfig[] = [ type: 'boolean', defaultValue: false }, + { + id: 'enable-manager-legacy-ui', + name: 'Use legacy Manager UI', + tooltip: 'Uses the legacy ComfyUI-Manager UI instead of the new UI.', + type: 'boolean', + defaultValue: false + }, { id: 'disable-all-custom-nodes', name: 'Disable loading all custom nodes.', diff --git a/src/locales/en/main.json b/src/locales/en/main.json index 8403c0205..fb26bef0c 100644 --- a/src/locales/en/main.json +++ b/src/locales/en/main.json @@ -1333,6 +1333,10 @@ "disable-metadata": { "name": "Disable saving prompt metadata in files." }, + "enable-manager-legacy-ui": { + "name": "Use legacy Manager UI", + "tooltip": "Uses the legacy ComfyUI-Manager UI instead of the new UI." + }, "disable-all-custom-nodes": { "name": "Disable loading all custom nodes." }, @@ -2444,4 +2448,4 @@ "recentReleases": "Recent releases", "helpCenterMenu": "Help Center Menu" } -} \ No newline at end of file +}