BioDrop icon indicating copy to clipboard operation
BioDrop copied to clipboard

[FEATURE] Popular profile page to show random users at the top

Open eddiejaoude opened this issue 2 years ago • 9 comments

Description

Maybe select 2 random users to appear at the top of the popular profile page to help create awareness of profiles

Screenshots

No response

Additional information

No response

eddiejaoude avatar Dec 31 '22 22:12 eddiejaoude

It's great having you contribute to this project

Welcome to the community :nerd_face:

If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our Discord chat and our GitHub Organisation - we help and encourage each other to contribute to open source little and often 🤓 . Any questions let us know.

github-actions[bot] avatar Dec 31 '22 22:12 github-actions[bot]

How would the random users be selected?

thevinitgupta avatar Jan 01 '23 15:01 thevinitgupta

What do you mean? It will be selected at random from the list of users in the database

eddiejaoude avatar Jan 01 '23 15:01 eddiejaoude

I wanted to know if the selection will be completely random or any fixed algorithm to select.

thevinitgupta avatar Jan 01 '23 15:01 thevinitgupta

Let's keep it simple and make it completely random

eddiejaoude avatar Jan 01 '23 15:01 eddiejaoude

@eddiejaoude can we make a button to switch between popular/featured profiles and random/new users by default we can show new/random users also by this so we don't have to make a separate API call for just 2-3 user :)

ManishBisht777 avatar Jan 01 '23 16:01 ManishBisht777

I think as we have small cards, having 2 sections on a single page would be better for now - the API calls are done on the server side I think

eddiejaoude avatar Jan 01 '23 18:01 eddiejaoude

@ManishBisht777 there is still only 1 API call, as the end point is now discover not popular, so it will return all the required data 👍

eddiejaoude avatar Jan 07 '23 08:01 eddiejaoude

@ManishBisht777 there is still only 1 API call, as the end point is now discover not popular, so it will return all the required data +1

That's nice

ManishBisht777 avatar Jan 07 '23 10:01 ManishBisht777