mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 09:56:31 +00:00
Feature/Setups of Onboarding Process (#4580)
UX enhancement: onboarding setup graphs Co-authored-by: llcc <lzhes43@gmail.com> Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
This commit is contained in:
@@ -134,7 +134,7 @@
|
||||
root-handle)
|
||||
repo (str config/local-db-prefix dir-name)
|
||||
_ (state/set-loading-files! repo true)
|
||||
_ (when-not (state/home?)
|
||||
_ (when-not (or (state/home?) (state/setups-picker?))
|
||||
(route-handler/redirect-to-home! false))]
|
||||
(reset! *repo repo)
|
||||
(when-not (string/blank? dir-name)
|
||||
@@ -175,6 +175,7 @@
|
||||
(p/let [_ (repo-handler/load-repo-to-db! repo
|
||||
{:first-clone? true
|
||||
:new-graph? true
|
||||
:empty-graph? (nil? (seq markup-files))
|
||||
:nfs-files files})]
|
||||
(state/add-repo! {:url repo :nfs? true})
|
||||
(state/set-loading-files! repo false)
|
||||
|
||||
Reference in New Issue
Block a user