@@ -1,6 +1,6 @@
{
"name": "Logseq",
- "version": "0.1.4",
+ "version": "0.1.5",
"main": "electron.js",
"author": "Logseq",
"description": "A privacy-first, open-source platform for knowledge management and collaboration.",
@@ -1385,8 +1385,7 @@
(str (:block/uuid block) "-" k)))]
(and pre-block? properties)
- (ui/tippy {:title "Click to edit page properties"}
- [:span "🍵"])
+ [:span.opacity-50 "Properties"]
:else
nil)))
@@ -113,8 +113,8 @@
(if (seq coll')
(rest coll')
(reduced false))))
- (seq match)
- (seq q)))))
+ (seq (string/lower-case match))
+ (seq (string/lower-case q))))))
(defn page-search
([q]
@@ -1005,10 +1005,8 @@
(defn tag-valid?
[tag-name]
- (when tag-name
- (and
- (not (safe-re-find #"#" tag-name))
- (safe-re-find regex/valid-tag-pattern tag-name))))
+ (when (string? tag-name)
+ (not (safe-re-find #"[# \t\r\n]+" tag-name))))
(defn encode-str
[s]