An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: 去掉数据同步增量索引时的界面遮罩 Fix https://github.com/siyuan-note/siyuan/issues/7278
Liang Dingcbe29411df8b
diff --git a/kernel/model/sync.go b/kernel/model/sync.goindex fc3908c5b9..e248478cf0 100644--- a/kernel/model/sync.go+++ b/kernel/model/sync.go@@ -187,13 +187,8 @@ func checkSync(boot, exit, byHand bool) bool {// incReindex 增量重建索引。func incReindex(upserts, removes []string) {util.IncBootProgress(3, "Sync reindexing...")- needPushRemoveProgress := 32 < len(removes)- needPushUpsertProgress := 32 < len(upserts)msg := fmt.Sprintf(Conf.Language(35))util.PushStatusBar(msg)- if needPushRemoveProgress || needPushUpsertProgress {- util.PushEndlessProgress(msg)- }// 先执行 remove,否则移动文档时 upsert 会被忽略,导致未被索引bootProgressPart := 10 / float64(len(removes))@@ -208,9 +203,6 @@ func incReindex(upserts, removes []string) {msg = fmt.Sprintf(Conf.Language(39), block.RootID)util.IncBootProgress(bootProgressPart, msg)util.PushStatusBar(msg)- if needPushRemoveProgress {- util.PushEndlessProgress(msg)- }treenode.RemoveBlockTreesByRootID(block.RootID)sql.RemoveTreeQueue(block.BoxID, block.RootID)@@ -219,9 +211,6 @@ func incReindex(upserts, removes []string) {msg = fmt.Sprintf(Conf.Language(35))util.PushStatusBar(msg)- if needPushRemoveProgress || needPushUpsertProgress {- util.PushEndlessProgress(msg)- }bootProgressPart = 10 / float64(len(upserts))for _, upsertFile := range upserts {@@ -244,9 +233,6 @@ func incReindex(upserts, removes []string) {msg = fmt.Sprintf(Conf.Language(40), strings.TrimSuffix(path.Base(p), ".sy"))util.IncBootProgress(bootProgressPart, msg)util.PushStatusBar(msg)- if needPushUpsertProgress {- util.PushEndlessProgress(msg)- }tree, err0 := LoadTree(box, p)if nil != err0 {