Details
-
Suggestion
-
Resolution: Won't Fix
Description
Having longer discussions in PRs is really a pain right now mostly because of nesting level. Every time one replies, it creates new nesting level. So having a discussion with a single person leads to very deep levels of nesting.
One option right now to avoid it is to always reply to parent comment instead of comment one is replying to but that doesn't feel right.
Instead would be nice if nesting would be create only if there is more than 1 reply to parent.
For example
- Comment 1
-
- Comment 2 (Reply to comment 1)
-
-
- Comment 3 (Reply to comment 2)
-
-
-
-
- Comment 4 (Reply to comment 3)
-
-
would turn to
- Comment 1
-
- Comment 2 (Reply to comment 1)
- Comment 3 (Reply to comment 2)
- Comment 4 (Reply to comment 3)
If someone would make another reply to Comment 1, it would turn to this:
- Comment 1
-
- Comment 2 (Reply to comment 1)
-
-
- Comment 3 (Reply to comment 2)
- Comment 4 (Reply to comment 3)
- Comment 5 (Reply to comment 1)
-
Since "Comment 1" has 2 replies, "Comment 2" replies are nested and to indicate that it's part "Comment 2" thread, instead of being on same level as "Comment 5".
Mind you that this does not imply any change in data structure and is purely UI optimisation for nested conversations.