Not that I am aware of, but I think it probably makes sense to have more consistency in the styling there.
Sure, I can add some better flexibility here.
I have a huge update to this component that’s been in the works, but I’ve not had the time to finish it. If an opportunity doesn’t open up soon, I’ll try to get these quick fixes in at the very least.
@tshenry, I have just installed the plugin, thank you for providing it! But it’s not correctly showing votes in the main page, do you have any idea why this might be happening? See the screenshot below.
Hmm, I’m not immediately sure based on your screenshot. I just checked and the component is working fine on my site. Based on the vote count box displaying at all, I’m pretty sure you had refreshed the page and enabled voting in that category before that screenshot was taken.
A few questions that might help:
What version of Discourse you are running?
Are you running any third-party plugins?
When you open your browser’s console, do you see any errors?
We’ve just noticed that the boxes with the number of votes have stopped showing. We’ve also recently upgraded to Discourse 2.9.0.beta8 (89d43235c4) which might be related?
Thanks for your patience @Luke_Cousins! Everything should be fixed up now.
Note to everyone that uses this component – you will likely need to re-add categories to the voting categories theme setting. Unfortunately that is the cost of improving the setting to use the new category picker.
There are some surprise new settings that I added (default off) that hopefully some of you will find useful. I’ll announce them in more detail and update the OP at some point soon.
Sorry, for the delay getting back to you @Taylor, I have been away.
This update is excellent, thank you! Being able to vote directly from the list is a great improvement. The only issue I see now is that the vote button is off-centre versus the number of votes. Does anyone else have this issue?
Thanks @Taylor for those fixes, much appreciated and I can confirm both work for us
@icaria36 We do also have this issue, but you can fix it by creating your own Theme Component and adding this CSS. There’s probably a better solution (and of course a fix in the actual package), but this did the trick for us for now
If the category settings are set to Default List Filter: all topics, everything is fine. However, if this setting is set to no subcategories, then the compoennt doesn’t render when clicking to the category. Once there, if you reload, then and only then it will render.
I want to ask about showing “vote-count-before-title” on mobile interface, can you add this option? I really like how to display listing or discus on product page, hope this can inspire you to develop theme-component