From 9933d9bd11ccd4216d6949bd52ddbfa353f01079 Mon Sep 17 00:00:00 2001 From: Johnpaul Chiwetelu <49923152+Myestery@users.noreply.github.com> Date: Wed, 4 Mar 2026 07:27:36 +0100 Subject: [PATCH] fix: make queue button tooltip reflect current mode (#9350) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Make queue button tooltip mode-aware so it shows the correct action text based on whether QPOV2 is enabled. ## Changes - **What**: Update `queueHistoryTooltipConfig` in `ComfyActionbar.vue` to conditionally show "View Job History" (QPOV2 enabled) or "Expand/Collapse Queue" (QPOV2 disabled) instead of always showing "View Job History" ## Review Focus Straightforward conditional using existing `isQueuePanelV2Enabled` computed and existing i18n keys. Fixes #9278 ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-9350-fix-make-queue-button-tooltip-reflect-current-mode-3186d73d36508122b198e5fbb0226221) by [Unito](https://www.unito.io) --- src/components/actionbar/ComfyActionbar.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/actionbar/ComfyActionbar.vue b/src/components/actionbar/ComfyActionbar.vue index cf7ae875de..95ec2b523f 100644 --- a/src/components/actionbar/ComfyActionbar.vue +++ b/src/components/actionbar/ComfyActionbar.vue @@ -361,7 +361,13 @@ const cancelJobTooltipConfig = computed(() => buildTooltipConfig(t('menu.interrupt')) ) const queueHistoryTooltipConfig = computed(() => - buildTooltipConfig(t('sideToolbar.queueProgressOverlay.viewJobHistory')) + buildTooltipConfig( + t( + isQueuePanelV2Enabled.value + ? 'sideToolbar.queueProgressOverlay.viewJobHistory' + : 'sideToolbar.queueProgressOverlay.expandCollapsedQueue' + ) + ) ) const activeJobsLabel = computed(() => { const count = activeJobsCount.value