You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comments parsed from DOCX files (comments.xml) are currently stored in the document model but not rendered anywhere in the editor UI. Users cannot see, add, or interact with comments.
Current State
Parsing: Works. commentParser.ts extracts comments including author, date, initials, and content paragraphs. PR Fix comment timestamps using commentsExtensible.xml #21 adds UTC timestamp support via commentsExtensible.xml.
Data model: Comment type exists in src/types/content.ts with id, author, initials, date, and content fields.
Rendering: Not implemented. Comments are parsed but never displayed.
What needs to happen
Comment range markers in ProseMirror — Map w:commentRangeStart / w:commentRangeEnd from the document XML to ProseMirror decorations or marks so the editor knows which text spans are commented
Comment highlight rendering — Highlight commented text ranges in the visible pages (layout-painter) with a subtle background color (Word uses light yellow)
Comment sidebar/panel — Display comments in a sidebar or tooltip showing author, date, and comment text, linked to highlighted ranges
Comment indicators — Show visual indicators (e.g., colored marks in the margin) for commented sections
Summary
Comments parsed from DOCX files (
comments.xml) are currently stored in the document model but not rendered anywhere in the editor UI. Users cannot see, add, or interact with comments.Current State
commentParser.tsextracts comments including author, date, initials, and content paragraphs. PR Fix comment timestamps using commentsExtensible.xml #21 adds UTC timestamp support viacommentsExtensible.xml.Commenttype exists insrc/types/content.tswith id, author, initials, date, and content fields.What needs to happen
w:commentRangeStart/w:commentRangeEndfrom the document XML to ProseMirror decorations or marks so the editor knows which text spans are commentedOut of scope (for now)
References
src/types/content.ts(line ~801)src/docx/commentParser.tsw:commentRangeStart,w:commentRangeEnd,w:comments