This was occurring on all topics, not just QnA ones. We have a ‘Questions’ category when all topics are QnA, and also have the ‘question’ tag to make a topic QnA.
The behavior is slightly different now though, before the sort order they were given fixed them at the bottom of the list, now they are still out of order, but newer posts are below them.
One of our clients experienced this issue, so I was able to take a closer look at a dataset where it was occuring. I believe one issue here might be the when topics where a QA tag is removed are handled.
I’ve started a PR that addresses this issue, which @mbcahyono and I will work on
./launcher enter app
rails c
topic = Topic.find(<topic_id>)
topic.posts.each { |p| p.update_columns(sort_order: p.post_number) }
If anyone needs any more hands on help addressing this issue on their server please reach out to me privately and I can help you address it (no charge).
How do you remove your vote? In options, there is a configuration of how much time you have to undo the vote, but I don’t see a way how to actually do that.
up icon to vote is not respecting dark theme (see screenshot)
placement of my flair on comments on answers is off (see screenshot)
styling of the info button is not bad but it doesn’t really match the rest of the page and takes up some horizontal space. Maybe a different approach, e.g. a small text link in the top right corner or next to the category and tag would work better?
“Undo your upvote” link is not obviously a link
qa trust level vote limits admin setting is deselected by default, but I still get an error “You cannot exceed the number of votes for your trust level” which doesn’t maek sense?
Yes there seems to be a conflict between this plugin and the Solved Plugin, i.e. the “Solution” element in your screenshot. This plugin does not yet offiically support the Solved Plugin.
Yes, you just need to disable the plugin in a category in which its enabled and the posts will go back to their normal order.
Thank you for this plugin! One question, what happens to the content if the plugin is removed? It is clear that the votes and the special sorting of replies will be gone, but what would happen to the “replies” and “comments” for each reply? Will they stay are will they gone?
My reason to ask is that we have started using this plugin to build a collaborative user guide. Having comments for each reply is very convenient. The votes are promising too, but what if they come with unintended consequences and we want to get rid of them? It would be a pity to lose the guide because we want to remove the votes.
Worst case scenario, I guess we could remove the vote UI via CSS, keeping the plugin there.
Comments and answers are just posts showing up in a different order. They will be retained.
If you want to uninstall the plugin just uncheck “Make all topics in this category QnA” in the category settings. This will revert all of the posts to their original order.
For example I just reverted the QnA category on try.thepavilion.io to its standard order (i.e. chronological (will change in back in 24 hours).
Ok, knowing this is encouraging. We will try the plugin, and if the votes don’t fulfill their mission then we will have two options to remove them: the light one via CSS and the heavy one disabling the plugin. No content lost. Great adaptation of Discourse core components!
By the way, just in case you are curious, we are using your plugin to create a collaborative video guide of a product, where people are invited to link to videos that people have created about aspects of this product. We have customized a couple of labels to make it work. See Bitwig Video Guide - Bitwish (we have just started, so it is mostly empty; also, most subcategories are muted and this is why it looks emptier for anonymous users).