Great video bro, you're doing the Lord's work with these. Thank you so much!
@SupeRails3 жыл бұрын
🙏😇
@joseluismoreyrajr.75986 ай бұрын
great video like always! I am currently trying to add pagination to a turbo frame that is update by a turbo stream that makes a call to an external API. The problem is doing this without a model, since I don't want to save this to a database (the external api makes calls to the MLS so lots of data is being sent). I am deciding between using the pagy js with stimulus or making my own stimulus controller and making API calls if the user presses next and cache so when the user presses previous it goes back and doesnt make another call (rate limits). Would be cool if you can make a video using pagy with js.
@IvDBS Жыл бұрын
Wery useful video 👍
@rahulk6130 Жыл бұрын
Can't thank you enough !!!
@kaustubhmodhia50443 жыл бұрын
Awesome.. explained very well....👍👍
@SupeRails3 жыл бұрын
Thanks Kaustubh! Actually it was my 4th try recording this videos, after lots and lots of reviews from the pagy creator - @ddnexus!
@matheusfortini90122 жыл бұрын
thank you very much!
@checkinsider3 ай бұрын
How do you use pagy with taulwindcss styling seen you have only bootstrap, have my project running in tailwindcss but pagy is not styling
Hi, thanks for the video i have a question please how Pagy do not hide the link automatically?
@SupeRails Жыл бұрын
Hell Amine. I'm not exactly sure in what cases you want to hide the link, but most likely you would be able to do it with "if @pagy.next.present?"
@witchmorrow2 жыл бұрын
thank you, very useful
@aminekotni53532 жыл бұрын
Great work !!
@phanta5m3 жыл бұрын
Really usefull gem
@SupeRails3 жыл бұрын
Glad you think so! What other topics would you like to have covered?
@agustinpalmam29232 жыл бұрын
😃Nice job friend!
@GlaylsonAlves2 жыл бұрын
how change color in bootstrap?
@remotronic3 жыл бұрын
А что посоветуете по реализации Infinite Scroll ?
@SupeRails3 жыл бұрын
вот gist.github.com/secretpray/245e5f30dafff636a8dcec93ba7a5314
@remotronic3 жыл бұрын
Отлично! Только я уже реализовал через stimulus.js, и IntersectionObserver
@SupeRails3 жыл бұрын
@@remotronic можешь скинуть ссылку - мне было бы интересно увидеть твой подход
@remotronic3 жыл бұрын
@@SupeRails скинул в тг
@sebastian.estrada3 жыл бұрын
Hi, is it possible to do ajax pagination with this gem?
@SupeRails3 жыл бұрын
what exactly do you mean by ajax pagination?
@sebastian.estrada3 жыл бұрын
@@SupeRails I mean when you don't need to load the entire html page to get the next o previous content, only the content needed to replace the table content, similar to remote ajax datatables
@eugeniogomez10083 жыл бұрын
@@sebastian.estrada Yes! you only have to uncommnet the line Pagy::VARS[:link_extra] = 'data-remote="true"' in the pagy.rb initializer. Then you can customize the index.js or the layout by default.
@farouksabiou Жыл бұрын
@@eugeniogomez1008 why does it seems like it's only the table being reloaded in the video despite him not doing all that?