Paginate the store as the catalog grows

Đang mở
#38 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python, supabase
Lĩnh vực
full-stack

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
CSS
Star
1
Fork
1
Merge trung bình
39 phút
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NotADIM2/GameVault

Tất cả issue của NotADIM2/GameVault

Issue tương tự

Thêm issue về Web Dev

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.