Paginate the store as the catalog grows
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 68/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- python, supabase
- Ambito
- full-stack
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- CSS
- Stelle
- 1
- Fork
- 1
- Merge medio
- 39m
- PR unite (30g)
- 6
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NotADIM2/GameVault
-
Deployment guideApertadocumentation help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
frontend help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Share button on game pagesApertafrontend good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Add a faviconApertafrontend good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
-
frontend good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
Tutte le issue di NotADIM2/GameVault
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ida-arbeitszeit/workers-control#1578 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
open-webui/tether#52 ·
I maintainer di solito rispondono entro 1 giorno
-
Bug: Table layout and date column are cut off on mobile screens on the Tournaments -> History pageApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
hexlet-codebattle/codebattle#2375 ·