ddd-forum
ddd-forum copied to clipboard
Set max nesting distance on threads
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.
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)?