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
When a comment is moderated (to either unapproved, spam, or trash), its replies should also be hidden from the thread.
Actual behavior
Replies of moderated comments are misplaced in the thread. Some more details quoted from @frosty 's pull review comment:
[...] I had a post with 5 comments:
A
B
\__ C
\__ D
E
If I unapprove B from the moderation screen, here's what happens in various places:
Reader comments view in the app:
Continues to show A, C, D, and E.
C and D are now shown as replies to B, which I think is probably a bug.
The app shows a count of 4 comments – the total number of approved comments, even though two of them are replies to a comment that is no longer visible.
Reader on the web:
Only shows the top level comments, A and E. The replies to the unapproved comment are not visible.
Shows a comment count of 2 to match the visible comments.
Frontend of the website:
Only shows the top level comments, A and E. The replies to the unapproved comment are not visible.
Shows a comment count of 4 – the total number of approved comments, even though two of them aren't visible. [...]
Steps to reproduce the behavior
Create a post with comments similar to the structure described above.
Moderate comment B (the second top-level comment that has nested replies). Some ways to do this:
From the Calypso dashboard.
From My Sites > Comments.
From the comment threads > tap on the ellipsis menu
Observe that the reply comments from B are now "attached" to comment A.
Tested on iPhone 8 Simulator, iOS 15.2, WPiOS 19.3
The text was updated successfully, but these errors were encountered:
Refs #17869 (review)
Expected behavior
When a comment is moderated (to either unapproved, spam, or trash), its replies should also be hidden from the thread.
Actual behavior
Replies of moderated comments are misplaced in the thread. Some more details quoted from @frosty 's pull review comment:
Steps to reproduce the behavior
B
(the second top-level comment that has nested replies). Some ways to do this:B
are now "attached" to commentA
.Tested on iPhone 8 Simulator, iOS 15.2, WPiOS 19.3
The text was updated successfully, but these errors were encountered: