Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable sorting of Topics by popularity #62

Open
twMat opened this issue Aug 7, 2024 · 0 comments
Open

Enable sorting of Topics by popularity #62

twMat opened this issue Aug 7, 2024 · 0 comments

Comments

@twMat
Copy link
Contributor

twMat commented Aug 7, 2024

The Topics list is overwhelmingly long with 375 entries.

I wish the list was presented, or at least optionally so, in order of "importance", i.e by how many entries there are for the topic. Here is a code to do this:

<$list filter="""[tag[$:/tags/Link]tags[]] -$:/tags/Link 
:map[tagging<currentTiddler>count[]addsuffix[¤]addsuffix<currentTiddler>] +[!sortan[]] 
:map[<currentTiddler>split[¤]rest[]]""">

</$list>

Side note about why the OP is more than what it seems at a first glance

The OP should be useful on its own - but it would also serve as a first useful step to a user friendlier sorting. A future step might be to try to classify the existing topics into something similar to what the Chinese Plugin Library has, i.e

Beautify
Developing
Fun
Functional
Language
Showcase
Visualization

I'm not sure who administers links.tiddlywiki.com -( @saqimtiaz ? @Jermolene ? ) - but I could take it upon myself to attempt to do this classification if the intention was to actually use it (on the premise that it is good enough). It is of course impossible to know what the original "tagger" fully intended with a tag, and the same tag for another person might mean something else, but we could be open with that the classification is not guaranteed for exactly this reason. I'm certain it would be more useful than 375 alpha listed topics - but of course, the two ideas are not mutually exclusive.

Classification of the topics might come to serve another purpose: It might make new contributors gravitate to use the same set of topic tags. It is likely that one person tags design when another person means the same thing but tags layout only because they were not exposed to a small set of "proposed tags". Currently, even very similar topics like links and linking are two distinct topics when they probably should be the same more important and findable topic.

[end of "side note"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant