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:
Gabriel Horner
2022-05-24 21:21:23 -04:00
parent 4813d903d5
commit 15b8e5e9df
26 changed files with 304 additions and 206 deletions

View File

@@ -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)