Paginate the store as the catalog grows
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ả
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
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NotADIM2/GameVault
-
Deployment guideĐang mởdocumentation help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
frontend help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Share button on game pagesĐang mởfrontend good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Add a faviconĐang mởfrontend good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
-
frontend good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
Tất cả issue của NotADIM2/GameVault
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ida-arbeitszeit/workers-control#1578 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
open-webui/tether#52 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug: Table layout and date column are cut off on mobile screens on the Tournaments -> History pageĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
hexlet-codebattle/codebattle#2375 ·