girlscript / gssoc-website-new

GSSoC'24 Official Website
https://gssoc.girlscript.tech
71 stars 74 forks source link

Making the pagination useful. #281

Closed partha120804 closed 2 days ago

partha120804 commented 1 week ago

We can add a copy of pagination on top of the table, so that you don't have to scroll down to change the page. we can also add a button to change how many contributors they want on a page ( currently it is fixed to 50). We can add a drop down for 25,50,100,200,500,1000. we can also make the bottom pagination bar automatically triggering "scroll to top" button.

I want to work under GSSOC24 to add this enhancement.

sanjay-kv commented 6 days ago

I think this will make some issue because we have around 2000 list. do you have an sample website to show me.

partha120804 commented 3 days ago

I have already added this and it works perfectly, i am just working on how to refresh the page when the item count is changed (currently it is working only after changing page on pagination bar), i am kind of stuck.

partha120804 commented 3 days ago

but it can only work smoothly till 200items per page, any greater number lags my local server, @sanjay-kv will the main server be able to handle it ??

partha120804 commented 3 days ago

I am creating a PR please check if its working, its working fine on my device :) @sanjay-kv

sanjay-kv commented 3 days ago

Sure