Paginate the store as the catalog grows

Abierto
#38 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
68/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python, supabase
Área
full-stack

Línea de trabajo

Start in backend/queries.py where the catalog query is assembled; trace how search, genre, price and sort parameters reach that query. Then read the store template to see where results are rendered and how filters are reflected in the URL. Implement 24-per-page paging with a Supabase range() call and page links or a load-more control, checking that combined filters survive paging and reload. Done when each request fetches only the current page and the URL preserves all active filters plus the page.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

backend frontend help wanted

The store loads every game at once. That's fine for 90 games but won't be for hundreds.

  • Show 24 games per page with page links or a "Load more" button
  • Keep search, genre, price and sort filters working together with paging, and keep them in the URL
  • Fetch only the current page from the database (range() in the Supabase client), not the whole catalog

Comment with your approach first, since this touches backend/queries.py and the store template.

Lenguaje dominante
CSS
Estrellas
1
Forks
1
Merge medio
39 min
PR fusionados (30 d)
6

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NotADIM2/GameVault

Todos los issues de NotADIM2/GameVault

Issues similares

Más issues de Web Dev

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.