feature: theme toggle (system / light / dark), PWA manifest and offline cache for the catalog
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 48/100
- Issue 類型
- 功能
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- javascript
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- JavaScript
- 星號
- 58
- 分支
- 15
- 平均合併
- 16 小時 53 分鐘
- 30 天內合併 PR
- 14
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
TMHSDigital/Free-Game-Dev-Assets 的其他 Issue
-
community marketing priority: low
難度 2/5 1-3 小時 新手友好度 72/100
TMHSDigital/Free-Game-Dev-Assets#151 ·
維護者通常 1 天內回覆
-
community marketing priority: medium
難度 2/5 1-3 小時 新手友好度 78/100
TMHSDigital/Free-Game-Dev-Assets#150 ·
維護者通常 1 天內回覆
-
community enhancement priority: medium
難度 2/5 1-3 小時 新手友好度 82/100
TMHSDigital/Free-Game-Dev-Assets#149 ·
維護者通常 1 天內回覆
-
community documentation priority: medium
難度 1/5 1-3 小時 新手友好度 88/100
TMHSDigital/Free-Game-Dev-Assets#148 ·
維護者通常 1 天內回覆
-
site: the Unreal guide is missing from the homepage Guides list, and the hero calls tools "assets"未關閉bug marketing priority: medium
難度 1/5 1-3 小時 新手友好度 85/100
TMHSDigital/Free-Game-Dev-Assets#147 ·
維護者通常 1 天內回覆
查看 TMHSDigital/Free-Game-Dev-Assets 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 63/100
oskarrough/dodgethis#115 ·
維護者通常 1 天內回覆
-
[Bug]: REST API URL starting with "http" but no scheme (e.g. httpbin.org/get) is not given an http:// prefix可能已有人在做 @ItsDeadlyProgrammer 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 68/100
appsmithorg/appsmith#42471 · 1 則留言 ·
維護者通常 2 天內回覆
-
external-plugin requires-submitter-fixes
難度 2/5 1-3 小時 新手友好度 78/100
github/awesome-copilot#5396 · 1 則留言 ·
維護者通常 1 天內回覆
-
enhancement
難度 2/5 1-3 小時 新手友好度 75/100
chenasraf/nextcloud-forum#348 ·
-
needs-triage
難度 2/5 1-3 小時 新手友好度 76/100
melodic-software/claude-code-plugins#9619 ·
維護者通常 1 天內回覆