Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Comments on Comment threads remain active even if all comments are deleted

Post

Comment threads remain active even if all comments are deleted

+2
−0

Issue raised on GitHub


In this answer there's a "General comments" thread, but all the comments are deleted.

This is related to - but IMO not the same as - this other post, in which it's discussed if showing that some comments are deleted is useful or not. That discussion is focused on the case where there are still some comments in the thread, but in this specific case, all the comments are gone, and I'm really not sure if the thread should remain active.

Maybe if someone wants to add a comment related to the same subject (considering that the thread has a meaningful title), keeping the thread active would make sense.

On the other hand, why not remove the thread in this case? If someone wants to add anything, just create another thread. Not sure if keeping the thread active will bring any benefits.

I've just found another case. Didn't search for more, though.


As a side note, I've added a comment to that thread and it worked (I've deleted it, as it was only a test).

But now, in the answer it says that there are 3 comments:

3 comments

And in the thread page, it says there are 4:

4 comments

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

my understanding of the bug. (3 comments)
my understanding of the bug.
deleted user wrote almost 3 years ago

Your title was Comment threads remain active even if all comments are deleted. Actually, our current feature doesn't remove thread if a thread contains 0 comments. Here I found a bug that is the thread is saying Showing 3 of 3 comments. While there's no comment(all of them were deleted). But, If you create a new thread now and, delete all comments than, it will show that showing 0 comments or something just like this.

deleted user wrote almost 3 years ago

I believe the buggy thread is showing 3 of 3 comments text cause, the comment was created before the thread feature came. That's why when the thread feature arrived it calculated that there was 3 comments and now save that in database. But, the thread is also saying that Skipping 4 deleted comments.. 4th number comment was created after thread feature arrive. That's why it's not buggy.

deleted user wrote about 2 years ago · edited about 2 years ago

You can now write down a comment and delete that then the thread will be automatically deleted (according to recent updates (4 months?)).

Skipping 2 deleted comments.