BioDrop icon indicating copy to clipboard operation
BioDrop copied to clipboard

Add Schema and code for storing daily view on user profiles

Open shyam0705 opened this issue 3 years ago • 3 comments

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

shyam0705 avatar Jan 05 '23 09:01 shyam0705

@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:-

image

Database:-

image

I don't know why one test is failing here when I tested locally, that test is passing correctly.

image

shyam0705 avatar Jan 07 '23 09:01 shyam0705

I think this is a flakey test, let me take a look

eddiejaoude avatar Jan 07 '23 18:01 eddiejaoude

Yep it is a flakey test, I re-ran it and it passed. I will review your PR tomorrow, thank you 👍

eddiejaoude avatar Jan 07 '23 18:01 eddiejaoude