superseriousbusiness / gotosocial

Fast, fun, small ActivityPub server.
https://docs.gotosocial.org
GNU Affero General Public License v3.0
3.68k stars 311 forks source link

[feature] Populate hashtag stats to track tag usage over time #3187

Open Jasdemi opened 1 month ago

Jasdemi commented 1 month ago

Describe the bug with a clear and concise description of what the bug is.

Apps such as Phanpy or Pachli show how often hashtags have been used when composing a new post. In GTS the count for all hashtags is 0.

What's your GoToSocial Version?

0.16.1-SNAPSHOT+git-f770051 🦥

GoToSocial Arch

arm64 Docker

What happened?

In GTS all hashtag count is 0. Screenshot_20240809-170738

What you expected to happen?

This is how it looks like using an mastodon.social account: Screenshot_20240809-170916

How to reproduce it?

With either https://phanpy.social/ or the Pachli app.

Anything else we need to know?

No response

tsmethurst commented 1 month ago

Right now we always just return an empty history array on a tag because we don't track "trend" stuff like that, so it makes sense that you see 0 usage for all hashtags. We could add hashtag history in future but it's probably going to be pretty low priority.

tsmethurst commented 1 month ago

Also since it was a conscious choice not to bother counting stuff + adding it to the history array, i'll change this to a feature request issue.

tsmethurst commented 1 month ago

Relevant link: https://docs.joinmastodon.org/entities/Tag/#history