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:
Tienson Qin
2020-12-25 22:36:03 +08:00
parent 378d692eaa
commit a16d360611
6 changed files with 108 additions and 79 deletions

View File

@@ -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)