Save the wishlist in the database
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/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ệ
- javascript, python, sql, supabase
- Lĩnh vực
- authentication, database, full-stack
Hướng nghiên cứu
Start by reading supabase/schema.sql to see the existing table and RLS patterns, then add the wishlist table with user_id, game_id and added_at. In backend/queries.py, follow the existing query style and add add/remove functions plus POST routes that enforce login and CSRF. On the game page, wire the button to those routes and add a library Wishlist view, keeping the localStorage path for logged-out users. Done means a logged-in wishlist survives across devices and the logged-out behaviour is unchanged.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The wishlist button on game pages only saves to the browser's localStorage, so it's lost on another device or after clearing site data.
Goal: store wishlists per user in Supabase.
- Add a
wishlist (user_id, game_id, added_at)table tosupabase/schema.sql, with RLS enabled like the other tables - Add queries in
backend/queries.pyand POST routes to add/remove (CSRF-protected, login required) - Update the game page button and add a "Wishlist" view to the library
- Logged-out users: keep the current browser-only behaviour
Describe the schema change and upgrade steps in your PR.
- 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ự
-
`void platform install --app-access public` fails when Cloudflare reports Access is disabledĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
voidzero-dev/void#835 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
RSA PKCS#1 v1.5 verify fails for SHA-512/224, SHA-512/256 and SHA-3 (UnhandledMatchError on 4.x)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
NimblePros/eShopOnWeb#326 ·
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 64/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Send confirmation shows the collaborator fee that the Send form hides, revealing the swept amountĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
joinmarket-webui/jam#1651 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày