Hub: recently played, sorting and per-game trophy progress on cards
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 57/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ệ
- typescript
Hướng nghiên cứu
Start with src/hub/main.ts:53-85 and shared/achievements.ts:78-82,135-141 to see how cards are rendered and play and trophy data are stored; check src/hub/hub.css for the card styles. Run npm install and npm run dev to inspect the hub, then use npm run typecheck and npm run build to check your changes. Done when the most recently played game is easy to reach and each card shows its trophy progress.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Hub cards are always in registry order and show only the best score. Play counts and trophy unlocks are already stored but only visible inside the Trophies dialog, and no last-played time is recorded.
Where
src/hub/main.ts:53-85shared/achievements.ts:78-82,shared/achievements.ts:135-141
Proposal
- Store
lastPlayedinrecordPlay - Add a per-card trophy chip such as "2/4"
- Add a sort control or a "Continue playing" row (recent, most played, A to Z)
- Re-render on
pageshowso a hub restored from the back/forward cache is current - Optionally add a text filter once the grid passes about 12 games
Acceptance criteria
- The most recently played game is easy to reach from the hub
- Each card shows trophy progress
Getting started
- Relevant files:
src/hub/main.ts,shared/achievements.ts,src/hub/hub.css - Run locally:
npm install, thennpm run dev - Checks:
npm run typecheckandnpm run build(there is no test suite yet) - Related docs:
README.md
Filed by repo-audit/full-audit at b001f5d. Severity: medium. Effort: M. audit-key: enhancement|src/hub/main.ts|card
- Ngôn ngữ chính
- TypeScript
- Star
- 3
- Fork
- 3
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 TMHSDigital/GH-Arcade
-
enhancement good first issue severity: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
TMHSDigital/GH-Arcade#50 ·
-
enhancement good first issue severity: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
TMHSDigital/GH-Arcade#47 ·
-
documentation good first issue severity: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
TMHSDigital/GH-Arcade#34 ·
-
documentation good first issue severity: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
TMHSDigital/GH-Arcade#33 ·
-
dependencies good first issue severity: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
TMHSDigital/GH-Arcade#27 ·
Tất cả issue của TMHSDigital/GH-Arcade
Issue tương tự
-
automated-triage type/bug type/ci
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
📦 expo-router Android contributor: external needs review sdk-58 severity: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
expo/expo#53436 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Translate the READMEĐang mởdocumentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
asasemahmed/openboard#68 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Document PowerShell shell semantics and read-only Bash deduplication in Built-in Tools referenceĐang mởdocumentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100