Merge branch 'master' into feat/db

This commit is contained in:
Tienson Qin
2023-11-14 20:40:36 +08:00
129 changed files with 5624 additions and 3185 deletions

View File

@@ -164,7 +164,9 @@
(state/pub-event! [:modal/show-cards]))}
(ui/icon "infinity")
[:span.flex-1 (t :right-side-bar/flashcards)]
[:span.ml-1 (ui/render-keyboard-shortcut (ui/keyboard-shortcut-from-config :go/flashcards))]
[:span.ml-1 (ui/render-keyboard-shortcut
(ui/keyboard-shortcut-from-config :go/flashcards
{:pick-first? true}))]
(when (and num (not (zero? num)))
[:span.ml-1.inline-block.py-0.5.px-3.text-xs.font-medium.rounded-full.fade-in num])]))
@@ -715,7 +717,10 @@
[:div.inner
{:title (t :help-shortcut-title)
:on-click #(state/toggle! :ui/help-open?)}
"?"]]
[:svg.scale-125 {:stroke "currentColor", :fill "none", :stroke-linejoin "round", :width "24", :viewbox "0 0 24 24", :xmlns "http://www.w3.org/2000/svg", :stroke-linecap "round", :stroke-width "2", :class "icon icon-tabler icon-tabler-help-small", :height "24"}
[:path {:stroke "none", :d "M0 0h24v24H0z", :fill "none"}]
[:path {:d "M12 16v.01"}]
[:path {:d "M12 13a2 2 0 0 0 .914 -3.782a1.98 1.98 0 0 0 -2.414 .483"}]]]]
(when help-open?
(help-menu-popup))
@@ -812,7 +817,6 @@
:route-match route-match
:default-home default-home
:new-block-mode new-block-mode})
(when (util/electron?)
(find-in-page/search))