mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
Merge branch 'feat/db' into refactor/db-remove-block-name-unique
This commit is contained in:
@@ -377,19 +377,19 @@
|
||||
(reset! *search-key nil)
|
||||
(.focus target))}
|
||||
(ui/icon "x")])
|
||||
[:input.form-input.is-small
|
||||
{:placeholder (t :plugin/search-plugin)
|
||||
:ref *search-ref
|
||||
:auto-focus true
|
||||
:on-key-down (fn [^js e]
|
||||
(when (= 27 (.-keyCode e))
|
||||
(util/stop e)
|
||||
(if (string/blank? search-key)
|
||||
(some-> (js/document.querySelector ".cp__plugins-page") (.focus))
|
||||
(reset! *search-key nil))))
|
||||
:on-change #(let [^js target (.-target %)]
|
||||
(reset! *search-key (some-> (.-value target) (string/triml))))
|
||||
:value (or search-key "")}]])
|
||||
(shui/input
|
||||
{:placeholder (t :plugin/search-plugin)
|
||||
:ref *search-ref
|
||||
:auto-focus true
|
||||
:on-key-down (fn [^js e]
|
||||
(when (= 27 (.-keyCode e))
|
||||
(util/stop e)
|
||||
(if (string/blank? search-key)
|
||||
(some-> (js/document.querySelector ".cp__plugins-page") (.focus))
|
||||
(reset! *search-key nil))))
|
||||
:on-change #(let [^js target (.-target %)]
|
||||
(reset! *search-key (some-> (.-value target) (string/triml))))
|
||||
:value (or search-key "")})])
|
||||
|
||||
(rum/defc panel-tab-developer
|
||||
[]
|
||||
@@ -1407,7 +1407,7 @@
|
||||
(shui/dialog-open!
|
||||
(plugins-page)
|
||||
{:label :plugins-dashboard
|
||||
:side :center}))
|
||||
:align :start}))
|
||||
|
||||
(defn open-waiting-updates-modal!
|
||||
[]
|
||||
@@ -1431,6 +1431,7 @@
|
||||
[:div.settings-modal.of-plugins
|
||||
(focused-settings-content title)])
|
||||
{:label "plugin-settings-modal"
|
||||
:align :start
|
||||
:id "ls-focused-settings-modal"}))
|
||||
|
||||
(defn hook-custom-routes
|
||||
|
||||
Reference in New Issue
Block a user