Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Follow counts to /stats page #9284

Open
Tracked by #9281
mekarpeles opened this issue May 16, 2024 · 2 comments · May be fixed by #9355 or #9368
Open
Tracked by #9281

Add Follow counts to /stats page #9284

mekarpeles opened this issue May 16, 2024 · 2 comments · May be fixed by #9355 or #9368
Assignees
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

Comments

@mekarpeles
Copy link
Member

mekarpeles commented May 16, 2024

We want to add Follow stats to the /stats dashboard

The end goal will look something like:
Screenshot 2024-05-16 at 9 52 34 AM

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

@mekarpeles mekarpeles added Priority: 3 Issues that we can consider at our leisure. [managed] Good First Issue Easy issue. Good for newcomers. [managed] Lead: @mekarpeles Issues overseen by Mek (Staff: Program Lead) [managed] Theme: Analytics Regarding metrics, stats, and analytics Theme: My Books labels May 16, 2024
@mekarpeles mekarpeles added this to the Sprint 2024-06 milestone May 16, 2024
@Spedi
Copy link
Contributor

Spedi commented May 17, 2024

Hi there!
Can I work on this issue?

@github-actions github-actions bot added the Needs: Response Issues which require feedback from lead label May 18, 2024
@mekarpeles
Copy link
Member Author

Hi @Spedi, sure! Would be happy to support you on this issue.

@mekarpeles mekarpeles removed the Needs: Response Issues which require feedback from lead label May 18, 2024
anrawool added a commit to anrawool/openlibrary that referenced this issue May 29, 2024
@anrawool anrawool linked a pull request May 29, 2024 that will close this issue
@Spedi Spedi linked a pull request May 30, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
2 participants