# Threaded Topics

**URL:** https://meta.discourse.org/t/threaded-topics/258895
**Category:** Marketplace
**Created:** [March 21, 2023, 2:24pm UTC](https://meta.discourse.org/t/threaded-topics/258895 "2023-03-21T14:24:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![PeakProsperity](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@PeakProsperity](https://meta.discourse.org/u/PeakProsperity)
#### Post date: [March 21, 2023, 2:24pm UTC](https://meta.discourse.org/t/threaded-topics/258895/1 "2023-03-21T14:24:41Z")

</div>

We would like a solution that enables us to do the following:

- Always nest replies under their parent post (i.e. don’t have them appear under “view replies” AND later in the main chronology)
- Allow “view replies” to be expanded by default
- Allow up to max 4 levels of reply nesting (instead of only 1 as permitted by core Discourse)

The data already stores infinite levels of nesting via each post’s parent ID, but we need to be able to express this on the front-end.

We’re looking for somebody who can do this quickly. Please contact me for further details or if you think you can do this work. Thanks.

– Aaron

PS: I realize Discourse is somewhat philosophically opposed to threaded conversations, but we love everything else about Discourse and our community (and business owner) is demanding we have threading.

---

<div class="post-metadata">

### Author: ![saquetim](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saquetim/32/116400_2.png) [@saquetim](https://meta.discourse.org/u/saquetim)
#### Post date: [March 23, 2023, 1:49pm UTC](https://meta.discourse.org/t/threaded-topics/258895/4 "2023-03-23T13:49:06Z")

</div>

Hi @PeakProsperity,

Sorry to jump in on your marketplace topic, but I wanted to give you a heads-up that this may not be the best moment to start working on this.

We’re modernizing Discourse’s JavaScript codebase by replacing the widgets system with Glimmer components.

The post-stream is written using widgets, and we expect to start modernizing/rewriting it in the second semester.

Once that’s done, as the post-stream will be rewritten, any work you put on this now will need to be redone, or at the very least, heavily modified.

Hopefully, I have saved you some money. 😄

That said, about the project itself, nesting posts properly is a really large project to get done right.

In the frontend, you can get 90% of the job done relatively quickly, but as soon as you start using it, many things break, and the other 10% is really hard.

There is a lot of code in Discourse that expects the post to be displayed/read in a linear order.

There are also server-side implications that would need to be addressed, like how to keep track of unread posts, etc.

---

<div class="post-metadata">

### Author: ![PeakProsperity](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@PeakProsperity](https://meta.discourse.org/u/PeakProsperity)
#### Post date: [March 23, 2023, 2:21pm UTC](https://meta.discourse.org/t/threaded-topics/258895/5 "2023-03-23T14:21:08Z")

</div>

Thanks for the info!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [April 22, 2023, 2:29pm UTC](https://meta.discourse.org/t/threaded-topics/258895/7 "2023-04-22T14:29:36Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
