Add Follow counts to /stats page #9284
Labels
Good First Issue
Easy issue. Good for newcomers. [managed]
Lead: @mekarpeles
Issues overseen by Mek (Staff: Program Lead) [managed]
Priority: 3
Issues that we can consider at our leisure. [managed]
Theme: Analytics
Regarding metrics, stats, and analytics
Theme: My Books
Milestone
We want to add Follow stats to the /stats dashboard
The end goal will look something like:
We can follow the example of #6839, updating
In order to get the total count of patrons who are following others, I believe we can adapt and use https://github.com/internetarchive/openlibrary/blob/master/openlibrary/core/follows.py#L129 to be able to limit per time range of a number of days, similar to https://github.com/internetarchive/openlibrary/blob/master/openlibrary/core/ratings.py#L27-L39
The text was updated successfully, but these errors were encountered: