From a9ff597d5cb035415eb6f7ea94fa469adca8059a Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 01:33:23 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Improve=20Tooltips=20?= =?UTF-8?q?for=20Critical=20Options?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 💡 What: Updated tooltips for `add_time` (video/image) and `filename_prefix` (image). 🎯 Why: - Video `add_time`: Warns users that disabling this causes the "single frame" bug on Discord, guiding them to `include_video_info` instead. - Image `add_time`: Clarifies caching behavior. - Image `filename_prefix`: Documents `%batch_num%` support. ♿ Accessibility: Provides critical context directly in the UI, reducing reliance on external documentation (README). --- discord_image_node.py | 4 ++-- discord_video_node.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/discord_image_node.py b/discord_image_node.py index 0db77ee..49ba3e9 100644 --- a/discord_image_node.py +++ b/discord_image_node.py @@ -44,7 +44,7 @@ class DiscordSendSaveImage: return { "required": { "images": ("IMAGE", {"tooltip": "The images to save and/or send to Discord."}), - "filename_prefix": ("STRING", {"default": "ComfyUI-Image", "tooltip": "The prefix for the saved files."}), + "filename_prefix": ("STRING", {"default": "ComfyUI-Image", "tooltip": "The prefix for the saved files. Supports %batch_num% placeholder."}), "overwrite_last": ("BOOLEAN", {"default": False, "tooltip": "If enabled, will overwrite the last image instead of creating incrementing filenames."}) }, "optional": { @@ -77,7 +77,7 @@ class DiscordSendSaveImage: }), "add_time": ("BOOLEAN", { "default": True, - "tooltip": "Add the current time (HH-MM-SS) to filenames. ⚠️ Recommended for Discord to avoid caching issues." + "tooltip": "Add the current time (HH-MM-SS) to filenames. ⚠️ Recommended for Discord to prevent caching of old images with the same name." }), "add_dimensions": ("BOOLEAN", { "default": False, diff --git a/discord_video_node.py b/discord_video_node.py index 94a0d05..064e5b9 100644 --- a/discord_video_node.py +++ b/discord_video_node.py @@ -240,7 +240,7 @@ class DiscordSendSaveVideo: }), "add_time": ("BOOLEAN", { "default": True, - "tooltip": "Add the current time (HH-MM-SS) to filenames. ⚠️ Recommended for Discord to avoid caching issues." + "tooltip": "Add time to filenames. ⚠️ KEEP ENABLED for Discord videos! Disabling causes playback failure (single frame bug). To hide info in chat, disable 'include_video_info' instead." }), "add_dimensions": ("BOOLEAN", { "default": True,