[Feature] Sets page should be paginated #84
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Sets page can take a long time to load if there are a lot of LEGO sets tracked.
This is something i want to implement. I did try and make it using some HTML/CSS tricks like lazyloading, but since the whole data-string is loaded info the HTML page, it didn't help at all.
I am trying to find a fix for it.
Working on this on branch feature/pagination.
Currently /parts have been implemented. Working on minifigures and sets next.
@deadbattery
Can you test the branch feature/pagination? You will have to build the docker image yourself or run it locally.
Features
Add configurable pagination system with SERVER_SIDE_PAGINATION environment variable
/sets,/partsand/minifiguresEnhance parts page functionality
New environment variables:
/sets/partsand/minifuguresload fully before the page refreshes to pagination./partsPerhaps I am missing something?
I'm using:
You don't see it like the attached images?
@deadbattery Try the docker image
gitea.baerentsen.space/frederikbaerentsen/bricktracker:pagination. Use the env variables:I got it working and it works just like it should/your screenshots.
Did the sets page have a filter before?
Yes! Thanks for spotting the issue. I thought i had fixed it but ill look at it again. I'm traveling for the weekend but i'll get it fixed and update the
:paginationimage some time next week.@deadbattery
:paginationhas been updated. Try it out now!One issue i know of is that the themes filter doesn't update based on what is on the paginated page.
I added more env vars.
Works great!
Would it be difficult to add the same feature to problems?
Sets page should be paginatedto [Feature] Sets page should be paginatedI have added it to problems too. The
:paginationimage has been updated.New variables are
Known issues:
Other issues, please let me know!
Implemented. Will be released with version 1.3.0. Testing on
:pagination