Discourse Upvotes

:warning: This plugin is still in active development and may change frequently

:discourse2: Summary Discourse Upvotes allows the creation of topics in the Upvote format.
:hammer_and_wrench: Repository Link https://github.com/discourse/discourse-upvotes
:open_book: Install Guide How to install plugins in Discourse

:information_source: This plugin is undergoing a name-change. Please bear with us as the rebranding travels through to the UI and guide. :+1:

Features

To create a new Q&A topic toggle options in composer and select “Toggle Q&A”:

Screen Shot 2022-05-23 at 12.22.45

Here is an example of Q&A topic in action:

There is a filter to sort answers by votes or by activity.

Configuration

The plugin is enabled by default. The available settings are:

  • Number of minutes users are allowed to undo votes in Q&A topics (defaults to 10).
  • Number of comments allowed on each question or answer (defaults to 10).

CHANGELOG

TODO

  • Support a single mention in comments.

EXTRAS

36 Likes

2 posts were split to a new topic: ‘Add comment’ restrictions being applied to wrong user

Is it possible to convert an existing topic to QA format topic?

2 Likes

I want to use this for… our screenshots threads. Just because of these nice and compact second-level comments.

I can see how great it would work for us, maybe just need to tweak some texts and styles. But what’s stopping me is the forced sorting by votes of the first-level answers.

Will it be possible to add an option to disable sorting/voting of first level answers? Or to disable it fully.

We can still use sorting of second level comments by “vote” in this case, just to push good reactions higher.

Or, alternatively, to add option for default sorting. So I can set it to “activity” and hide buttons with css.


Update:

I can see sorting not working for second level comments anyway, so question is just about default sorting by “votes” and can we disable it.

Some bugs we found (should I report it here or there is a better place?):

  1. If user comment answer while I’m in topic, this comment gest “invalid data”:
<span class="qa-comment-info-created"><span title="Invalid date" data-time="NaN" data-format="tiny" class="relative-date">Invalid date</span></span>
  1. You can see comments from “ignored” users
  2. You can see “Reply” button on your new answers

Update 2:

Also, how we can moderate it? Users can’t flag comments…

It would be great to enable the author of the qa/topic to identify a single answer as the accepted/best answer. Then that is always at the top regardless of sort.

And author, who didn’t know in the first place, is right person to rate answers exacly why :wink:

But then one should use solved plugin.

It looks like we do not get email-notified of comments. It is the intended behavior? Is there a way to enable email notifications on comments?

What’s the difference between a like and an upvote?

1 Like

We already have Discourse Voting, I have to say, if you’re renaming the Question Answer plugin to Discourse Upvotes, it’s going to be absolutely impossible to remember which name refers to which plugin. That’ll negatively impact just about every discussion about either of them. :neutral_face:

 
edit: What do you think of Discourse Answers ? The other plugin was the first to the near-identical name, and that plugin is all about being able to, well, vote on things. This one feels like it’s primarily about giving answers rather than giving votes. If one should be renamed (and I think one should), I feel like it’s this one.

 
edit 2: Another reason this name sucks is that the two plugins with near-identical names feel like they’ve switched names. “Upvotes” allows downvotes; “Voting” does not. :confused:

Just to be clear: I’m not suggesting that Upvotes and Voting switch names as taking an existing plugin’s name and giving it to another plugin would be massively confusing. I just think this one needs to be called, well, just about anything else.

4 Likes

Yep, we’re in a bit of a pickle with naming right now.

Please note:

We considered “answers” but we’ve had folks request a plugin like this also for doing things like AMAs within a topic (where we expect the replies being upvoted are really “questions”).

In any case, we’re sorting through the best path forward here, taking into consideration both the conflicting names and the overlapping functionality of existing plugins.

3 Likes

Thank you for the response. :slight_smile:

It’s not my call, but is that allowing perfect to be the enemy of good? My understanding is that AMAs began on Reddit @ https://www.reddit.com/r/AmA/ where they use comment sorting called Q&A. If it’s already the established terminology at the source, surely it’s ‘good enough’ elsewhere?

If your argument is that the AMA folks might find a name like “Answers”, “Q&A”, or the like confusing (if not I didn’t understand your point, I guess, sorry) does that mean you’re implicitly arguing that they would find the name Upvotes to be more intuitive? I really struggle to believe that’s correct. It certainly wouldn’t be amongst Redditors, which leaves me wondering who it is you’re catering towards.

1 Like

In an ideal world the two would be merged, no?

You mean Voting and this one?

I feel like they’ve two fairly different goals in mind. Are you thinking a merged plugin would allow you to vote on threads à la posts in this plugin, or retain Voting’s existing functionality?

I would expect this one to allow you to vote with either no restriction at all, or very generous limits.

That you’ve a limited number of votes in Voting and need to think carefully about where to spend them gives rise to an experience I’d be sorry to lose. As a former Community Manager in the games industry, time was sometimes a zero-sum game for the team, and having our Feedback and Suggestions category use Voting gave the community a chance to help shape our priorities. Whereas on Reddit the community might upvote every suggestion - “we might as well have this, even if I don’t personally want or need it” - with this plugin, people could advocate for some work being prioritised.

 
tl;dr: One of these reminds me of Stack Overflow or Reddit. The other, UserVoice.

1 Like