Skip to content

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

:art: Show operation type in the file history item list https://github.com/siyuan-note/siyuan/issues/10634

Daniel828763107839
diff --git a/kernel/model/history.go b/kernel/model/history.go
index 866999e7ea..35bff75a3f 100644
--- a/kernel/model/history.go
+++ b/kernel/model/history.go
@@ -464,6 +464,7 @@ func GetNotebookHistory() (ret []*History, err error) {
Items: []*HistoryItem{{
Title: c.Name,
Path: filepath.Dir(filepath.Dir(historyNotebookConf)),
+ Op: HistoryOpDelete,
}},
})
}