"Your stats" page: playtime and spending by genre

Đang mở
#12 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
54/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
css, python, sql

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NotADIM2/GameVault

Tất cả issue của NotADIM2/GameVault

Issue tương tự

Thêm issue về Backend & API Design

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.