rubyforgood / playtime

Supporting children and families experiencing homelessness in Washington, DC. Live app - https://wishlist.playtimeproject.org Organization Website:
http://www.playtimeproject.org/
MIT License
89 stars 50 forks source link

Paginate wishlist items #141

Open leesharma opened 7 years ago

leesharma commented 7 years ago

This task is to add pagination to wishlist items on the root view (wishlist_items#index) and the wishlist show view (wishlists#show).

There are a number of ways to implement pagination: I'd suggest hand-rolling it or using a library like kaminari (helpful railscast). We're using Bootstrap, so you'll want to use their pagination component for UI.

Note: make sure that your changes (especially anything js-related) don't interfere with the pledge button's ability to open a new tab!

If you have any questions/comments, comment below!

mcshakes commented 7 years ago

I'd like to take a crack at it if no one else has

leesharma commented 7 years ago

@mcshakes All yours! 🙂

thebradhimself commented 7 years ago

I'm also going to take a crack at it for the fun of it