Paginate the store as the catalog grows

オープン
#38 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python, supabase
領域
full-stack

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
CSS
スター
1
フォーク
1
平均マージ
39分
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NotADIM2/GameVault のほかの issue

NotADIM2/GameVault の issue をすべて見る

似ている issue

Web Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。