From cb02c2eb66835411ad1c8bbcacdccaf92d6ef445 Mon Sep 17 00:00:00 2001 From: scheinriese Date: Thu, 14 May 2026 16:43:38 +0200 Subject: [PATCH] enhance(icon-picker): clarify "Clear customized icons" tooltip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace the single-line tooltip with the two-line pattern used elsewhere in the icon picker (color picker recents lane, contrast indicator): Reset to this default Replaces 4 custom icons The previous copy ("Clear N customized icons — these rows will inherit from this default again") repeated the button label, used an em dash, and tied the framing to table-row terminology that doesn't translate to other views. The new copy puts the outcome verb on the bold line ("Reset to this default", matching the codebase's :keymap/reset-to-default key) and uses the muted line for scope ("Replaces N custom icons"), keeping the subject on the icons themselves so it reads cleanly across table, list, and gallery views. Co-Authored-By: Claude Opus 4.7 --- src/main/frontend/components/property/value.cljs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/frontend/components/property/value.cljs b/src/main/frontend/components/property/value.cljs index a1d4d1df7c..5da70a6201 100644 --- a/src/main/frontend/components/property/value.cljs +++ b/src/main/frontend/components/property/value.cljs @@ -347,9 +347,12 @@ [:span (str "Clear " diverged-count " customized icon" (when (not= 1 diverged-count) "s"))])) (shui/tooltip-content - (str "Clear " diverged-count " customized icon" - (when (not= 1 diverged-count) "s") - " — these rows will inherit from this default again")))))])) + {:side "top" :align "center" :show-arrow true} + [:div.text-center + [:div.font-medium "Reset to this default"] + [:div.text-xs.opacity-70.mt-0.5 + (str "Replaces " diverged-count " custom icon" + (when (not= 1 diverged-count) "s"))]]))))])) (defn select-type? [block property]