Download & Extend

Hide comment form below question

Project:Drupal Commons
Version:7.x-3.x-dev
Component:Q+A (Commons Answers)
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

We can either disable comments on questions or require the form to be on another page.

Screenshot_2_8_13_7_21_PM.png

AttachmentSize
Screenshot_2_8_13_7_21_PM.png47.88 KB

Comments

#1

Rather than hiding or moving the comment form, how about having the form collapsed when the page initially loads? On stackoverflow.com, a small "add comment" link appears below questions. Clicking on that link causes the comment form to appear.

#2

I agree with Matt V. -- should be a expandable pane/fieldset that allows you to comment. I also don't like how big the 'Add New Comment' title is, but I digress.

with the comment box as big as it is, it took a while to figure out how to submit an answer. Opps!

#3

I also agree with Matt V. -- should be a expandable pane/fieldset that allows you to comment.

I also agree with japerry and do not like the font-size of 'Add New Comment'
-- the icon is only 24 height so the font-size and line-height should be around 26px (not 54px) to match. See attached image - looks better??

Edit - global.style.scss
line 3356
body.page-node h2 {
font-size: 26px;
font-weight: normal;
line-height: 26px;
}

AttachmentSize
comments.png 142.16 KB

#4

I agree. It needs to be collapsed by default. Answers are more important.

Here's one solution... By default, only show the comment link with # of comments next to it. When clicked it opens/expands to show all comments and comment form to add a new comment. Clicking comment button again, collapses. On activity pages, it could work the same way, but clicking the Comment button takes the user to the full post.

Another solution, disable for release 1. Answers are really the important thing here. If a question isn't clear, lack of answers might be a motivator to clarify the question. As a secondary feature, you could encourage participation by emailing Question creators (who's question had no answers) with strategies for forming better questions.

#5

Made some progress on this today, its still in need of love, but its not as atrocious as it used to be...
https://www.evernote.com/shard/s12/sh/11751d38-fc8f-4b1a-bf38-7490488ac3...

Theme Changes:
http://drupalcode.org/project/commons_origins.git/commit/c33a5e4

Q/A CT Changes:
http://drupalcode.org/project/commons_q_a.git/commit/533a836

I'm hoping we can have functionality similar to this:
http://math.stackexchange.com/questions/304052/bounds-for-int-x-0-infty-...

Where you can see that comments help enrich the question or answer, because it doesn't really make sense to get clarification in a question by 'answering' it.

#6

Status:active» needs work

Also, it might also be just me, but I don't like the white star indicating that its a 'featured' answer. At first glance it looks to me like a featured answer should have some fill in it. looking at the colour scheme, wouldn't it make more sense to be filled in Blue or Yellow? White seems to me that its not a featured answer, and it doesn't differentiate itself that much from the other answers.

#7

But thats not related to this issue. so nm ;-)

#8

I updated the invision prototype with the ability to see comments on a quesiton: http://invis.io/SZ4KJLM3

Before doing so though I did a little research on other sites and found that Questions.com, Yahoo Answers and Ask.com all do not allow comments on the original question. I would suggest we deprioritize this and focus on larger fish for the first major release.

#9

Priority:major» normal

@Noyz - Agreed.

I filed #1921498: Disable comments on question nodes, don't feature Answers by default for that work, and #1921502: Re-theme Up/down widget per updated designs for the updated widget. Moving priority here down to "normal" since this is not a release blocker.

#10

An example of a nice Q & A form I found online at Kahn Academy
https://www.khanacademy.org/humanities/art-history/d

Question and answer content types do not need titles! Very simple, has comment link too.

AttachmentSize
recent-questions-kahnAcademy.png 24.89 KB