Open in sidebar on middle click

I’d like to be able to middle-click on the things that normally react to a shift-click action and open in the sidebar.

I think (?? I’m not a closure person) that I have documented at least roughly what would need to change

; Propose adding middle click to open in sidebar

; Add a middle-click helper to the frontend utils package
; https://github.com/logseq/logseq/blob/ee9b52248ef57c5fb8f62b55a834cecef26e2786/src/main/frontend/util.cljc#L1369
; Near L1369 to keep it near the right-click helper
#?(:cljs
   (defn middle-click?
     [e]
     (let [which (gobj/get e "which")
           button (gobj/get e "button")]
       (= which 1))))

; Additionally check for middle-click
; https://github.com/logseq/logseq/blob/ee9b52248ef57c5fb8f62b55a834cecef26e2786/src/main/frontend/components/journal.cljs#L65
(when (or (gobj/get e "shiftKey") (util/middle-click? e))

; similar edits would be needed
; https://github.com/logseq/logseq/blob/e0888b896f525465b99dff9c28806d8001fc2d37/src/main/frontend/components/file.cljs#L84
; https://github.com/logseq/logseq/blob/ee9b52248ef57c5fb8f62b55a834cecef26e2786/src/main/frontend/components/sidebar.cljs#L69
; https://github.com/logseq/logseq/blob/e0888b896f525465b99dff9c28806d8001fc2d37/src/main/frontend/components/right_sidebar.cljs#L95
; https://github.com/logseq/logseq/blob/54215ef196e5c9595f914d49ba369826c0a34d57/src/main/frontend/components/block.cljs#L387
; https://github.com/logseq/logseq/blob/54215ef196e5c9595f914d49ba369826c0a34d57/src/main/frontend/components/block.cljs#L675
; https://github.com/logseq/logseq/blob/54215ef196e5c9595f914d49ba369826c0a34d57/src/main/frontend/components/block.cljs#L1355
; https://github.com/logseq/logseq/blob/54215ef196e5c9595f914d49ba369826c0a34d57/src/main/frontend/components/block.cljs#L2009
; https://github.com/logseq/logseq/blob/ee9b52248ef57c5fb8f62b55a834cecef26e2786/src/main/frontend/components/page.cljs#L244
; https://github.com/logseq/logseq/blob/ee9b52248ef57c5fb8f62b55a834cecef26e2786/src/main/frontend/components/page.cljs#L888
;
; maybe, I can't quite tell what this is supporting so it might not make sense here
; https://github.com/logseq/logseq/blob/ee9b52248ef57c5fb8f62b55a834cecef26e2786/src/main/frontend/components/sidebar.cljs#L434

Incidentally, all these various locations where the same hunk of code is used lead me to believe this could probably use some refactoring.