first of all: Thank you for your amazing work on Bricksforge – it’s become one of my go-to tools because of how many essential features it brings together. I’ve especially enjoyed working with the API Query Builder in some of my recent projects!
That said, I recently ran into a challenge in a client project involving a long A–Z glossary (hundreds of entries), where all entries are loaded dynamically via a REST API. Right now, all data is loaded at once, which causes long load times – especially on mobile devices.
I believe pagination using parameters like limit , offset , or page could be technically feasible. That’s why I wanted to ask: could you imagine integrating something like the following directly into the API Query Builder?
Pagination via limit and offset or page
Lazy loading on scroll
Optionally, a “Load more” button as an alternative to scrolling
This would massively improve performance and user experience when dealing with large datasets. I know it’s possible to build this with custom JavaScript, but having native support would make it much more accessible and maintainable.
Thank you very much for considering this request. I’d love to hear your thoughts on it!
Hello, thank you very much for creating this feature request.
This is a feature that we have already included. You can find it further down in the settings. There you can, for example, activate “Infinite Loading” and enter the corresponding keys.
Feel free to turn it on and let us know whether this is exactly what you are looking for. However, “pagination” does not exist yet, but it will be integrated in the future.
thank you very much for your quick and helpful reply — I really appreciate it!
I totally missed that native pagination and lazy loading are already implemented in the API Query Builder. Sorry for the confusion!
I’ve now verified that my Google Sheets API correctly responds with the requested limit and offset parameters — for example, when I call the API URL with limit=20 and offset=0, exactly 20 items are returned, and with limit=30 and offset=0, exactly 30 items are returned. So the script is definitely working fine.
In Bricksforge’s API Query Builder, all items are displayed at once on the frontend — it does not paginate or lazy load, meaning it loads everything immediately.
Could you please advise what might cause this? If helpful, I can provide login credentials via a support ticket for a closer look.
Yea, I´ve already done that multiple times but it didn´t help.
One more thing I noticed: When I scroll all the way to the bottom of the page, the browser console shows a 404 Not Found error for the URL endpoint
/wp-json/bricksforge/v1/query_builder_load_items
This error does not appear immediately on page load but only after scrolling down.
Interestingly, this error does not occur if I set the “Loading Type” to “Default” in Bricksforge, basically disabling the lazy loading feature.
Could this be related to the infinite scroll not fetching more items properly?
If you want, I can provide you with temporary login data to investigate further.