From 4bca1435a6cbcd6dedc9b0dfa5e5d8a96c38ff7c Mon Sep 17 00:00:00 2001 From: m0rtus59 Date: Tue, 10 Nov 2026 15:40:57 +0500 Subject: [PATCH] Restore filename and prompt search labels --- js/ui/galleryView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/galleryView.js b/js/ui/galleryView.js index dd9bf05..bccf7ae 100644 --- a/js/ui/galleryView.js +++ b/js/ui/galleryView.js @@ -511,7 +511,7 @@ export function setupGalleryView() { const searchIcon = document.createElement("span"); searchIcon.className = "pi pi-search comfy-sidebar-icon-btn"; - searchIcon.title = t("Search Gallery (Prompt Text)"); + searchIcon.title = t("Search Gallery (Filename or Prompt)"); const title = document.createElement("h3"); title.textContent = t("Gallery"); @@ -580,7 +580,7 @@ export function setupGalleryView() { sIcon.className = "pi pi-search"; Object.assign(sIcon.style, { fontSize: "11px", opacity: "0.6", marginRight: "6px", transition: "transform 0.2s" }); const sInput = document.createElement("input"); - Object.assign(sInput, { type: "text", placeholder: t("Search prompts...") }); + Object.assign(sInput, { type: "text", placeholder: t("Search filenames or prompt metadata...") }); Object.assign(sInput.style, { flex: "1", background: "transparent", border: "none", outline: "none", color: "var(--comfy-input-color, var(--fg-color, #eee))", fontSize: "11px", padding: "0"