{"schemaVersion":1,"id":"2026-09-17-comment-persistence-actions","status":"draft","source":{"kind":"entry-mdx","path":"apps/www/src/registry/changelog/entries/2026-09-17-comment-persistence-actions.mdx"},"change":{"type":"source","date":"2026-09-17","commits":[]},"release":{"status":"unresolved"},"kind":"behavior","summary":"Save comment attachments with document revisions and preserve input when comment actions fail","targets":[{"name":"comment","files":["apps/www/src/registry/components/editor/comment.tsx"],"definitionFiles":["apps/www/src/registry/registry-features.ts"],"diagnostics":[]},{"name":"discussion","files":["apps/www/src/registry/components/editor/discussion.tsx"],"definitionFiles":["apps/www/src/registry/registry-features.ts"],"diagnostics":[]},{"name":"use-chat","files":["apps/www/src/registry/components/editor/use-chat.ts"],"definitionFiles":["apps/www/src/registry/registry-components.ts"],"diagnostics":[]},{"name":"comment-persistence-demo","files":["apps/www/src/registry/examples/comment-persistence-demo.tsx","apps/www/src/registry/examples/values/comment-value.tsx"],"definitionFiles":["apps/www/src/registry/registry-examples.ts"],"diagnostics":[]},{"name":"suggestion-persistence-demo","files":["apps/www/src/registry/examples/suggestion-persistence-demo.tsx","apps/www/src/registry/examples/values/suggestion-document.tsx"],"definitionFiles":["apps/www/src/registry/registry-examples.ts"],"diagnostics":[]},{"name":"editor-ai","files":["apps/www/src/registry/blocks/editor-ai/components/editor/rich-text-editor-value.ts","apps/www/src/registry/blocks/editor-ai/components/editor/rich-text-editor.tsx","apps/www/src/registry/blocks/editor-ai/page.tsx"],"definitionFiles":["apps/www/src/registry/registry-blocks.ts"],"diagnostics":[]},{"name":"discussion-demo","files":["apps/www/src/registry/examples/discussion-demo.tsx"],"definitionFiles":["apps/www/src/registry/registry-examples.ts"],"diagnostics":[]}],"entries":[{"id":"2026-09-17-comment-persistence-actions","kind":"behavior","summary":"Await comment actions before clearing input, retain failed replies for retry, reopen resolved conversations independently of document undo, and keep suggestion conversations replyable after decisions.","details":[],"migrationNotes":[],"targets":["comment","discussion"],"source":{"line":14,"row":1,"legacyRelease":{"date":"2026-09-17","entry":"2026-09-17-comment-persistence-actions","section":null}}},{"id":"2026-09-17-comment-persistence-actions-2","kind":"behavior","summary":"Let completed AI comments finish saving when the chat menu closes; discard pending drafts on cancellation.","details":[],"migrationNotes":[],"targets":["use-chat"],"source":{"line":15,"row":2,"legacyRelease":{"date":"2026-09-17","entry":"2026-09-17-comment-persistence-actions","section":null}}},{"id":"2026-09-17-comment-persistence-actions-3","kind":"behavior","summary":"Save comments and opaque attachments with the matching document revision and restore them into a fresh editor.","details":[],"migrationNotes":[],"targets":["comment-persistence-demo","suggestion-persistence-demo","editor-ai"],"source":{"line":16,"row":3,"legacyRelease":{"date":"2026-09-17","entry":"2026-09-17-comment-persistence-actions","section":null}}},{"id":"2026-09-17-comment-persistence-actions-4","kind":"behavior","summary":"Load three authored suggestions and their conversations together while keeping direct editing as the default.","details":[],"migrationNotes":[],"targets":["discussion-demo"],"source":{"line":17,"row":4,"legacyRelease":{"date":"2026-09-17","entry":"2026-09-17-comment-persistence-actions","section":null}}}],"diagnostics":[]}