Skip to content

Fix up comment form#72

Merged
csebianlander merged 1 commit intomainfrom
fix-commenting
Aug 8, 2025
Merged

Fix up comment form#72
csebianlander merged 1 commit intomainfrom
fix-commenting

Conversation

@wrose504
Copy link
Collaborator

@wrose504 wrose504 commented Aug 8, 2025

The comment form is not working correctly when adding a new comment to a post, or replying to a comment. Comment replies are currently not shown, but the form was allowing comments to be posted to the database prior to recent changes from #66, #67 and #68.

Adding new comments was not working as the comment form component is only passed a $postId, but expected that $parentId and $childComments could be accessed.

Showing the comment reply form was not working as the $isBodyEditable logic was incorrect: it simply needed to exclude the original comment field from forms intended to gather moderator messages that were not part of a moderator editing another member's comment.

@Anna-M-Thomas
Copy link
Collaborator

I checked it out on local and can comments are working again! Also tried a couple moderator actions like editing. Thank you!

@csebianlander csebianlander merged commit 696199d into main Aug 8, 2025
1 check passed
@wrose504 wrose504 deleted the fix-commenting branch August 21, 2025 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants