"Your stats" page: playtime and spending by genre

Abierto
#12 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
54/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
css, python, sql

Línea de trabajo

The issue names tables but no files, so start from the schema: find the migrations/models defining library (price_paid), plays, have and genre, then trace how an existing page is routed and rendered to see where a stats page plugs in. Write the aggregation as a SQL view or single query over those joins, then add the template and the SVG/CSS chart. Done means the page shows totals, per-genre hours, most-played and most recent purchase, with no Python loops over rows.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

backend enhancement frontend help wanted

Add a page showing each user's stats, calculated in SQL from their real data:

  • Total games owned and total spent (library.price_paid)
  • Hours played per genre (plays joined through have/genre)
  • Most-played game, most recent purchase
  • A simple chart (plain SVG/CSS or a small library)

Put the aggregation in a database view or query, not in Python loops.

Lenguaje dominante
CSS
Estrellas
1
Forks
1
Merge medio
39 min
PR fusionados (30 d)
6

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NotADIM2/GameVault

Todos los issues de NotADIM2/GameVault

Issues similares

Más issues de Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.