Save the wishlist in the database
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, python, sql, supabase
- Área
- authentication, database, full-stack
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- CSS
- Estrellas
- 1
- Forks
- 1
- Merge medio
- 39 min
- PR fusionados (30 d)
- 6
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de NotADIM2/GameVault
-
Deployment guideAbiertodocumentation help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
frontend help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Share button on game pagesAbiertofrontend good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
Add a faviconAbiertofrontend good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
-
frontend good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Todos los issues de NotADIM2/GameVault
Issues similares
-
`void platform install --app-access public` fails when Cloudflare reports Access is disabledAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
voidzero-dev/void#835 ·
Los mantenedores suelen responder en 1 día
-
RSA PKCS#1 v1.5 verify fails for SHA-512/224, SHA-512/256 and SHA-3 (UnhandledMatchError on 4.x)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
NimblePros/eShopOnWeb#326 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 2 días
-
Send confirmation shows the collaborator fee that the Send form hides, revealing the swept amountAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
joinmarket-webui/jam#1651 · 1 comentario ·
Los mantenedores suelen responder en 3 días