swmcc/second_breakfast

✨ Add pagination for recipes list

Open

#63 aberto em 23 de nov. de 2025

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)HTML (0 forks)auto 404
enhancementgood first issue

Métricas do repositório

Stars
 (0 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Description

Add pagination to the recipes index page to improve performance and UX when there are many recipes.

Implementation options

  • Use Kaminari gem (already in funeralsni project)
  • Add pagination controls to views
  • Configure items per page (suggest 12-24 recipes)
  • Update search to work with pagination

Views to update

  • app/views/recipes/index.html.erb
  • app/controllers/recipes_controller.rb

Bonus

  • Add infinite scroll option
  • Preserve pagination state in basket actions

Guia do colaborador