BioDrop
BioDrop copied to clipboard
Add Schema and code for storing daily view on user profiles
Fixes issue #2582
Changes proposed
Added Schema and code for storing daily views on user profiles and added separate section for showing the most popular profiles of the last 28 days.
Check List (Check all the applicable boxes)
- [x] My code follows the code style of this project.
- [ ] My change requires changes to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] All new and existing tests passed.
- [x] This PR does not contain plagiarized content.
- [x] The title of my pull request is a short description of the requested changes.
Screenshots
Note to reviewers
@eddiejaoude I have simplified the schema and added a section showing popular profiles in last 28 days, and the project is running fine locally.
UI:-
Database:-
I don't know why one test is failing here when I tested locally, that test is passing correctly.
I think this is a flakey test, let me take a look
Yep it is a flakey test, I re-ran it and it passed. I will review your PR tomorrow, thank you 👍