{/* Avatar + vertical thread connector matching Frame.io / Shumai threads */}
{/* Author + timestamp + #index + completed status */}
{creatorName}
{formatCommentDateTime(comment.createdAt)}
{comment.isCompleted && (
{m.print_comments_completed()}
)}
{options.indexNumber !== undefined && (
#
{options.indexNumber}
)}
{/* Prefix (timecode / page / angle + annotation indicator) + Comment text */}
{(timestamp || hasAnnotations) && (
{timestamp && (
{timestamp}
)}
{hasAnnotations && (
)}
)}
{comment.sessionId && comment.message ? (
{preprocessMarkdown(comment.message)}
) : (
{renderPlainCommentText(comment)}
)}
{options.isReply && frameUrls.has(comment.id) && (
{renderFrame(comment.id, annotations)}
)}
{/* Attachments */}
{comment.attachments && comment.attachments.length > 0 && (
{comment.attachments.map((att) => {
const rawName = att.url?.split('/').pop()?.split('?')[0] || 'file'
const name = decodeURIComponent(rawName)
const isImage = isImageFileName(name)
return (
{isImage ? (

) : (
)}
{name}
)
})}
)}
{/* Emoji reactions */}
{comment.reactionCounts && comment.reactionCounts.length > 0 && (
{comment.reactionCounts.map((reaction) => (
{reaction.code}
{reaction.count}
))}
)}