Introducing nested replies

On my forum, I don’t see a “view as flat” option like in the example screenshot.

For me, I need flat as the global default, with nested being an optional view that users can use when they want to, with flat always being readily available.

As long as it’s a “view as nested” button which people can toggle back off, this would be great. A per-user setting to switch to nested as the default would also be great as long as they can switch individual topics or all topics back to flat at will.

Without adequate controls to toggle between views, I’ll have to stick to flat.

2 Likes

I actually completely removed the view as flat option. It was around for our internal testing so we could compare flat vs nested view easily. We saw no value in keep it around so it’s now gone.

3 Likes

I might be imagining this but when the nested replies are selected the width appears to narrow on a full screen browser :

It doesnt appear to be related to Modernize Foundation theme as I have disabled and re-enabled this

1 Like

You are not imagining things.

The width is larger because it is taking up more room due to the fact that the timeline has been removed.

2 Likes

Of course! That makes so much sense! I just couldnt put my finger on what had changed!

2 Likes

it’s finally supported​:clap:

Reddit-style UI is good, but I see another design like:

- A: ...
    - B: ...
    - C → B: ...
    - D → C: ...

In China, this pattern is used by almost all forums / social media platforms. It also collapses all nested posts except for the first one. I think it can avoid distracting and can be an option

1 Like

This can be achieved by setting Nested replies max depth lower (default is 10) and enabling Nested replies cap nesting depth. Give that a try

3 Likes

Hello,
I find this feature really great, greatly improving the readability of a conversation.
However, though I may have missed a setting, I have two remarks:

  • When a reply is moderated, a high-level user (moderator, admin, etc.) no longer sees the moderated messages (automatically or not) grayed out. They appear normally. The grayed-out mode for these messages is a real plus for quickly identifying them.

  • When I reply to a conversation, a filter hides the formatting bar of the reply, also hiding the option to attach an image, for example:

1 Like

Thanks for the reports. Got a PR to fix the first issue. I believe the second issue is already fixed if you rebuild.

2 Likes

This topic should be nested.

4 Likes

Hey Lilly - totally random question - what Theme are you using in your nested reply screen shot above (its more I like the aesthetics so want to d something similar).

Thanks

i think it’s original foundation with wcag palette

Please keep it optional, always!

I just merged a commit that changes the default values for Nested Replies. The changes are (old value on the left, new on the right):

Nested replies max depth: 10 → 3
Nested replies cap nesting depth: false → true

If you liked the previous default, simply deploy and change them back to 10 and false :slight_smile:

5 Likes

@markvanlan what do you think about the idea of making those settings per-category?

I have in mind that folks might want to configure them in different ways for different use cases (e.g. max: 1, cap: true for more of a “post voting” use case, or max: 10, cap: false for more of a free form high traffic commenting use case)

Is that something you foresee needing as well? Or are you more skeptical we need anything more than site settings here?

3 Likes

I think your instinct is absolutely right, and that will be the eventual reality. There are so many use cases: voting, AMAs, “dairy diary style”, to name a few. Each of these will likely need their own values for these settings in addition to new settings that don’t exist yet.

It would be technically easy to implement per-category settings for these. I’d like to make sure it’s easy for admin to configure this in a way that is not overwhelming.

Before that, the glaring hole is that there is no current way to backfill topics in a specific category to all be nested (in the UI that is, of course it can be done with direct server access). When you enable nesting for a category it only affects new topics, not existing ones.

2 Likes

Mooing Cow with a Wig

1 Like

At first I thought it was amusing that this announcement wasn’t in nested-reply format; then realized you weren’t ready to reformat the whole News and Events > Announcements category. :slightly_smiling_face:

Here’s some resources I collected when new to Discourse and understanding the flat model:
Jeff’s canonical take:

A nicely-done outside note:

Why Discourse uses “Topics” rather than “Threads” (from 2017, before `nested-replies’ was invented.

and for a deeper dive into threads:

I really agreed with Kris’ @awesomerobot defense of the flat model as fitting CDCK’s community building and engagement model. While we may adopt nested-replies for some admin categories–useful for issue tracking–I’ll be slow to implement it for general discussion categories.

Lastly, while I may implement nested-replies, I will sorely miss infinite scrolling. I have a nice mouse with a handy free-spinning scroll wheel, but nothing beats grabbing the infinite scroll bar slider and quickly moving through a topic.

3 Likes