-60

Following our initial experiments on comments UI and reputation changes, we have launched the next phase of our comment experiments on Stack Overflow: Threaded replies. This feature has been requested a few times, and we are experimenting here to improve the organization and readability of conversations within comments.

A screenshot displays a comments section on Stack Overflow, illustrating how threaded conversations are visually organized. An initial answer to a question appears at the top. Below this, a series of comments and replies are shown. Each top-level comment initiates a potential discussion thread. Replies to a specific comment are visually distinguished by being indented to the right and positioned directly underneath the comment they are addressing. This indentation creates a clear hierarchical structure, where a reply can itself receive further indented replies, forming a nested chain or 'thread' of conversation. Multiple such threads can exist independently under the main content, allowing users to follow distinct conversational branches. The visual nesting makes it easy to see which comments are direct responses to others, as opposed to new, top-level points.

What's Changing in this Experiment?

The experiment will enable users to reply directly to a specific comment, creating a nested thread. Here’s what you can expect:

  • Direct Replies: You will see a button that allows you to "Reply" directly to individual comments.
  • Nesting: Replies will be visually indented or nested under the parent comment to clearly separate conversational threads from top-level comments. There will be a limit of three indentations per top-level comment.
  • More clarity: The primary goal is to make it easier to follow distinct discussions that may occur within the broader comment section of an answer. Our hypothesis is that this will help organize longer comment sections and make it easier for users to follow the context of ongoing conversations in comments.

Why Threading?

Based on previous research and feedback, we understand that users are engaging in specific discussions within comments. Threading aims to:

  • Improve the readability and flow of these conversations.
  • Make it easier to identify and follow specific lines of inquiry or discussion.

Measurement for success

For this experiment, we will examine the conversion rate for comments created on the new UI with threading compared to the old UI without threading.

Request for Feedback

As with our previous UI tests, we would like to hear your feedback on threading. We are particularly interested in: If you find it easier to identify certain threads If it encourages you to comment more Any challenges or benefits you observe with this added feature Any bugs or quirky behavior you come across We will be monitoring this post for feedback till June 19th, 2025.

19
  • 4
    The prior experiment on comments, which is still active, is only on comments on Answers; is this still the case, or is this expanded to questions as well? If it is, should we be re-reporting [bug]s that we encounter on the question comments that were reported in the prior experiment here? Commented Jun 5, 2025 at 14:43
  • 24
    "we will examine the conversion rate for comments created on the new UI with threading compared to the old UI without threading" A lot of the more active users have switched experiments off, because of the state of comments from the existing experiment breaking fundamental features; I'm not sure that this measure will be a good one while such fundamental existing bugs are outstanding. Commented Jun 5, 2025 at 14:45
  • 1
    @ThomA No, we don't have any plans to experiment with comments on questions yet. We might at a later date, but it hasn't been discussed. In addition, all those previous bugs have been logged and are either being worked on or are going to be worked on. Commented Jun 5, 2025 at 15:01
  • 12
    Welcome to RedditOverflow, now we also create bubbles. Commented Jun 5, 2025 at 15:11
  • 37
    I think the image highlights the biggest problem with the new comments - in your example they take up 5x the space of the actual question with only 5 comments. Commented Jun 5, 2025 at 16:13
  • 3
    I would have very much liked to see this on Discussions, but on Q&A... just no. Unless behind the scenes you are changing the purpose of the site to be more like Reddit and comments are going to be a more prominent feature. But then not openly admitting that first will continue to cause these experiments to be poorly received. Commented Jun 5, 2025 at 16:36
  • @Gimby. I'm saying exactly that to the SE CEO here. Commented Jun 5, 2025 at 17:24
  • 2
    Threaded replies are nice (if they're actually threaded- not just adding one layer of depth)- or at least familiar and have their uses on social platforms like reddit, ... but I wonder what underlying problems this is meant to address and if there are better ways to address them given the Q&A platform's goals. Commented Jun 5, 2025 at 18:07
  • 18
    Love to see threading... but hate that we have to have this awful new ui to support it Commented Jun 5, 2025 at 18:20
  • 1
    My advice to new users on replying to comments is to edit the question to resolve the issues raised in comments. Only reply with a comment if you need clarification of the initial comment in order to act upon it with an edit to the question. Threading should help here, but might also have the unwanted effect of making it appear that it's OK to leave information out of the post. Willing to see how this all washes out over the course of the experiment. Commented Jun 5, 2025 at 18:28
  • 34
    "Why is the comment section wasting so much space?!!!" Commented Jun 6, 2025 at 1:19
  • 2
    @Hoid It's good that they're getting worked on, but wouldn't it make more sense to fix them before launching the next phase of the experiment? Otherwise it's going to taint the data even more than it already has. Commented Jun 6, 2025 at 17:40
  • 1
    I wonder how this will work out on mobile with the limited space there. Anyway maybe I like threaded comments but not the current implementation of them. Not sure, this can be measured somehow. The speed of experiments might be too high to actually get much useful information out of them. Maybe fixing more stuff and optimizing layouts (for smaller space for example) would make the experiments getting received better. Commented Jun 8, 2025 at 6:39
  • 1
    Btw. is the conversion rate an easy to understand term? I may simply not see it. What is converted into what? Commented Jun 24, 2025 at 12:40
  • 1
    Is this an a/b test? I've never gotten this and I checked a couple of times to make sure I did not opt out of experiments. Commented Jun 29, 2025 at 5:11

10 Answers 10

42

This feature has been requested a few times, and we are experimenting here to improve the organization and readability of conversations within comments.

Sure, for the sake of temporary exchanges, especially on questions, that are specifically aimed at fixing the corresponding post. And we already have this in the Staging Ground, where it's working well.

But the kinds of comments that merit a lasting presence on Stack Overflow Q&A pages, generally don't merit replies, and certainly don't merit threaded discussion.

The suggestions you link on meta.SE are quite old (the first one is from all the way back in 2009!) and the answers there already explain many problems with the idea. The fact that a certain segment of the user base has persistently wanted something like that, doesn't make it a good idea for the site. The most important idea in those answers is that making the comments easier to use encourages putting more comments on the page, but we explicitly want fewer comments on the page because the entire purpose of a Q&A page is to display the Q and the As, and everything else is secondary to that.

Collapsing comment threads by default is not a solution to this. First off, the valuable lasting comments should still be visible1.

But more importantly, it just means that people who are trying to find an additional piece of information do more clicking and more parsing of comments - the exact problem Stack Overflow was meant to avoid by its design. Meanwhile, people who want to get involved in the discussion (again, explicitly something that isn't supposed to be there in the first place) are that much more likely to retread existing ground (because they haven't seen the previous comment) and make the sprawl even worse.

All of that detracts from how Stack Overflow is designed to work: if reading an answer motivates a different question, go find that question, or ask it if it doesn't already exist.2

1 But those comments should still be de-emphasized relative to the answers - which is a big part of why people so strongly dislike the previous comment experiment. Please: when the community tells you that something is a bad idea, don't just start building on it.

2 And of course, comments motivated by questions will generally be those aimed at understanding the question, and thus at fixing the question to meet standards. Notice how, when questions from the Staging Ground are published to the main site, the comments are not migrated? This is one of the key reasons why the Staging Ground works well. Please learn from the one really good thing the company has implemented in the last several years.

24

How is flagging going to work with the new nested comments?

If I flag a comment as rude/abusive, but it has replies, do those replies get removed with the parent? Are entire threads removed if the parent is deemed to meet removal criteria, regardless of whether a nested comment might stand on its own merit?

Consider a situation where someone makes a legitimate comment but does so in a rude/abusive/unfriendly way. There are threaded replies that are added in response to the legitimate comment, but the parent itself should be removed because it violated SO policies.

Or a situation where there's a clarifying comment added asking for some particular details. In the underlying thread, some additional comments bring up additional points. The parent comment is addressed via post edits; the nested comments are outstanding. The parent comment can legitimately be removed as no longer needed, but the nested comments might not.

3
  • 11
    This is also relevant to self-deleted comments and general "no longer needed" cleanup. Commented Jun 6, 2025 at 1:05
  • 5
    Reddit just shows [deleted] - since we're going in that direction I bet that'll be the solution. Commented Jun 6, 2025 at 9:50
  • 1
    If I still was a willing participant in SO I wouldn’t stop deleting my own comments. This experiment is stupid. It’s also one of the reasons I refuse to participate in SO. There isn’t anything I like about this experiment. Commented Jun 8, 2025 at 5:03
23

Please add a UI feature to allow collapsing comments at a per-nested-level basis.

This is especially critical given the new UI design increases the space each comment takes up on the page by 2-3x as much. Regardless, if, one comment deep, a reply gets 30 back-and-forths that are unrelated to the answer or original comment, I don't want to have to scroll past them just to see the second top-level comment.

4
  • 5
    If the threading experiment gets graduated alongside the new commenting UI then this is going to be added. Commented Jun 5, 2025 at 17:46
  • 18
    @Hoid is it possible to graduate threading and not the new UI? Commented Jun 6, 2025 at 10:29
  • 5
    +1000 for Cornelius' request. Keep the current/old UI of comments (as much as possible) and just introduce threading to that layout. Commented Jun 6, 2025 at 13:12
  • 6
    @CorneliusRoemer Yes it is. If we determine not to graduate the new UI we would want to have a conversation with the community to see about keeping any of the features we introduced. Commented Jun 6, 2025 at 13:35
18

I want to bring balpha's userscript to your attention. While it's not ideal (mainly because there's no data to identify how to link up the comments, besides scraping the mentions, @), it's far superior to the current plan of cluttering the page.

  • Add a small reply button,
  • record which comment is being replied to,
  • then use the same indentation approach.

This solution is both sufficient and effective, without wasting so much space and taking our attention away from the actual Q&A.

17

My opinion on threaded replies themselves

It's a good idea on paper, it's true that comments are often heavily disorganised, often by an OP trying to reply to other comments one by one, and comment posters replying too in a different order, resulting in a very spaghetti-ish comment section.

But, I feel like they should display the way YouTube does it, with a max depth of one.

This way, if someone comments, replies to this specific comment will be padded to the right a little and put underneath it, but if people keep replying to each other, you're not gonna get a diagonal line of comments.

About the way threaded replies were introduced without taking any previous feedback into account

It feels like you are ignoring the community a lot, here.

Namely, three of the most important (in my opinion) problems weren't fixed.


Comments STILL take a huge ton of space


Markdown is STILL lost when editing, even though it's been reported three weeks ago and is a massive problem. (EDIT: finally fixed, an astounding 22 days after being reported!)

Explicative screenshot showing the problem


The comment entry form is STILL above comments instead of below, which is made worse by the introduction of replies:

Screenshot of the comment space with irrelevant text, as illustration

This is the bottom of the comment question and there are 8 more comments above, and considering how much space they take, this makes the comment second take approximately two screens.

Let's say I, a new user, want to post a new comment, not replying specifically to anyone, just wanting to ask OP for clarification. What do you think I will do?

A. Scroll up to find the "Add a comment" form because I remember it was there, and as a new user, I made sure to carefully read how comments work and am not going to assume they work the same way as on other popular websites

B. Just click the nearest "Reply" button

I'll let you guess which one is the most likely.


It's been 24 days since the initial post, and almost none of the feedback has been addressed. Only three (1, 2, 3a/3b) bugs have been fixed (some of them, silently), and only so because they essentially prevented the experiment from working.

This is a major problem. You can't just move on with the second step of the experiment in these conditions and expect positive feedback.

0
15

Replying with a long comment truncates the comment.

When replying to a comment, behind the scenes the system appears to prepend @target-username to the comment. If the comment is near the maximum allowable length then adding @target-username to the start takes it over maximum length and the comment is silently truncated to the maximum length.

The Comment UI needs to be updated to set the maximum allowable comment length in replies to be the maximum allowable comment length minus the length of the username and surrounding @ and spaces. (Or to generate an error message rather than silently truncating comments without any warning.)

2
  • 2
    Repeatable test case showing this bug described here. How did you figure out a @target-username connection? I mean I see that it's maybe truncating about a name's worth of characters, but not sure how to prove that's 1-to-1. Are you suggesting adding the name of who you're replying to will make the count accurate? Commented Jul 21, 2025 at 18:36
  • Also reported here (and it had the [status-review] tag added there, so I edited in here as well): New comment UI doesn't count characters correctly for me Commented Mar 10 at 1:06
13

@replying incorrectly replaces spaces with dashes instead of removing them.

When replying to someone with the old reply system, the suggested reply @ appeared as follows:

Screenshot of replying using the old system

Spaces are removed and the case is preserved.

This is no longer the case:

Screenshot of replying using the new system

Casing isn't preserved (which is no big deal, since it is a ["case-insensitive match"](https://meta.stackexchange.com/a/43020/1723738, although it does look bad), but most importantly, spaces are now replaced with dashes.

Unless the matching key was changed, dashes are important and do count as username characters! "Single quotes, dots, dashes and underscores should not be removed.", implying none should be added either if there aren't in the user's display name!

This could create conflicts (if a user has username A person and one has the username A-person, trying to reply to A person might actually reply to A-person), and prevent users from receiving notifications altogether if the matching key wasn't changed accordingly.

If this isn't a and that everything was silently made to work properly with this change, why was it done without editing the username matching key post and the FAQ?

Even though this is an experiment, having a note warning about it is important.

And even then, why make this change?

The existing convention has been there for 15 years, such a baseless change is only going to create confusion.

11

I find the new comments quite hard to read when there isn't a reply, but just a list of several one-line comments. It's like double line spacing in Microsoft Word, except the space is filled with white noise rather than being empty.

new comment layout


Also, when there is only 1 single line comment, it comes across like the comment is a description of the comment box (like a footnote on an image)

enter image description here

-7

Deleted posts

Since you specify that you “will be monitoring this post for feedback till June 19th, 2025”, it's quite unclear to me what is going on and what my answer may achieve, but:

  1. While this deleted question explains “Comments disabled on deleted / locked posts / reviews”, on Stack Overflow, with that experiment, if I want to comment on this deleted answer, I am allowed to type a brilliant comment, until I click Comment and get "Cannot add comments to this post; it may be locked, deleted, or frozen". (I also got "Are you sure you want to add another answer?" once when trying at the top level.)
  2. Still, this is a game-changer and the effort is really appreciated
2
  • 2
    #1 doesn't have anything to do with this change. It always behaved like that. #2 isn't an answer, you can upvote the OP for that. Commented Nov 17, 2025 at 8:22
  • 1
    @Cerbrus: Regarding #1, it is unclear what you mean by "it". Regarding #2, I already voted for the OP, and the "question" here is not actually a question, but an announcement combined with a request for feedback. So these pseudo-answers are replies which provide such feedback. Commented Nov 18, 2025 at 4:36
-9

If a comment is deleted, its replies still appear (are not deleted).

In my opinion, deleting threaded replies together with original comment is the most important use case of this "threaded replies" feature. It's unfortunate it doesn't work.


Example: https://stackoverflow.com/a/79709059/509868

Here is how it looks to me right now:

deleted comment with reply

6
  • 8
    Users should have no control over the visibility of other user's comments. So if user A deleted the top comment of a thread, comments replying to that from users B, C and D shouldn't be deleted as well. Commented Jul 22, 2025 at 13:38
  • 3
    I disagree; I think it's fine if a user has some control over others' comments. Comments are not important contributions, so it seems fine (to me) if user A affects user B. If user B wants to save his comment forever, he shouldn't post it as an answer to user A's comment in the first place. So from the "abuse" standpoint it looks not too dangerous. And from the "moderation" standpoint it looks very useful. Commented Jul 22, 2025 at 13:56
  • 1
    While I don't like the idea of mass deleting "threads", I also hate seeing the [deleted] comments in those threads. Well, I guess I dislike most of how this implementation is working out. Commented Jul 22, 2025 at 13:58
  • 6
    @anatolyg so, if I make a factually incorrect statement, another user replies correcting that, I can just delete and re-post my factually incorrect statement, to get rid of the correction. Allowing users to delete other user's comments like that is extremely abusable. Moderation can just select multiple comments to delete, any way. Commented Jul 22, 2025 at 14:47
  • 1
    I don't think we should delete the comments but the way it looks right now is not ideal. I would've wanted the remaining comments to get prepended by @original commenter but I won't get that in million years. I know that. Commented Sep 2, 2025 at 1:14
  • @anatolyg: The example you refer to has no non-hidden comment (anymore, I guess). Commented Nov 12, 2025 at 22:07

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.