feature: theme toggle (system / light / dark), PWA manifest and offline cache for the catalog
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript
Hướng nghiên cứu
Start with index.html and the files under site/public/, then read how the build emits the generatedAt stamp and how shortlist persistence handles localStorage. Implement the theme toggle, manifest, and versioned service worker described in the issue. Done when the toggle persists, Lighthouse reports the site installable, and search works offline after one visit.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Why it matters
Dark mode follows the OS only; a reading-heavy reference site is expected to offer a toggle. A web manifest and a small service worker that caches data.js, styles.css, app.js and the home page make search and the shortlist work offline (game jams on venue Wi-Fi), allow "Add to home screen" and give the installed app the right colour.
Evidence
- No
manifest.webmanifestor service worker insite/public/; no theme toggle inindex.html. data.jsand the home page are static per build, so cache invalidation can key on thegeneratedAtstamp the build already emits.
Suggested approach
Three-state toggle persisted in localStorage (wrapped in try/catch, as the shortlist already does), applied via data-theme on <html> before first paint. Manifest with the existing favicon as a maskable icon. Service worker with a versioned cache name derived from generatedAt, network-first for HTML and cache-first for assets.
Done when
The toggle works and persists, Lighthouse reports the site installable, and the home page search works with the network off after one visit.
- Ngôn ngữ chính
- JavaScript
- Star
- 58
- Fork
- 15
- Merge trung bình
- 16 giờ 53 phút
- Pull request đã merge (30 ngày)
- 14
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
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/Free-Game-Dev-Assets
-
community marketing priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
TMHSDigital/Free-Game-Dev-Assets#151 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation priority: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
TMHSDigital/Free-Game-Dev-Assets#72 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 68/100
TMHSDigital/Free-Game-Dev-Assets#3 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
marketing priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
TMHSDigital/Free-Game-Dev-Assets#152 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feature priority: medium
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
TMHSDigital/Free-Game-Dev-Assets#144 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của TMHSDigital/Free-Game-Dev-Assets
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Yomguithereal/mnemonist#247 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
up-for-grabs/up-for-grabs.net#6330 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 72/100
TheOdinProject/curriculum#31490 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug require-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
expressjs/expressjs.com#2549 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Docs: no path for someone who just wants to try IndiekitCó thể đã có người làm @rmdes đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
getindiekit/indiekit#1028 ·
Maintainer thường phản hồi trong vòng 1 ngày