mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 10:56:32 +00:00
Setup CI jobs that are only for graph-parser
Also move all non graph-parser fns to frontend thanks to carve lint
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
[frontend.state :as state]
|
||||
[frontend.ui :as ui]
|
||||
[frontend.util :as util]
|
||||
[frontend.util.text :as text-util]
|
||||
[frontend.db :as db]
|
||||
[logseq.graph-parser.text :as text]
|
||||
[rum.core :as rum]
|
||||
[frontend.config :as config]
|
||||
[frontend.handler.repo :as repo-handler]
|
||||
@@ -76,7 +76,7 @@
|
||||
(or (config/demo-graph? url)
|
||||
(= url (state/get-current-repo)))))
|
||||
(map (fn [{:keys [url]}]
|
||||
{:value (text/get-graph-name-from-path
|
||||
{:value (text-util/get-graph-name-from-path
|
||||
;; TODO: Use helper when a common one is refactored
|
||||
;; from components.repo
|
||||
(if (config/local-db? url)
|
||||
@@ -99,7 +99,7 @@
|
||||
(remove (fn [{:keys [url]}]
|
||||
(config/demo-graph? url)))
|
||||
(map (fn [{:keys [url] :as original-graph}]
|
||||
{:value (text/get-graph-name-from-path
|
||||
{:value (text-util/get-graph-name-from-path
|
||||
;; TODO: Use helper when a common one is refactored
|
||||
;; from components.repo
|
||||
(if (config/local-db? url)
|
||||
|
||||
Reference in New Issue
Block a user