@alex Have you considered adding a trending section to the side too? IMHO it might be better suited for the left than the right.
If you think it would clutter the UI you could make a tab for it next to the Notification section and give it its own page instead
@realcaseyrollins Yeah it’s a thing people ask for a lot, but nobody in Pleroma wants to do because Mastodon’s implementation caused a lot of problems.
I will probably add it at some point, with some configuration options. It will be hard though. There’s no way to query that data quickly, so we have to store a cache of all incoming tags and then sort them. Even Mastodon’s algorithm doesn’t order these tags properly, it has a minimum threshold (10 statuses) after which it takes the top 5 by order of insertion… so the most active hashtag might not even show up on the list.
@alex Interesting. I didn't know all of this.
I frankly believe that a single website to view trends, or perhaps work as an API, would be the best option. I feel like a script that reads all the toots in the timeline should be able to scan the hashtags and sort them fairly quickly. Right? Shouldn't be too hard to do in #JavaScript.
@alex Ahhh I see. I was thinking it should remake the list of hashtags every time it refreshes and only look at the posts from the past 48-72 hours...I'm not sure why it would be important to store hashtags that haven't been used in a month if the point is to see what's trending right at the moment.
@alex A friend of mine who's no longer on the fedi made a page like that, he gave me the code so I could look at it. It worked pretty well, there was even the potential to see the local trends of every single instance. The only issue is, it included bot posts.
Unfortunately the page isn't up anymore but I have the code still so I might be able to put it up somewhere when I get time
I think the #JavaScript code could even be used as an API if that would be preferable to having it built into every instance
@realcaseyrollins In theory this is what we want to happen, it’s just a slow operation. You can either run a background task to keep crunching it and update the cache automatically, or manipulate cached counter how Mastodon does it. There are pros and cons to each way but neither is ideal.