Repository navigation
Show total followers on user profiles - #8006
Closed
GodlyCow203 wants to merge 1 commit into
Closed
GodlyCow203 wants to merge 1 commit into
GodlyCow203 wants to merge 1 commit into
Conversation
Adds a followers stat next to the project count on user profiles, summing the followers across all of the user's projects (same way the downloads total is calculated). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
Pull request changelogAppAddedChangedDeprecatedRemovedFixedSecurityWebsiteAddedChangedDeprecatedRemovedFixedSecurityHostingAddedChangedDeprecatedRemovedFixedSecurity |
|
Did you really have to hide that you used Claude |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Right now a user profile shows the project count, total downloads, and join date up top, but there's no quick way to see how much of a following someone's projects have. This adds a followers count right next to the project count so you can see it at a glance.
Users themselves don't have followers on Modrinth, only projects do, so the number is the sum of followers across all of the user's projects. That's the same approach the existing downloads total already uses. It gets a heart icon, and hovering shows the exact number.
The change is in the shared
@modrinth/uipackage, so it shows up on both the website and the desktop app profile pages.Added an English string for the follower/followers label. Other locales will fall back to English until translations land.
Tested locally against the live API, eg Prospector's profile shows 28.4K followers which matches the sum from the projects endpoint.