From a0abe3e36f8110375dee6f8884dd6223b9dec335 Mon Sep 17 00:00:00 2001 From: Christian Byrne Date: Fri, 6 Mar 2026 00:32:47 -0800 Subject: [PATCH] chore: add deprecation warning for legacy queue/history menu (#9460) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Add console.warn deprecation notice when the legacy ComfyList queue/history menu is instantiated. ## Changes - **What**: Log a deprecation warning in the `ComfyList` constructor telling users the legacy menu is deprecated, may break, and won't receive support. Includes instructions to switch via Settings → "Use new menu" → "Top". ## Review Focus Wording of the user-facing console warning. Fixes #8100 (Phase 1) ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-9460-chore-add-deprecation-warning-for-legacy-queue-history-menu-31b6d73d365081ffa041cad33e8cd9a7) by [Unito](https://www.unito.io) --------- Co-authored-by: GitHub Action Co-authored-by: Alexander Brown --- src/scripts/ui.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/scripts/ui.ts b/src/scripts/ui.ts index cc7c087720..1d51661988 100644 --- a/src/scripts/ui.ts +++ b/src/scripts/ui.ts @@ -245,6 +245,13 @@ class ComfyList { this._reverse = reverse || false this.element = $el('div.comfy-list') as HTMLDivElement this.element.style.display = 'none' + + console.warn( + '[ComfyUI] The legacy queue/history menu is deprecated. ' + + 'Core functionality in this menu may break at any time. ' + + 'Issues and feature requests related to the legacy menu will not be addressed. ' + + 'To switch to the new menu: Settings → search "Use new menu" → change from "Disabled" to "Top".' + ) } get visible() {