hacksquad-website icon indicating copy to clipboard operation
hacksquad-website copied to clipboard

🚀 Feature: Pagination to LeaderBoard

Open programerr01 opened this issue 1 year ago • 4 comments

🔖 Feature description

As more and more teams are created, it becomes harder to navigate around leaderboard page. The solution to it would be to add pagination such that let say only 20 teams are shown in a single page.

🎤 Why is this feature needed ?

improves useability of the site

✌️ How do you aim to achieve this?

divide the teams into batches and only current batch, pagination can be done with having a variable that stores offset

🔄️ Additional Information

No response

👀 Have you spent some time to check if this feature request has been raised before?

  • [X] I checked and didn't find similar issue

Are you willing to submit PR?

Yes I am willing to submit a PR!

programerr01 avatar Sep 20 '23 15:09 programerr01

Please elaborate with some visuals.

theavitw avatar Sep 26 '23 06:09 theavitw

in leaderboard page, we would only show certain number of teams and rest would be shown on the next page of leaderboard. image

programerr01 avatar Sep 26 '23 10:09 programerr01

So, it is done or not?

theavitw avatar Sep 27 '23 17:09 theavitw

not implemented yet, i can work on it

programerr01 avatar Oct 01 '23 05:10 programerr01