fluid
fluid copied to clipboard
Is there a plan to support paginate tags?
https://github.com/Shopify/liquid/blob/master/performance/shopify/paginate.rb
Also there's a default_pagination may be it's useful for OC too
Please go for it if you think you can implement it
Reopeing this, while it's useful for OC, hope to find a time to explore its features
After a little reading about paginate tags, there are many things should be take in mind:
1- paginate tag
2- integration with for
3- default_pagination filter
This needs more work, but I need to understand how it works first, seems it controls the inner for if presents
I have done so. I created a new PaginationValue to handle the delayed loading of data and to generate page flip links and to do it asynchronously. The default_pagination filter has also been implemented. However, my solution requires the user to create a new type and derive it from the PaginationValue, which I think is not very versatile. If you are interested in this implementation, I can post this part of the code.
Thanks for your initiative @Soar360 feel free to submit a PR, then we can review and see the best approach that we come up with
https://shopify.dev/api/liquid/objects/paginate https://shopify.dev/api/liquid/objects/part