Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: 改进桌面端底部状态栏通知 https://github.com/siyuan-note/siyuan/issues/5294

Liang Dingcdeda3f076c4
diff --git a/kernel/model/repository.go b/kernel/model/repository.go
index e42b09a37e..b8268cee42 100644
--- a/kernel/model/repository.go
+++ b/kernel/model/repository.go
@@ -368,7 +368,7 @@ func IndexRepo(memo string) (err error) {
})
elapsed := time.Since(start)
util.LogInfof("index data repo elapsed [%.2fs]", elapsed.Seconds())
- util.PushStatusBar(fmt.Sprintf("Index data repo elapsed [%.2fs]", elapsed.Seconds()))
+ util.PushStatusBar(fmt.Sprintf("Indexed data repo in %.2fs", elapsed.Seconds()))
util.PushClearProgress()
return
}
@@ -439,6 +439,6 @@ func syncRepo() (err error) {
})
elapsed := time.Since(start)
util.LogInfof("sync data repo elapsed [%.2fs]", elapsed.Seconds())
- util.PushStatusBar(fmt.Sprintf("Sync data repo elapsed [%.2fs]", elapsed.Seconds()))
+ util.PushStatusBar(fmt.Sprintf("Synced data repo in %.2fs", elapsed.Seconds()))
return
}