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: The database supports adding view/field/option description https://github.com/siyuan-note/siyuan/issues/11053
Danielad66a70b55ab
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.goindex 3261d1341d..bbbba9a4d6 100644--- a/kernel/model/attribute_view.go+++ b/kernel/model/attribute_view.go@@ -3464,6 +3464,7 @@ func updateAttributeViewColumnOption(operation *Operation) (err error) {oldName := data["oldName"].(string)newName := data["newName"].(string)newColor := data["newColor"].(string)+ newDesc := data["newDesc"].(string)found := falseif oldName != newName {@@ -3471,6 +3472,7 @@ func updateAttributeViewColumnOption(operation *Operation) (err error) {if newName == opt.Name { // 如果选项已经存在则直接使用found = truenewColor = opt.Color+ newDesc = opt.Descbreak}}@@ -3481,6 +3483,7 @@ func updateAttributeViewColumnOption(operation *Operation) (err error) {if oldName == opt.Name {key.Options[i].Name = newNamekey.Options[i].Color = newColor+ key.Options[i].Desc = newDescbreak}}