Comments let users discuss a dump under it, in threads. This module types them, with the bodies that post and edit them. The dump page's CommentThread renders them as a tree, by parentId.

Interfaces

I
Comment

Returned by the comment routes, and sent in the comment_created and comment_updated WebSocket messages. It carries its author's name and avatar, so the thread needn't look them up.

I
CreateCommentRequest

Passed to POST /api/dumps/:dumpId/comments by CommentThread, and by CommentNode for a reply. The body must not be blank.

I
UpdateCommentRequest

Passed to PATCH /api/comments/:commentId by CommentNode.