mirror of
https://github.com/usememos/memos.git
synced 2026-11-30 07:49:12 +01:00
8b61d2e9d6
ListMemos returns comments; a feed narrows to top-level memos with the filter `parent == null`. A comment is created by CreateMemo with memo.parent, read through Memo.parent, and counted by the new Memo.comment_count. ListMemoComments, CreateMemoComment and MemoRelation.Type.COMMENT are removed, along with the two MCP comment tools. Storage is unchanged: a comment is still one COMMENT row in memo_relation. The memo filter gains `parent` and `name`. User stats count comments unless their filter excludes them. Memo.comment_count takes field 13 and the fields after it move to 14 through 18. Web: memo lists leave comments out unless "Include comments" is on. It and Compact mode move from the Timeline view options to Settings > Preferences > This device and apply to every memo list. A comment shown in a list names its parent on a strip above its card, and the parents of a page of comments are fetched with one request.