mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 09:26:28 +00:00
fix: slow query ux (#11548)
* enhance: intuitive query input * fix: Manually editing Query property doesn't update its results fix https://linear.app/logseq/issue/LOG-3249/manually-editing-query-property-doesnt-update-its-results * fix: don't close popup when editing hidden property * enhance: display query setting icon when hovering title * Use block's title as query if its query is still empty * enhance: display both simple and advanced query as below when not collapsed
This commit is contained in:
@@ -81,7 +81,7 @@
|
||||
[repo cards-id]
|
||||
(let [now-inst-ms (inst-ms (js/Date.))
|
||||
cards (when (and cards-id (not= (keyword cards-id) :global)) (db/entity cards-id))
|
||||
query (:block/title (:logseq.property/query cards))
|
||||
query (:block/title cards)
|
||||
result (query-dsl/parse query {:db-graph? true})
|
||||
q '[:find [?b ...]
|
||||
:in $ ?now-inst-ms %
|
||||
|
||||
Reference in New Issue
Block a user