mirror of
https://github.com/logseq/logseq.git
synced 2026-05-16 17:02:34 +00:00
enhance(icon-picker): clarify "Clear customized icons" tooltip
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user