-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
[FEATURE] Display most popular icons in Search for Icons page #8421 #9068
Conversation
Thank you, please fix failing test on the GitHub action |
I’ll look further into it and fix. |
@eddiejaoude I'll need help figuring out this failed test. I can't seem to wrap my head around it |
@ZeeMonk-pixel As stated here, the test is failing because the expected result count does not match. The test is doing:
Should be fine to update the tests accordingly, to expect at least 7 results (see screenshot below). https://github.com/ZeeMonk-pixel/BioDrop/blob/main/tests/icon.spec.js#L23
|
Thank you for more insight to this, I'll look into it and complete this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution. But this does not solve the issue.
We can merge this, but we will leave the issue open and unassign it, because the issue is for making this list of icons dynamic out of the database and moving away from having it hardcoded.
Okay... so it's not just getting the popular ones from the database now but having the popular ones change as it changes on the database overtime? |
Yes sorry if that was not clear, we are improving our issue descriptions |
okay. so if I'm getting this right... that means there'll be a getServerSideProps running the query to the database on every visit to the page? |
Fixes Issue
Related to #8421
Changes proposed
Show the 20 most popular icons on the page before search.
Check List (Check all the applicable boxes)
Screenshots
Note to reviewers