diff --git a/src/core/client/stream/tabs/comments/containers/CommentContainer.tsx b/src/core/client/stream/tabs/comments/containers/CommentContainer.tsx index bfeca8995..f9db4932c 100644 --- a/src/core/client/stream/tabs/comments/containers/CommentContainer.tsx +++ b/src/core/client/stream/tabs/comments/containers/CommentContainer.tsx @@ -26,7 +26,12 @@ interface InnerProps { asset: AssetData; indentLevel?: number; showAuthPopup: ShowAuthPopupMutation; + /** + * localReply will integrate the mutation response into + * localReplies + */ localReply?: boolean; + /** disableReplies will remove the ReplyButton */ disableReplies?: boolean; } diff --git a/src/core/client/stream/tabs/comments/containers/LocalReplyListContainer.tsx b/src/core/client/stream/tabs/comments/containers/LocalReplyListContainer.tsx index 2429536cb..025160cf9 100644 --- a/src/core/client/stream/tabs/comments/containers/LocalReplyListContainer.tsx +++ b/src/core/client/stream/tabs/comments/containers/LocalReplyListContainer.tsx @@ -16,6 +16,12 @@ interface InnerProps { comment: CommentData; } +/** + * LocalReplyListContainer renders the replies from the endpoint + * `localReplies` instead of `replies`. This is e.g. used for the + * ultimate threading level to only display the newly created comments + * from the current user. + */ export class LocalReplyListContainer extends Component { public render() { if (!this.props.comment.localReplies) {