Can we add a "voted" tab to the categories with feature voting

AI-generated summary

In a discussion about adding a “voted” tab to categories with feature voting, sam initially emphasized the need to display top-voted items in a sorted list before implementing a dedicated tab. joebuhlig asked whether this list should include all topics or only active ones. sam clarified that only “open” topics should be included, as closed topics are less relevant for voting. cpradio suggested using the ?status=closed query string to view closed topics if needed. joebuhlig further proposed using vote counts as a sorting mechanism alongside status filters. sam noted the task was marked as #planned but required internal extensibility updates, expected within a week. Finally, sam announced the feature is complete and deployed soon, citing a commit. A caveat was added: enabling voting on parent categories with non-voting children may cause filtering issues, so it is recommended to enable voting only on categories without children.

Yeah, not sure what to do there, but one thing that is way more important first is to see all the top voted stuff in a list. Would sort that out first.

6 curtidas

Makes sense. Are you thinking that would show active topics only or all?

I think only “open” topics cause closed ones really should be closed for voting and make less of a diff.

3 curtidas

Plus if you wanted to see closed on that view, couldn’t you potentially use the querystring of ?status=closed ?

I was debating the addition of votes as a way to sort and then you could use that as well as status as querystrings to get whatever you want.

This is planned but it is going to require some amendments to the internal extensibility mechanisms.

Should be done in the next week or so.

1 curtida

This is now completed per:

https://github.com/discourse/discourse-feature-voting/commit/bddea3ce7c5b177af408194832ce4b0086fd74e2

Should be deployed on meta soon.

Caveat that is worth mentioning.

If you define a “top level” category to have “voting” and its “children” categories do not have voting, some of the advanced filtering (only category etc) can be a bit strange.

Current recommendation is only to enable voting on categories that have no children.

4 curtidas