This project is read-only.

The comment input control shouldn't display until someone clicks "Add Comment"


With the comment text box displayed as it is now, you can't even see the first answer "above the fold". We need to tighten the layout so that you can see at least the beginnings of the answers and comments is the biggest offender in spacing things out.


efficiondave wrote Nov 13, 2014 at 5:55 PM

Seems the easiest way to do this is just to start the Add Comment panel closed but I'm not finding an easy way to do that.

efficiondave wrote Nov 13, 2014 at 8:48 PM

This isn't ideal but I was able to achieve this by having jQuery click the section to close it after window load.
<script type="text/javascript">
$(window).load(function () {
$(".dnnFormSectionHead a[id^='comment-postid-']").click();

jashan wrote Jan 1, 2015 at 4:51 PM

I agree - but see also my comment to the fork:

I think there's a little more to this than just closing those sections: We want people to use the comments for comments. One problem with a lot of these Q&A-forums is that people answer instead of making comments when they need clarification or want to make a comment.

So IMHO, making comments must not be harder than posting answers. And the "Your Answer" Textbox directly on screen looks quite terrible IMHO ... so I think the best solution would really be to have links (or buttons) for making comments and posting answers.

That way, a user would have to click either "comment on this ..." or "answer question" to start commenting or answering. By the precise wording of those links ("answer question"), and making both equally easy to find, with "comment on ..." and "answer question" being rather descriptive, users should be guided quite well to do the right thing. In other words, there would be several different texts necessary:
  • Answer Question
  • Add a Comment to this Question
  • Add a Comment to this Answer
  • Reply to Comment
Each would immediately open the required editor.