feat(pwa): Merge PWA fix to main - #6
Merged
Merged
Conversation
- 新增 Web App Manifest 配置 (manifest.webmanifest) - 實作 Service Worker 支援離線快取與 API 請求管理 - 新增所有必要的 PWA 圖標(192x192, 384x384, 512x512, maskable, Apple) - 配置 Service Worker 註冊邏輯 - 採用 Cache First 策略處理靜態資源 - 採用 Network First 策略處理 API 請求(含離線回退) - 新增 PWA 實作文檔 技術細節: - Service Worker: sw.js with ratewise-v1 cache - Manifest: standalone display mode, purple theme - Icons: Complete set including maskable for Android - 相容性: Chrome, Firefox, Safari, Edge [context7:workbox-window:2025-10-17T01:52:00+08:00] [context7:mdn/pwa:2025-10-17T01:52:00+08:00] Closes #PWA-Implementation
s123104
pushed a commit
that referenced
this pull request
Oct 24, 2025
錯誤 #6 分析: - staticDistDir 配置生效(port 37555) - NO_FCP 錯誤仍持續(等待 30.2 秒後超時) - 問題:React SPA 路由導致 Lighthouse CI 找不到 index.html 解決方案(來自官方文件): 1. 增加 isSinglePageApplication: true - 讓 Lighthouse CI 靜態伺服器在找不到路徑時返回 index.html - 專門用於 React/Vue/Angular 等 SPA 框架 參考: - https://googlechrome.github.io/lighthouse-ci/docs/configuration.html - GoogleChrome/lighthouse-ci#196 - GoogleChrome/lighthouse-ci#800
s123104
added a commit
that referenced
this pull request
Dec 29, 2025
- 新增 Web App Manifest 配置 (manifest.webmanifest) - 實作 Service Worker 支援離線快取與 API 請求管理 - 新增所有必要的 PWA 圖標(192x192, 384x384, 512x512, maskable, Apple) - 配置 Service Worker 註冊邏輯 - 採用 Cache First 策略處理靜態資源 - 採用 Network First 策略處理 API 請求(含離線回退) - 新增 PWA 實作文檔 技術細節: - Service Worker: sw.js with ratewise-v1 cache - Manifest: standalone display mode, purple theme - Icons: Complete set including maskable for Android - 相容性: Chrome, Firefox, Safari, Edge [context7:workbox-window:2025-10-17T01:52:00+08:00] [context7:mdn/pwa:2025-10-17T01:52:00+08:00] Closes #PWA-Implementation Co-authored-by: haotool <haotool.org@gmail.com>
s123104
pushed a commit
that referenced
this pull request
Dec 29, 2025
錯誤 #6 分析: - staticDistDir 配置生效(port 37555) - NO_FCP 錯誤仍持續(等待 30.2 秒後超時) - 問題:React SPA 路由導致 Lighthouse CI 找不到 index.html 解決方案(來自官方文件): 1. 增加 isSinglePageApplication: true - 讓 Lighthouse CI 靜態伺服器在找不到路徑時返回 index.html - 專門用於 React/Vue/Angular 等 SPA 框架 參考: - https://googlechrome.github.io/lighthouse-ci/docs/configuration.html - GoogleChrome/lighthouse-ci#196 - GoogleChrome/lighthouse-ci#800
s123104
pushed a commit
that referenced
this pull request
Mar 22, 2026
- 移除:Git commit rules / Husky hooks(→ AGENTS.md SSOT) - 移除:QA Artifacts + Root Hygiene 完整區塊(→ AGENTS.md SSOT) - 移除:Skills Strategy(→ AGENTS.md SSOT) - 移除:Troubleshooting #6 Prettier 格式漂移(→ AGENTS.md SSOT) - 移除:security-headers Worker 部署 SOP 完整內容(→ AGENTS.md SSOT) - 移除:程式碼註解風格完整區塊(→ AGENTS.md SSOT) - 移除:外部寫作與 SOP 格式基準(低頻參考,不需常駐 context) - AGENTS.md:補入資產快取驗證 curl 快查表(從 CLAUDE.md 遷移) - CLAUDE.md 644 行 → 432 行(-33%);以單行參考取代重複規則 測試:兩檔審閱確認規則無遺漏,AGENTS.md 仍完整
This was referenced Jul 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR merges the PWA fix from commit 54abc71 into the main branch.