wip: Demo switch to use db graph

This commit is contained in:
Tienson Qin
2024-08-10 13:18:20 +08:00
parent 043927031e
commit b9f9fa0ca6
28 changed files with 257 additions and 580 deletions

View File

@@ -430,7 +430,7 @@
(state/set-state! :ui/open-select :graph-remove))
:binding []}
:graph/add {:fn (fn [] (route-handler/redirect! {:to :repo-add}))
:graph/add {:fn (fn [] (route-handler/redirect! {:to :graphs}))
:binding []}
:graph/db-add {:fn #(state/pub-event! [:graph/new-db-graph])