openlibrary
openlibrary copied to clipboard
Add Yearly Reading Goals to /stats
Describe the problem that you'd like solved
Adding Yearly Reading Goals to /stats
select count(*) from yearly_reading_goals
See: https://github.com/internetarchive/openlibrary/blob/3b1d509a8a9b4b5c22095664e169950a34cea8b6/openlibrary/plugins/admin/code.py#L564-L607 https://github.com/internetarchive/openlibrary/blob/3b1d509a8a9b4b5c22095664e169950a34cea8b6/openlibrary/plugins/admin/code.py#L465-L489 https://github.com/internetarchive/openlibrary/blob/3b1d509a8a9b4b5c22095664e169950a34cea8b6/openlibrary/views/loanstats.py#L129-L135
A function needs to be added to https://github.com/internetarchive/openlibrary/blob/3b1d509a8a9b4b5c22095664e169950a34cea8b6/openlibrary/core/bookshelves_events.py to allow for reading_log_counts similar to https://github.com/internetarchive/openlibrary/blob/3b1d509a8a9b4b5c22095664e169950a34cea8b6/openlibrary/core/bookshelves.py#L46-L74.
Proposal & Constraints
Additional context
Stakeholders
Do you still need help with this? Could I collaborate on it?
Hi, @Blueclaus13. I am just another volunteer, but I can see you have been looking hard for an issue. This one seems pretty self-contained, it hasn't been done yet, and it doesn't appear as if anyone else is working on it. If you haven't selected another issue, this might be a good one to work on.
If you decide to give it a go, just mention it here and even if it's not assigned to you immediately, it's unlikely anyone else will work on it. Please also ask any questions you have and we'll do our best to help.
Hey @Blueclaus13 and @scottbarnes. I apologize for jumping in taking a look at this issue without discussing it with you first. Let me know if you'd like to collaborate on it going forward.
I'll keep it in mind, I really need some advice
Obtener Outlook para Androidhttps://aka.ms/AAb9ysg
From: Claudia Madrid @.> Sent: Monday, February 13, 2023 4:15:12 PM To: internetarchive/openlibrary @.> Cc: Subscribed @.***> Subject: Re: [internetarchive/openlibrary] Add Yearly Reading Goals to /stats (Issue #7352)
Do you still need help with this? Could I collaborate on it?
— Reply to this email directly, view it on GitHubhttps://github.com/internetarchive/openlibrary/issues/7352#issuecomment-1428842435, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3KAU4EF5HM57PH4YYAQUKTWXK6ABANCNFSM6AAAAAATOHXJNQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Don't worry, I hadn't started this issue because I had other assigned.
I want to to work on this issue and request to be assigned with this issue
Hey, I am new to the repo but I would like to work on this!
Thanks @kevinc16! The links in the original post have been updated as they were out-of-date. Let me know if you have any questions.