mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 07:35:01 +00:00
enhance: prefer tag instead of class on UI
Some users are confused with Classes/Objects, so on UI it'll be Tags/Nodes.
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
(defn create-items [q]
|
||||
(when-not (string/blank? q)
|
||||
(let [class? (string/starts-with? q "#")]
|
||||
(->> [{:text (if class? "Create class" "Create page") :icon "new-page"
|
||||
(->> [{:text (if class? "Create tag" "Create page") :icon "new-page"
|
||||
:icon-theme :gray
|
||||
:info (if class?
|
||||
(str "Create class called '" (get-class-from-input q) "'")
|
||||
|
||||
Reference in New Issue
Block a user