Hide Votes Left

:information_source: Summary Hides “votes left” line wherever voting is enabled
:hammer_and_wrench: Repository GitHub
:question: Install Guide How to install a theme or theme component
:open_book: New to Discourse Themes? Beginner’s guide to using Discourse Themes

Description

Where voting is enabled with “unlimited” votes (i.e, no strict allocation), it seems silly to say someone has 100,000 votes left. So let’s just hide it!

Screenshots

Before:

After:

לייק 1

Could there be a setting to show it again when the user’s votes are less than a certain number? Otherwise one could be down to 2 or 3 votes left but might not know it.

I’m not opposed to adding that logic, but IMO, if there is any chance they’ll realistically run out of votes, that should be known/visible from the get-go. This is intended to hide their comically large pool of votes because no “unlimited” alternative exists.

לייק 1

Some good news related to this! we very recently added a new site setting for topic voting called, Topic voting enable vote limits — when disabled this will remove the limits and you’ll no longer need to set high limits as a workaround.

Hiding the limits may still be useful in the case where you want some trust levels to have limits and some not to.

לייק 1

Somehow I completely missed that detail on the announcement :person_facepalming:. Looks like I’ll be switching our Ideas categories over to the new format!

I’ll retool this to account for those changes as well.

לייק 1

I am curious: how did you configure the topic voting alert votes left setting? Wouldn’t that work, for example, to only alert the user when there is only 1 vote left? In your example, that seems quite unlikely.
I know you’re planning to switch to unlimited votes, and that setting isn’t available there, but if, as Kris describes, you want to set a limit for certain trust levels, I wonder in what situation you’d need the component, because the setting doesn’t help.

לייק 1