Repository navigation
Add Group Visits pill to Creator Stats - #437
Open
KyoMarketing wants to merge 1 commit into
Open
KyoMarketing wants to merge 1 commit into
KyoMarketing wants to merge 1 commit into
Conversation
Shows the combined visits of experiences in communities owned by the user, with a child setting to toggle it.
Author
Contributor
|
Too much butter, wrong pan used. Didn't cook the steak well enough, poor choice of toppings. You should also never smack a steak like that. |
Ok Gordon Ramsay |
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.

What it does
Adds a Group Visits pill to Creator Stats on user profiles. It shows the combined visits of all public experiences in communities owned by the user, next to the existing CCU / Visits / Members pills, using the same pill style.
It can be toggled with a new Group Visits child setting under Creator Stats (on by default). When it's off, the group visits aren't fetched at all.
Why
Creator Stats already shows the members of owned communities, but not how much their games are played. Group-owned games are often where most of a creator's visits are.
Changes
creatorStats.js: fetches visits for owned communities and renders the new pillplacevisits.js: exported the existingfetchTotalVisitsso it's reused instead of duplicatedsettingConfig.js: newcreatorStatsGroupVisitsEnabledchild settingen.json/fr.json: new stringsScreenshots