mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
feat(query-dsl): add more filters
There're some graph improvements too: 1. the fly dots are smaller now 2. page tags have a different color
This commit is contained in:
@@ -660,7 +660,7 @@
|
||||
(= name "query")
|
||||
[:div.dsl-query
|
||||
(custom-query (assoc config :dsl-query? true)
|
||||
{:title [:code (str "Query: " (first arguments))]
|
||||
{:title [:code.p-1 (str "Query: " (first arguments))]
|
||||
:query (first arguments)})]
|
||||
|
||||
(= name "youtube")
|
||||
@@ -1628,9 +1628,9 @@
|
||||
;; page list
|
||||
(and (seq result)
|
||||
(:page/name (first result)))
|
||||
[:ol
|
||||
[:ul#query-pages.mt-1
|
||||
(for [{:page/keys [name original-name] :as page-entity} result]
|
||||
[:li
|
||||
[:li.mt-1
|
||||
[:a {:href (rfe/href :page {:name name})
|
||||
:on-click (fn [e]
|
||||
(util/stop e)
|
||||
|
||||
Reference in New Issue
Block a user