{"schemaVersion":1,"id":"2026-11-16-save-comment-ranges","status":"draft","source":{"kind":"entry-mdx","path":"apps/www/src/registry/changelog/entries/2026-11-16-save-comment-ranges.mdx"},"change":{"type":"source","date":"2026-11-16","commits":[]},"release":{"status":"unresolved"},"kind":"wiring","summary":"Save comment ranges with each document revision","targets":[{"name":"import-toolbar-button","files":["apps/www/src/registry/components/editor/import-toolbar-button.tsx"],"definitionFiles":["apps/www/src/registry/registry-editor.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":"comment-demo","files":["apps/www/src/registry/examples/comment-demo.tsx","apps/www/src/registry/examples/values/comment-value.tsx"],"definitionFiles":["apps/www/src/registry/registry-examples.ts"],"diagnostics":[]},{"name":"comment-overlap-demo","files":["apps/www/src/registry/examples/comment-overlap-demo.tsx","apps/www/src/registry/examples/values/comment-value.tsx"],"definitionFiles":["apps/www/src/registry/registry-examples.ts"],"diagnostics":[]},{"name":"comment-review-demo","files":["apps/www/src/registry/examples/comment-review-demo.tsx","apps/www/src/registry/examples/values/comment-value.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":[]}],"entries":[{"id":"2026-11-16-import-toolbar-save-comment-ranges-each-5d653c96","kind":"wiring","summary":"Load comments as `{ threads, ranges }` and save `api.ranges()` with each document revision. The DOCX import in `import-toolbar-button` returns plain ranges keyed by thread ID, and the persistence demos keep thread rows in an app table.","details":[],"migrationNotes":[],"targets":["import-toolbar-button","comment-persistence-demo","suggestion-persistence-demo","comment-demo","comment-overlap-demo","comment-review-demo","editor-ai"],"source":{"line":14,"row":1,"legacyRelease":{"date":"2026-11-16","entry":"2026-11-16-save-comment-ranges","section":null}}}],"diagnostics":[]}