From 3b7bc2e5d8846554bae16050a64e0f181934fffd Mon Sep 17 00:00:00 2001 From: PlunderStruck <92281127+PlunderStruck@users.noreply.github.com> Date: Tue, 5 May 2026 09:25:02 -0700 Subject: [PATCH] dev: remove developer command cycle --- src/main/frontend/handler/common/developer.cljs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main/frontend/handler/common/developer.cljs b/src/main/frontend/handler/common/developer.cljs index 5708bfb639..8aab21f02d 100644 --- a/src/main/frontend/handler/common/developer.cljs +++ b/src/main/frontend/handler/common/developer.cljs @@ -12,9 +12,9 @@ [frontend.handler.notification :as notification] [frontend.persist-db :as persist-db] [frontend.state :as state] - [frontend.ui :as ui] [frontend.util :as util] [frontend.util.page :as page-util] + [logseq.shui.ui :as shui] [logseq.db :as ldb] [logseq.db.frontend.property :as db-property] [promesa.core :as p])) @@ -48,8 +48,9 @@ [:pre.code (str "ID: " (:db/id result) "\n" pull-data)] [:br] - (ui/button (t :ui/copy-to-clipboard) - :on-click #(.writeText js/navigator.clipboard pull-data))] + (shui/button {:size :sm + :on-click #(.writeText js/navigator.clipboard pull-data)} + (t :ui/copy-to-clipboard))] :success false))) @@ -62,8 +63,9 @@ (notification/show! [:div.ls-wrap-widen ;; Show clipboard at top since content is really long for pages - (ui/button (t :ui/copy-to-clipboard) - :on-click #(.writeText js/navigator.clipboard ast-data)) + (shui/button {:size :sm + :on-click #(.writeText js/navigator.clipboard ast-data)} + (t :ui/copy-to-clipboard)) [:br] [:pre.code ast-data]] :success