ddd-forum icon indicating copy to clipboard operation
ddd-forum copied to clipboard

Set max nesting distance on threads

Open stemmlerjs opened this issue 6 years ago • 1 comments

Currently, if we have a thread with a lot of comments nested in on it, the nesting will continue and continue to push further to the right.

Hypothetically, it could get to the point where nested threads are completely unreadable because they're so squished to the right.

We should have a max nesting distance.

There's a recursive function responsible for the nesting, but we should pass in the current index in order to prevent from nesting any further.

Maybe 5 or 6 layers deep.

stemmlerjs avatar Oct 15 '19 20:10 stemmlerjs

Is this a change we want to implement on the domain side in the backend or something we want to implement on the frontend (visually while the post still having a very large nesting)?

aashir-khan avatar May 17 '21 23:05 aashir-khan