Save the wishlist in the database
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript, python, sql, supabase
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- CSS
- スター
- 1
- フォーク
- 1
- 平均マージ
- 39分
- マージ済み PR(30日)
- 6
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NotADIM2/GameVault のほかの issue
-
Deployment guideオープンdocumentation help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
frontend help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
frontend good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
Add a faviconオープンfrontend good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
-
frontend good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
NotADIM2/GameVault の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
voidzero-dev/void#835 ·
メンテナーはふだん 1 日以内に返信
-
RSA PKCS#1 v1.5 verify fails for SHA-512/224, SHA-512/256 and SHA-3 (UnhandledMatchError on 4.x)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
NimblePros/eShopOnWeb#326 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 2 日以内に返信
-
Send confirmation shows the collaborator fee that the Send form hides, revealing the swept amountオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
joinmarket-webui/jam#1651 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信