RealToken-Community / dashboard-v2

https://dashboard.realt.community/
5 stars 4 forks source link

✨feat: add selector for the amount of thumbnails per page #50

Closed NandyBa closed 1 month ago

NandyBa commented 3 months ago

This PR introduces a feature requested by @jojodunet that allows users to choose the number of thumbnails displayed per page in the grid view. This enhancement is accessible at the end of the page and offers multiple choice options to suit different user preferences. Additionally, there is an option to display all thumbnails on a single page.

jojodunet commented 2 months ago

Hello @jycssu-com ,

I tried to contact @NandyBa directly but I haven’t received a response.

Is it possible for you to make the modification on your side and merge the code, please?

Thank you in advance for your help.

Best regards.

NandyBa commented 2 months ago

You should use 0 as the value to display all cards rather than the total length. Indeed, if you choose "All" with some filters/search, they will not all be visible when the filters/search are removed.

Ex: Search for "bird" -> choose "All" -> Clear search ==> Only one card visible

Case handle in this last commit I use Infinity instead of 0, it's make more sense

NandyBa commented 2 months ago

I have also rebased the develop branch

NandyBa commented 2 months ago

Hello @jycssu-com ,

I tried to contact @NandyBa directly but I haven’t received a response.

Is it possible for you to make the modification on your side and merge the code, please?

Thank you in advance for your help.

Best regards.

Sorry, I responded but quite after, discord is not my main social, Telegram is more