Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Implement a way to sort posts by recent comments, to make it easier to moderate them
Rationale
Today I flagged an answer that was clearly spam. Then I decided to check the spammer's profile to see if there were more. And indeed, I found a comment that was also spam.
One detail that surprised me is that the comment was made 2 months ago, and nobody noticed. It was made in a question posted 9 months ago, therefore I guess the OP and all other users involved in the comment thread didn't access the site during this period. That would explain why nobody flagged the comment.
But another detail is that posts aren't bumped to the first page when there are new comments.
Currently when you sort posts by activity, it considers only edits and new answers. Checking today, if we sort the main page by Activity, the post that had the spam comment is in the third page, and the most recent activity shown is "edited 8mo ago" (which confirms that it doesn't consider comments as an "activity").
My request
Is there a way to check for posts that had a recent activity in the comments? If there is (I just couldn't find it), then this request can be closed. But if there isn't, can it be implemented?
If we consider that any comment on the post is also an "activity", that post would have been bumped, and maybe the spam could have been caught when it was posted. I just caught it today because the spammer posted a spam-answer 10 hours ago in another question, which was bumped to the first page, and I decided to check in their profile if there was more spam.
Had the spammer decided to keep only that comment and hadn't posted anything else (or posted only comments in old questions), it'd probably remain unnoticed for an even longer time.
Can we have a way to sort by recent comments, so cases like this can be detected more easily? It could be in the current "sort by Activity" (change it to also include comments) or a new sort type (e.g. "recent comments"). Or is that such a rare event that it's not worth the effort?
One could argue that, since the posts aren't bumped, the spam won't be seen by many people. But IMO it's still spam and it must be removed, regardless of how many people it can reach.
As suggested in the comments, this was also posted in Codidact Meta
1 comment thread