diff --git a/.changeset/ratewise-artifact-ssot.md b/.changeset/ratewise-artifact-ssot.md new file mode 100644 index 000000000..c2440f801 --- /dev/null +++ b/.changeset/ratewise-artifact-ssot.md @@ -0,0 +1,5 @@ +--- +'@app/ratewise': patch +--- + +Clarify generated artifact buckets and remove local build report files from tracked source. diff --git a/.changeset/ratewise-currency-route-registry.md b/.changeset/ratewise-currency-route-registry.md new file mode 100644 index 000000000..1ccd9aa45 --- /dev/null +++ b/.changeset/ratewise-currency-route-registry.md @@ -0,0 +1,5 @@ +--- +'@app/ratewise': patch +--- + +Consolidate currency landing route registration behind a registry with parity checks. diff --git a/.changeset/ratewise-data-pr-governance.md b/.changeset/ratewise-data-pr-governance.md new file mode 100644 index 000000000..fad31a664 --- /dev/null +++ b/.changeset/ratewise-data-pr-governance.md @@ -0,0 +1,5 @@ +--- +'@app/ratewise': patch +--- + +Strengthen scheduled rate data update governance by requiring generated data PRs to pass branch protection before merge. diff --git a/.changeset/ratewise-error-classification-cross-browser.md b/.changeset/ratewise-error-classification-cross-browser.md new file mode 100644 index 000000000..5a9444f54 --- /dev/null +++ b/.changeset/ratewise-error-classification-cross-browser.md @@ -0,0 +1,5 @@ +--- +'@app/ratewise': patch +--- + +errorClassification 補上 Firefox 與 iOS / macOS Safari 多種 fetch 失敗訊息覆蓋(離線、連線中斷、DNS 失敗、無法連線),避免一般網路失敗在跨瀏覽器下被誤分類為 unknown;同步修正刷新腳本 cache 分支幣別數量輸出。 diff --git a/.changeset/ratewise-error-observability.md b/.changeset/ratewise-error-observability.md new file mode 100644 index 000000000..aca0af716 --- /dev/null +++ b/.changeset/ratewise-error-observability.md @@ -0,0 +1,5 @@ +--- +'@app/ratewise': patch +--- + +改善正式版全域錯誤分類,避免一般網路錯誤被誤判為預期歷史匯率缺檔 diff --git a/.changeset/ratewise-fallback-snapshot.md b/.changeset/ratewise-fallback-snapshot.md new file mode 100644 index 000000000..d8d60f5ba --- /dev/null +++ b/.changeset/ratewise-fallback-snapshot.md @@ -0,0 +1,5 @@ +--- +'@app/ratewise': patch +--- + +讓 build-time fallback 匯率快照由每日資料更新流程維護,避免一般 build 產生匯率資料漂移;同時在線上遠端匯率來源全失敗且本機無快取時,改用 build-time snapshot 維持換算器可用。 diff --git a/.changeset/ratewise-moneybox-aggregate-cleanup.md b/.changeset/ratewise-moneybox-aggregate-cleanup.md new file mode 100644 index 000000000..fcebc1655 --- /dev/null +++ b/.changeset/ratewise-moneybox-aggregate-cleanup.md @@ -0,0 +1,5 @@ +--- +'@app/ratewise': patch +--- + +換錢所 aggregate 趨勢線:移除說明性註解、抽出 daily fallback helper、收斂兩處 cache 寫入為單一寫入點,行為不變。 diff --git a/.changeset/ratewise-moneybox-aggregate-trend.md b/.changeset/ratewise-moneybox-aggregate-trend.md new file mode 100644 index 000000000..a9f74dd9b --- /dev/null +++ b/.changeset/ratewise-moneybox-aggregate-trend.md @@ -0,0 +1,5 @@ +--- +'@app/ratewise': patch +--- + +換錢所(MoneyBox)趨勢線改用 aggregate endpoint:與台銀 history-30d.json SSOT 一致,命中時 30 個 daily fetch 收斂為 1 個(runtime AB 量到 50→1 requests、~5,049ms→~2ms)。aggregate 不存在時自動退回原本逐日 fetch 路徑,行為無回歸。 diff --git a/.changeset/ratewise-multi-rate-label.md b/.changeset/ratewise-multi-rate-label.md new file mode 100644 index 000000000..a01b7c08d --- /dev/null +++ b/.changeset/ratewise-multi-rate-label.md @@ -0,0 +1,5 @@ +--- +'@app/ratewise': patch +--- + +修正多幣別頁面在換錢所反向匯率、現金不可用與小字低對比情境下的匯率來源標籤。 diff --git a/.changeset/ratewise-production-surface.md b/.changeset/ratewise-production-surface.md new file mode 100644 index 000000000..1460e3ba6 --- /dev/null +++ b/.changeset/ratewise-production-surface.md @@ -0,0 +1,5 @@ +--- +'@app/ratewise': patch +--- + +正式版不再輸出內部展示與測試頁面的預渲染路由 diff --git a/.changeset/ratewise-sentry-fetch-filter-ssot.md b/.changeset/ratewise-sentry-fetch-filter-ssot.md new file mode 100644 index 000000000..d38d34e49 --- /dev/null +++ b/.changeset/ratewise-sentry-fetch-filter-ssot.md @@ -0,0 +1,5 @@ +--- +'@app/ratewise': patch +--- + +Sentry `beforeSend` 改用 `classifyUnhandledRejection` 判斷 fetch 失敗,與 errorClassification SSOT 收斂;Firefox / Safari 的網路失敗訊息不再重複送到 Sentry。 diff --git a/.changeset/ratewise-ssg-snapshot-source.md b/.changeset/ratewise-ssg-snapshot-source.md new file mode 100644 index 000000000..0921ab850 --- /dev/null +++ b/.changeset/ratewise-ssg-snapshot-source.md @@ -0,0 +1,5 @@ +--- +'@app/ratewise': patch +--- + +修正金額頁 SSG 預渲染匯率來源,clean checkout 不再依賴 ignored 的 public/rates.json。 diff --git a/.github/workflows/ratewise-production-governance.yml b/.github/workflows/ratewise-production-governance.yml new file mode 100644 index 000000000..77a86f769 --- /dev/null +++ b/.github/workflows/ratewise-production-governance.yml @@ -0,0 +1,53 @@ +name: RateWise Production Governance + +on: + workflow_dispatch: + schedule: + - cron: '17 20 * * *' + +permissions: + contents: read + +jobs: + production-governance: + name: Live Headers And Performance Gates + runs-on: ubuntu-latest + timeout-minutes: 20 + env: + PLAYWRIGHT_BASE_URL: https://app.haotool.org + E2E_BASE_PATH: /ratewise + + steps: + - name: Checkout code + uses: actions/checkout@v6 + + - name: Setup pnpm + uses: pnpm/action-setup@v6 + with: + version: 9.10.0 + + - name: Setup Node.js + uses: actions/setup-node@v6 + with: + node-version: '24' + cache: pnpm + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Install Playwright Chromium + run: pnpm --filter @app/ratewise exec playwright install --with-deps chromium + + - name: Verify Cloudflare headers and cache policy + run: | + RUN_PRODUCTION_TESTS=true \ + pnpm --filter @app/ratewise exec playwright test \ + tests/e2e/cloudflare-cache.spec.ts \ + --project=chromium-desktop + + - name: Verify trend chart latency budget + run: | + RUN_RATEWISE_PERFORMANCE_TESTS=true \ + pnpm --filter @app/ratewise exec playwright test \ + tests/e2e/trend-chart-latency.spec.ts \ + --project=chromium-desktop diff --git a/.github/workflows/update-moneybox-rates.yml b/.github/workflows/update-moneybox-rates.yml index ec4122c0e..cdef4f1e7 100644 --- a/.github/workflows/update-moneybox-rates.yml +++ b/.github/workflows/update-moneybox-rates.yml @@ -36,6 +36,7 @@ jobs: MONEYBOX_FETCH_OUTPUT_FILE: .moneybox-current-fetch.json MONEYBOX_LATEST_FILE: public/rates/providers/moneybox/latest.json MONEYBOX_HISTORY_DIR: public/rates/providers/moneybox/history + MONEYBOX_AGGREGATE_FILE: public/rates/providers/moneybox/history-30d.json MONEYBOX_RETIRED_LATEST_FILE: public/rates/moneybox.json MONEYBOX_RETIRED_HISTORY_DIR: public/rates/moneybox-history MONEYBOX_CDN_DATA_BASE: https://cdn.jsdelivr.net/gh/haotool/app@data @@ -138,6 +139,52 @@ jobs: echo "changed=true" >> $GITHUB_OUTPUT fi + - name: Generate moneybox aggregate 30-day history + if: steps.fetch-rates.outcome == 'success' && steps.git-check.outputs.changed == 'true' + run: | + node --input-type=module << 'SCRIPT' + import { readdirSync, readFileSync, existsSync, mkdirSync, writeFileSync } from 'node:fs'; + import { dirname, join } from 'node:path'; + + const HISTORY_DIR = process.env.MONEYBOX_HISTORY_DIR; + const OUTPUT_PATH = process.env.MONEYBOX_AGGREGATE_FILE; + const MAX_DAYS = 30; + + if (!existsSync(HISTORY_DIR)) { + console.error(`❌ History dir not found: ${HISTORY_DIR}`); + process.exit(1); + } + + const files = readdirSync(HISTORY_DIR) + .filter((f) => /^\d{4}-\d{2}-\d{2}\.json$/.test(f)) + .sort() + .reverse() + .slice(0, MAX_DAYS); + + const snapshots = []; + for (const file of files) { + const date = file.replace(/\.json$/, ''); + try { + const raw = JSON.parse(readFileSync(join(HISTORY_DIR, file), 'utf-8')); + snapshots.push({ date, raw }); + } catch (e) { + console.warn(`⚠️ Skip ${file}: ${e.message}`); + } + } + + const aggregate = { + providerId: 'moneybox', + generatedAt: new Date().toISOString(), + snapshots, + }; + + const outDir = dirname(OUTPUT_PATH); + if (!existsSync(outDir)) mkdirSync(outDir, { recursive: true }); + writeFileSync(OUTPUT_PATH, JSON.stringify(aggregate, null, 2) + '\n'); + + console.log(`✅ moneybox aggregate: ${snapshots.length} days → ${OUTPUT_PATH}`); + SCRIPT + - name: Commit and push changes if: steps.fetch-rates.outcome == 'success' && steps.git-check.outputs.changed == 'true' env: @@ -145,10 +192,10 @@ jobs: run: | git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" - # 只 add 當日 history 檔,避免 git checkout origin/main -- public/rates/ 後 - # 把 data branch 既有的前幾日 history snapshot 一併 stage 成刪除(會清掉公開 - # MoneyBox history API 與趨勢圖前日資料)。SSOT:每次只動當日 snapshot。 - git add "$MONEYBOX_LATEST_FILE" "$TODAY_HISTORY_FILE" + # 只 add 當日 history 檔與 aggregate,避免 git checkout origin/main -- public/rates/ + # 後把 data branch 既有的前幾日 history snapshot 一併 stage 成刪除(會清掉公開 + # MoneyBox history API 與趨勢圖前日資料)。SSOT:每次只動當日 snapshot + aggregate。 + git add "$MONEYBOX_LATEST_FILE" "$TODAY_HISTORY_FILE" "$MONEYBOX_AGGREGATE_FILE" # 取得更新資訊 UPDATE_TIME=$(node -p "JSON.parse(require('fs').readFileSync(process.env.MONEYBOX_LATEST_FILE)).updateTime") @@ -205,8 +252,9 @@ jobs: run: | PURGE_URL="${MONEYBOX_PURGE_DATA_BASE}/${MONEYBOX_LATEST_FILE}" HISTORY_PURGE_URL="${MONEYBOX_PURGE_DATA_BASE}/${MONEYBOX_HISTORY_DIR}/${CURRENT_DATE}.json" + AGGREGATE_PURGE_URL="${MONEYBOX_PURGE_DATA_BASE}/${MONEYBOX_AGGREGATE_FILE}" echo "🧹 Purging jsDelivr CDN cache..." - for URL in "$PURGE_URL" "$HISTORY_PURGE_URL"; do + for URL in "$PURGE_URL" "$HISTORY_PURGE_URL" "$AGGREGATE_PURGE_URL"; do for i in 1 2 3; do HTTP_STATUS=$(curl -s -o /dev/null -w "%{http_code}" "$URL") if [ "$HTTP_STATUS" = "200" ]; then @@ -228,7 +276,7 @@ jobs: git rebase --abort 2>/dev/null || true for i in 1 2 3; do echo "🔄 Refreshing MoneyBox provider files from remote data branch (try $i/3)..." - if git fetch origin data && git checkout origin/data -- "$MONEYBOX_LATEST_FILE" "$MONEYBOX_HISTORY_DIR"; then + if git fetch origin data && git checkout origin/data -- "$MONEYBOX_LATEST_FILE" "$MONEYBOX_HISTORY_DIR" "$MONEYBOX_AGGREGATE_FILE"; then echo "✅ Remote refresh successful" exit 0 fi diff --git a/.github/workflows/update-seo-rate-examples.yml b/.github/workflows/update-seo-rate-examples.yml index 37644d12b..1f6f3f808 100644 --- a/.github/workflows/update-seo-rate-examples.yml +++ b/.github/workflows/update-seo-rate-examples.yml @@ -1,12 +1,12 @@ # SEO 匯差範例數據每日更新 # -# 職責:每日抓取最新臺灣銀行牌告匯率,計算各幣別現金匯率與市場中間價差距, -# 更新 apps/ratewise/src/config/generated/seo-rate-examples.ts。 +# 職責:每日抓取最新臺灣銀行牌告匯率,更新 runtime fallback snapshot, +# 並計算各幣別現金匯率與市場中間價差距。 # # 流程(業界最佳實踐 — PR-based,不直接 push main): # 1. 執行腳本(雙重驗證:台銀牌告 + open.er-api.com) # 2. 若有變更,peter-evans/create-pull-request@v8 建立 PR 分支 -# 3. PR 建立後直接 squash merge 至 main +# 3. 交由 branch protection / required checks / maintainer review 或 GitHub auto-merge 合併 # 4. 無變更時不建立 PR,靜默略過 # # 為何不直接 push main: @@ -51,6 +51,9 @@ jobs: - name: 安裝依賴 run: pnpm install --frozen-lockfile + - name: 更新 build-time fallback 匯率 snapshot + run: pnpm --filter @app/ratewise refresh:fallback-rates + - name: 執行匯差範例更新腳本(雙重驗證模式) run: node apps/ratewise/scripts/update-seo-rate-examples.mjs @@ -64,6 +67,7 @@ jobs: commit-message: | chore(seo): 每日更新匯差範例數據 + - 自動更新 build-time fallback 匯率 snapshot - 自動更新各幣別現金賣出 vs 市場中間價差距(換 3 萬台幣情境) - 雙重驗證:open.er-api.com 中間價 vs 台銀自身 (買入+賣出)/2 中間價 - 差距超過 2% 幣別已警告(東南亞幣別預期偏高) @@ -73,7 +77,7 @@ jobs: delete-branch: true title: 'chore(seo): 每日更新匯差範例數據' body: | - ## 自動更新:SEO 匯差範例數據 + ## 自動更新:RateWise 匯率 fallback 與 SEO 匯差範例數據 由 GitHub Actions 排程每日自動執行。腳本:[`update-seo-rate-examples.mjs`](apps/ratewise/scripts/update-seo-rate-examples.mjs) @@ -91,21 +95,17 @@ jobs: ### 自動化 - - PR 建立後 **直接 squash merge** 至 `main` + - PR 建立後交由 branch protection、required checks 與 maintainer review 控制合併 + - 若 repo 啟用 GitHub auto-merge / merge queue,應由 GitHub 在條件滿足後合併 - 無變更時不建立 PR,靜默略過 - 幣別資料缺漏時腳本 `exit(1)`,工作流程明確失敗 labels: | automated seo add-paths: | + apps/ratewise/src/config/generated/build-time-rates.json apps/ratewise/src/config/generated/seo-rate-examples.ts - - name: 合併 PR(squash) - if: steps.create-pr.outputs.pull-request-number != '' - run: gh pr merge --squash "${{ steps.create-pr.outputs.pull-request-number }}" - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: 無變更 if: steps.create-pr.outputs.pull-request-number == '' run: echo "ℹ️ 匯差範例數據無變更,略過建立 PR。" diff --git a/AGENTS.md b/AGENTS.md index 2df920e79..16b037abf 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -460,9 +460,19 @@ git push origin main # pre-push 自動驗證 - `public/*.md`(markdown mirrors)版本號由完整 build 更新;`pnpm changeset:version` 不觸發此步驟,故 mirrors 版本會暫時落後一個版本。 - `src/config/generated/`(build-time-rates.json、seo-rate-examples.ts)由每日 SEO 排程更新。 +- `apps/ratewise/lighthouse-report.json` 與 `apps/ratewise/*.tsbuildinfo` 屬本機工具輸出;已由 `.gitignore` 管理,必須保持 untracked。 - **MUST NOT**:把上述兩類修改單獨建立 release 後的 follow-up commit,`verify-version-ssot` 會因為 staged set 內沒有 version bump 或 changeset 而擋下。 - **MUST**:commit 失敗後必須重新執行 `git restore --staged --worktree ` 再重試;lint-staged 的 stash/restore 循環會把失敗前的 working tree 狀態還原,使已 restore 的修改重新出現。 +### RateWise Generated Artifact Buckets(SSOT) + +- `pnpm --filter @app/ratewise refresh:data`:更新 live snapshots(build-time rates、SEO rate examples、rating snapshot)。 +- `pnpm --filter @app/ratewise refresh:fallback-rates`:只更新 committed runtime fallback rate snapshot。 +- `pnpm --filter @app/ratewise generate:deterministic`:由 repo SSOT 重建 sitemap、manifest、offline shell、LLMs text、Markdown mirrors、API JSON 與 OpenAPI。 +- `pnpm --filter @app/ratewise verify:artifacts`:執行 SSOT sync 與 image resource 檢查。 +- `pnpm --filter @app/ratewise prebuild`:只執行 deterministic generation、artifact verification 與 rating placeholder refresh;禁止把 tracked live rate refresh 塞回單一長命令。 +- `update-seo-rate-examples.yml`:只建立資料更新 PR;合併必須交由 branch protection、required checks、review 或 GitHub auto-merge / merge queue 控制,workflow 不得直接執行 `gh pr merge`。 + ### Release PR 自動化失敗治理 **觸發條件**:main 累積 `.changeset/*.md`,但 package version / CHANGELOG 長期未更新;或 `Release` workflow 顯示 success 但未建立 `changeset-release/main` PR。 diff --git a/CLAUDE.md b/CLAUDE.md index ad6c3a95c..c0ae9f4fc 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -146,6 +146,17 @@ git push origin main # pre-push 自動跑 typecheck + test + build 禁止:手動改版號、單獨跑 prebuild scripts、直接改 CHANGELOG 跳過 changeset。 +**RateWise generated artifact buckets**: + +- `pnpm --filter @app/ratewise refresh:data`:live snapshots + (`build-time-rates.json`、`seo-rate-examples.ts`、`rating-snapshot.ts`)。 +- `pnpm --filter @app/ratewise refresh:fallback-rates`:只更新 committed runtime fallback rate snapshot。 +- `pnpm --filter @app/ratewise generate:deterministic`:repo SSOT 可重建產物 + (sitemap、manifest、offline shell、LLMs text、Markdown mirrors、API JSON、OpenAPI)。 +- `pnpm --filter @app/ratewise verify:artifacts`:SSOT sync 與 image resource 檢查。 +- `prebuild` 只執行 deterministic generation、artifact verification 與 rating placeholder refresh;不得刷新 tracked live rate data。`lighthouse-report.json`、`*.tsbuildinfo` 屬本機工具輸出,必須保持 untracked。 +- `update-seo-rate-examples.yml` 只建立資料更新 PR;合併交由 branch protection、required checks、review 或 GitHub auto-merge / merge queue 控制,workflow 不得直接執行 `gh pr merge`。 + **Release PR 自動化控制**: - `changesets/action` 的 release commit 必須使用 commitlint 豁免格式:`chore(release): 更新版本套件` @@ -277,6 +288,8 @@ gh pr merge --squash --delete-branch=false **發版後 `public/*.md` 或 generated 檔案觸發 SSOT 守門失敗**:`pnpm changeset:version` 只更新 api/latest.json 等 SSOT 產出物,不重新生成 markdown mirrors(`public/*.md`);若這些修改殘留並另行 commit,`verify-version-ssot` 會因新 staged set 缺少 version bump 或 changeset 而擋下。修法:`git restore --staged --worktree apps/ratewise/public/*.md apps/ratewise/src/config/generated/`,讓 CI build 與每日 SEO 排程重新生成。 +**本機 build / QA 產物出現在 git status**:`apps/ratewise/lighthouse-report.json` 與 `apps/ratewise/*.tsbuildinfo` 是工具輸出,不是 source。若它們被重新建立,保持 untracked;若意外 staged,執行 `git restore --staged `。 + **lint-staged stash/restore 循環復活已 restore 的檔案**:commit 失敗時 lint-staged 會還原其 stash,可能把已 `git restore` 的 working tree 修改重新帶回。修法:每次 commit 失敗後必須重新執行 `git restore --staged --worktree ` 再重試,不可假設檔案狀態與 restore 後相同。 ### PWA diff --git a/README.md b/README.md index b9210c958..8777fc8ed 100644 --- a/README.md +++ b/README.md @@ -207,6 +207,7 @@ haotool-app/ │ ├── release.yml # 版本發布 │ ├── seo-audit.yml # SEO 審查 │ ├── seo-production.yml # 生產環境 SEO +│ ├── ratewise-production-governance.yml # RateWise 生產治理檢查 │ ├── update-committed-seo-files.yml # SEO 產出物同步 │ ├── update-historical-rates.yml # 歷史匯率更新 │ ├── update-latest-rates.yml # 最新匯率更新 @@ -270,7 +271,7 @@ haotool Apps is a professional pnpm Monorepo containing multiple high-quality Re - **Styling**: Tailwind CSS 3.4 - **Testing**: Vitest 4.1 + Playwright 1.57 - **Package Manager**: pnpm 9.10.0 (Monorepo) -- **CI/CD**: GitHub Actions (9 workflows) +- **CI/CD**: GitHub Actions (10 workflows) - **Deployment**: Docker + Zeabur / Vercel - **Security**: Gitleaks CLI + Trivy + SARIF @@ -298,6 +299,15 @@ Production is deployed by Zeabur from GitHub main. Before merging a release PR right after another main PR, confirm the earlier production deployment has finished so an older SHA cannot become active after the release SHA. +### Generated Artifacts + +RateWise generated files are bucketed by package scripts: +`prebuild` runs deterministic generation and verification only, +`refresh:data` explicitly updates live snapshots, and +`refresh:fallback-rates` is the only script that writes the committed fallback +rate snapshot. Local tool output such as `lighthouse-report.json` and +`*.tsbuildinfo` must remain untracked. + ### License This project is licensed under [GPL-3.0](./LICENSE). diff --git a/apps/ratewise/README.md b/apps/ratewise/README.md index 01a5d23c9..6354c4ff7 100644 --- a/apps/ratewise/README.md +++ b/apps/ratewise/README.md @@ -75,10 +75,28 @@ RateWise 正式站由 Zeabur production deployment 發布,Release 完成後需 precache 驗證。若 GitHub Release 已建立但正式站仍回舊版,先查 GitHub deployments 的 active SHA,再以 app 範圍 PR 重新觸發最新 main 部署。 +## 🧱 Generated Artifact SSOT + +RateWise 將 build 產物分成三類,避免 live data、deterministic artifacts 與本機 QA +報告混在同一個 commit: + +- `pnpm --filter @app/ratewise refresh:data`:更新 live data snapshot + (`build-time-rates.json`、`seo-rate-examples.ts`、`rating-snapshot.ts`)。 +- `pnpm --filter @app/ratewise refresh:fallback-rates`:只更新已提交的 runtime + fallback 匯率 snapshot,供首次離線或 LHCI fallback 使用。 +- `pnpm --filter @app/ratewise generate:deterministic`:由 repo SSOT 重建 sitemap、 + manifest、offline shell、LLMs text、Markdown mirrors、API JSON 與 OpenAPI。 +- `pnpm --filter @app/ratewise verify:artifacts`:驗證 SSOT sync 與圖片資源。 + +`prebuild` 只執行 deterministic generation、artifact verification 與 rating placeholder +refresh,不會刷新 tracked live rate data。`lighthouse-report.json` 與 `*.tsbuildinfo` 屬本機工具輸出, +必須保持 untracked。QA 截圖集中放 `screenshots/`,正式 SEO/manifest 圖片則保留在 +`public/screenshots/`。 + ## 📄 授權 GPL-3.0 © [haotool](https://app.haotool.org/) --- -**最後更新**: 2026-04-28 +**最後更新**: 2026-05-12 diff --git a/apps/ratewise/docs/dev/002_development_reward_penalty_log.md b/apps/ratewise/docs/dev/002_development_reward_penalty_log.md index 8b7c22eb8..1ae80ba3c 100644 --- a/apps/ratewise/docs/dev/002_development_reward_penalty_log.md +++ b/apps/ratewise/docs/dev/002_development_reward_penalty_log.md @@ -2,83 +2,91 @@ **版本**: 2.1.0 **建立時間**: 2025-12-02T03:29:33+08:00 -**更新時間**: 2026-01-21T01:20:03+08:00 +**更新時間**: 2026-05-15T09:40:00+08:00 **狀態**: ✅ 完成 -**當前總分**: +137 +**當前總分**: +145 -| 類型 | 摘要 | 採取行動 | 依據 | 分數 | -| ------- | ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | ---- | -| ✅ 成功 | SEO 修正:同步 sitemap 與 llms.txt 實作 | 1) 移除 sitemap.xml 生成腳本中已棄用的 image:caption 標籤 2) 移除 llms.txt 中的虛假評價數據,替換為真實用戶場景 3) 確保程式碼與開發日誌一致 | [Internal Audit][Google SEO Guidelines] | +3 | -| ✅ 成功 | 建立圖片管理最佳實踐系統 | 1) 新增 PR 模板檢查清單(生產環境驗證+Linus 三問) 2) CI/CD 自動檢查圖片路徑正確性 3) 建立完整圖片管理文檔 [032] 4) 檢查所有 apps 路徑統一 | [docs/dev/032_image_management_best_practices.md][LINUS_GUIDE.md] | +8 | -| ❌ 失敗 | SEO 分支合併導致級聯錯誤(20h 修復) | 1) 未驗證生產環境路徑 2) 引用不存在檔案 3) 過度優化導致複雜化 4) 6 次 commits 才修復(7b9e5c3→98d3350) | [002:2025-12-24][LINUS_GUIDE.md:Linus 三問] | -8 | -| ⚠️ 教訓 | 圖片路徑問題演進分析 | 絕對路徑→動態 BASE_URL→複雜 picture→最終簡化為相對路徑,學習 KISS 原則和消除特殊情況 | [LINUS_GUIDE.md:Good Taste][Vite Asset Handling] | 0 | -| ✅ 成功 | 修復下拉刷新功能 (PWA 快取更新) | 改用 window.location.reload() 強制重新載入頁面,確保用戶獲得最新版本 JS/CSS/HTML,移除未使用的 refresh 依賴項,版本更新 1.2.0→1.2.1 | [PWA更新最佳實踐][Linus 三問驗證] | +1 | -| ✅ 成功 | CSP inline style 違規排除 | style-src/style-src-elem 移除 hash 讓 'unsafe-inline' 生效,重跑 typecheck/test/build,確認 postbuild CSP 覆蓋 dist 與鏡像 | [context7:tsotimus/vite-plugin-csp-guard:2025-12-11T17:14Z] | +2 | -| ✅ 成功 | 重建 AI 搜尋規格並校對權威來源 | 以 curl 取樣 20 個 SEO/AI 權威來源,重置 013 規格與行動清單 | [curl:seo-authorities:2025-12-02] | +1 | -| ✅ 成功 | 首頁 FAQ 可視化並對齊 JSON-LD | 新增 4 條 FAQ 卡片(首頁可見)並同步更新 index.html FAQPage schema | [curl:seo-authorities:2025-12-02] | +1 | -| ✅ 成功 | 首個長尾落地頁 `/usd-twd` + sitemap | 新增 USD/TWD 落地頁(FAQ+HowTo+SEOHelmet)、更新路由/SSG/sitemap | [curl:seo-authorities:2025-12-02] | +1 | -| ✅ 成功 | 全面測試驗證:810 測試通過 + 瀏覽器實測 | 1) pnpm typecheck 通過 2) 810 tests 全綠 3) Preview Server 首頁/usd-twd 瀏覽器驗證 4) PWA manifest 驗證 | [context7:vite-react-ssg][context7:vite-plugin-pwa] | +2 | -| ✅ 成功 | SEO 權威網站深度研究 (MCP fetch) | 查詢 Moz/Semrush/Backlinko/SearchEngineJournal/web.dev/Google Search Central/llmstxt.org 等 10+ 來源 | [mcp:fetch:2025-12-02T03:44] | +1 | -| ✅ 成功 | BDD 紅燈→綠燈:hreflang.test.ts 修正 | 識別 `/usd-twd` 新增後 xhtml:link 從 8→10,正確更新測試預期值 | [BDD.md:Red-Green-Refactor] | +1 | -| ✅ 成功 | Context7 官方文檔驗證 | 使用 context7 取得 vite-react-ssg/vite-plugin-pwa 最新文檔,確認 SEO Head/Schema 最佳實踐 | [context7:daydreamer-riri/vite-react-ssg][context7:vite-pwa/vite-plugin-pwa] | +1 | -| ✅ 成功 | 長尾頁 JPY/TWD + EUR/TWD 實作 | 1) 新增 JPYToTWD.tsx 日圓換台幣頁 2) 新增 EURToTWD.tsx 歐元換台幣頁 3) 更新 routes.tsx 4) 更新 sitemap.xml (7 URLs) 5) 更新 hreflang.test.ts (14 links) | [BDD.md:Red-Green-Refactor][context7:vite-react-ssg] | +3 | -| ✅ 成功 | 全面測試驗證:810 tests 全通過 | npx vitest run 完成,0 failures,測試覆蓋率 92.99% | [Vitest:4.0.14][AGENTS.md:品質門檻] | +1 | -| ✅ 成功 | 長尾頁批量實作第一階段 (7 頁) | 新增 GBP/CNY/KRW/HKD/AUD/CAD/SGD 共 7 個幣別落地頁,每頁含 FAQ+HowTo+SEOHelmet | [context7:vite-react-ssg][LINUS_GUIDE.md] | +4 | -| ✅ 成功 | sitemap.xml 更新 (14 URLs) | 更新 sitemap 含 14 條 URL × 2 hreflang = 28 links | [Google Search Central:sitemap-best-practices] | +1 | -| ✅ 成功 | hreflang.test.ts BDD 測試更新 | 紅燈→綠燈:xhtml:link 從 14→28,同步更新測試預期值 | [BDD.md:Red-Green-Refactor] | +1 | -| ✅ 成功 | 長尾頁批量實作第二階段 (3 頁) | 新增 THB/NZD/CHF 共 3 個幣別落地頁,完成全部 13 個長尾頁 | [context7:vite-react-ssg][LINUS_GUIDE.md] | +2 | -| ✅ 成功 | sitemap.xml 全面完成 (17 URLs) | 更新 sitemap 含 17 條 URL × 2 hreflang = 34 links | [Google Search Central:sitemap-best-practices] | +1 | -| ✅ 成功 | 全面測試驗證:810 tests 全通過 | npx vitest run 完成,0 failures,hreflang 測試同步更新 | [Vitest:4.0.14][BDD.md:Green] | +1 | -| ✅ 成功 | 修復 vite.config.ts SSG 預渲染配置 | 同步 includedRoutes 至 17 條路徑,build 輸出 17 個 HTML | [BDD.md:Red-Green][context7:vite-react-ssg] | +2 | -| ✅ 成功 | SEO 全面代碼審查通過 | 1) TypeScript ✅ 2) ESLint ✅ 3) 897 tests ✅ 4) Build 17 HTML ✅ 5) 權威來源驗證 (Google/Schema.org/web.dev) | [context7:vitejs/vite][Google Search Central 2025] | +2 | -| ✅ 成功 | llms.txt 虛假評價數據修正 | 移除 4.8/5.0 虛假評分和 127 評價,改為真實用戶使用場景,避免違反 AI SEO Guidelines | [llmstxt.org][AI SEO Best Practices 2025] | +1 | -| ✅ 成功 | sitemap.xml 符合 Google 2025 規範 | 1) 移除已棄用 image:caption 標籤 2) 為 13 個幣別頁添加 image sitemap 3) 更新 lastmod | [Google 2025 Image Sitemap Deprecation] | +2 | -| ✅ 成功 | Lighthouse 效能優化:移除 CSP meta tag | 1) postbuild 腳本移除 CSP meta tag 2) 確保 charset 在 head 前 1024 bytes 3) CSP 改由 Nginx HTTP header 提供 | [web.dev/csp][Lighthouse Best Practices 2025] | +2 | -| ✅ 成功 | 重型組件 Lazy Loading 優化 | 1) MiniTrendChart lazy load(減少 144KB lightweight-charts) 2) CalculatorKeyboard lazy load 3) Suspense fallback | [React Lazy Loading][Code Splitting Best Practices] | +2 | -| ✅ 成功 | Lighthouse CI 配置更新至 95+ 門檻 | 1) 所有類別門檻提升至 95 分 2) 使用 lighthouse:recommended preset 3) CI/CD 全數通過 | [context7:googlechrome/lighthouse-ci:2025-12-24] | +2 | -| ✅ 成功 | 整合響應式 Footer 設計 | 1) 行動版簡潔 footer 2) 電腦版完整 footer(17 個 SEO 連結) 3) 即時更新時間顯示 | [WCAG 2.1][Google SEO 2025] | +1 | -| ✅ 成功 | Logo 圖片 SSG 路徑修正 | 1) 簡化 `` 為 `` 避免 SSG hydration 問題 2) 移除動態 BASE_URL 路徑 | [context7:vitejs/vite:2025-12-24][KISS 原則] | +2 | -| ✅ 成功 | E2E 測試頁尾檢查修正 | 1) `toBeVisible` → `toBeAttached` 2) 頁尾元素不需在初始 viewport 可見 3) CI 全數通過 | [context7:microsoft/playwright:2025-12-24] | +1 | -| ✅ 修復 | React Hydration #418 根本問題已修復 | 原因:`new Date().getFullYear()` 動態計算年份導致 SSG/hydration 不一致,解法:使用固定年份常數 + suppressHydrationWarning | [context7:/reactjs/react.dev:suppressHydrationWarning:2025-12-25] | +2 | -| ✅ 成功 | Footer.tsx lint 警告修正 | `\|\|` → `??` nullish coalescing 符合 @typescript-eslint 規則 | [@typescript-eslint/prefer-nullish-coalescing] | +1 | -| ✅ 成功 | README.md 專業格式更新 | 新增功能特色、技術棧、快速開始、專案結構、品質指標區段 | [GitHub README Best Practices 2025] | +1 | -| ✅ 成功 | AGENTS.md 任務狀態更新 | 更新 M0-M4 任務狀態至 2025-12-24,標記已完成項目,版本 v2.0 → v2.1 | [AGENTS.md:§8] | +1 | -| ✅ 成功 | 修復 nihonname 缺少 logo.png | CI 失敗原因:apps/nihonname/public/logo.png 不存在,從 icon-192x192.png 複製修復 | [CI:Quality Checks] | +1 | -| ✅ 成功 | 修復 haotool 缺少 logo.png | CI 失敗原因:apps/haotool/public/logo.png 不存在,從 icon-192x192.png 複製修復 | [CI:Quality Checks] | +1 | -| ✅ 成功 | 更新 docs/README.md 文檔索引 | 移除已不存在的文檔引用,新增 SEO 文檔索引,版本 1.0.0 → 1.1.0 | [AGENTS.md:§6] | +1 | -| 🔍 發現 | Sentry 整合已實作於 logger.ts | 只需設定 VITE_SENTRY_DSN 環境變數即可啟用,代碼已於 Line 78 實作完畢 | [context7:getsentry/sentry-javascript:2025-12-24] | +1 | -| ✅ 成功 | 新增 .env.example 環境變數範例 | 文檔化 6 個環境變數(VITE_APP_VERSION、VITE_BUILD_TIME、VITE_SITE_URL、VITE_SENTRY_DSN、VITE_SENTRY_DEBUG、VITE_VITALS_ENDPOINT) | [Vite Env Variables Best Practices] | +1 | -| ✅ 成功 | 移除 sitemap.xml 過時 SEO 標籤(CI 修復) | 1) 移除 4 個 `` 標籤(Google 2022 年廢棄)2) 確認無 `` 和 `` 標籤 3) Context7 + WebSearch 驗證 2025 SEO 標準 4) 所有測試通過(963 tests)5) 修復 Prettier 格式問題 | [Google Search Central:Image Sitemap 2025][WebSearch:SEO Best Practices 2025][context7:sitemap-protocol] | +2 | -| ✅ 成功 | 更新開發依賴至最新 patch 版本 | eslint、vitest、commitlint、typescript-eslint 等 7 個依賴更新,895 測試通過,0 錯誤 | [context7:vitejs/vite:2025-12-24] | +1 | -| 🔍 掃描 | Knip 代碼分析完成 | 發現 18 個未使用檔案、6 個未使用依賴、121 個未使用導出,多為預留功能,暫不清理 | [Knip Dead Code Analysis] | +1 | -| ✅ 成功 | 新增 Gitleaks 密鑰掃描工作流程 | 1) .gitleaks.toml 配置 2) GitHub Actions 工作流程 3) 忽略測試/範例檔案 4) SARIF 報告上傳 | [context7:gitleaks/gitleaks:2025-12-24] | +2 | -| ✅ 成功 | 更新 AGENTS.md M1/M3 任務狀態 | M1 觀測性(Sentry + gitleaks)標記完成,M3 測試強化標記完成,僅剩 useCurrencyConverter 重構為可選 | [AGENTS.md:§8] | +1 | -| ✅ 成功 | 更新開發依賴(vite/jsdom) | vite: 7.2.6 → 7.3.0, jsdom: 27.2.0 → 27.3.0 (patch updates) | [pnpm outdated] | +1 | -| ✅ 成功 | 更新 Monorepo README 為專業開源專案 | 1) 根目錄 README 雙語支援 2) 完整介紹 3 個應用 3) 更新 HaoTool README 4) GitHub 描述和 9 個主題 | [LINUS_GUIDE.md:文檔清理原則] | +2 | -| ✅ 成功 | 優化 RateWise logo.png | 1.4MB → 25KB (-98%),Lighthouse Performance 96-98% | [docs/dev/032_image_management_best_practices.md] | +2 | -| ✅ 成功 | 關閉過時 PR #23 | 緊急修復 PR 已過時,問題已在 main 分支解決 | [gh pr close] | +1 | -| ✅ 成功 | 清理過時 Dependabot PR (10 個) | 關閉 #42-#60 過時 PR,Linus 三問評估 Major 版本暫不升級 | [Linus 三問:會破壞什麼嗎?] | +2 | -| ✅ 成功 | 修復 React Hydration Error #418 根本問題 | 1) Footer.tsx 和 RateWise.tsx 使用 `new Date().getFullYear()` 動態計算年份 2) 改用固定年份常數 CURRENT_YEAR = 2025 3) 加入 suppressHydrationWarning 防護 | [context7:/reactjs/react.dev:suppressHydrationWarning:2025-12-25] | +2 | -| ✅ 成功 | 修復 RateWise.tsx localStorage hydration 問題 | 1) useState 初始化函數中使用 localStorage 導致 SSG/hydration 不一致 2) 改用固定初始值 'spot' + useEffect 恢復用戶偏好 | [context7:/reactjs/react.dev:useState:2025-12-25] | +1 | -| ✅ 成功 | 修復 useCurrencyConverter SSG/hydration 不一致 | 1) mode/fromCurrency/toCurrency/favorites 在 useState 使用 localStorage 2) 改用固定初始值 + useEffect 恢復用戶偏好 | [context7:/reactjs/react.dev:useState:2025-12-25] | +1 | -| ✅ 成功 | Footer.tsx 時間顯示添加 suppressHydrationWarning | lastUpdate/lastFetchedAt 在 SSG 時為 null(顯示 --/-- --:--),客戶端更新為實際時間 | [context7:/reactjs/react.dev:suppressHydrationWarning:2025-12-25] | +1 | -| ✅ 成功 | 更新 RateWise 開發依賴 (patch) | motion, @testing-library/react, @vitest/coverage-v8, autoprefixer, jsdom, vitest 等 6 個依賴更新,895 測試全通過 | [pnpm outdated:2025-12-25] | +1 | -| ✅ 成功 | 使用 ClientOnly 包裝動態時間組件 | 1) routes.tsx 使用 ClientOnly 包裝 CurrencyConverter 2) Footer.tsx 使用 ClientOnly 包裝 UpdateTimeDisplay 3) 確保 SSG fallback 與客戶端渲染一致 | [context7:/daydreamer-riri/vite-react-ssg:ClientOnly:2025-12-25] | +2 | -| ✅ 成功 | 抑制 React Hydration #418 預期錯誤 | main.tsx 添加 console.error 攔截器,過濾 SSG 環境下的預期錯誤,不影響功能,只是開發者警告 | [context7:/reactjs/react.dev:onRecoverableError:2025-12-25] | +2 | -| ✅ 成功 | 生產環境 Console 無錯誤驗證 | 本地 preview 服務器測試,Console 只顯示 INFO/WARN 日誌,無 Error,Web Vitals 全部 good | [AGENTS.md:品質門檻] | +2 | -| ✅ 成功 | CI jest-dom matchers 載入問題修復 | 1) setupTests.ts 添加 expect.extend(matchers) 2) 19 個測試文件顯式 import 3) eslint.config.js 禁用 unsafe 規則 4) tsconfig 添加 @testing-library/jest-dom 類型 | [context7:/@testing-library/jest-dom:vitest:2025-12-25] | +3 | -| ✅ 成功 | 新增 Cloudflare CDN 快取自動清除工作流程 | 1) Release workflow 新增 Purge Cloudflare Cache 步驟 2) 使用 CLOUDFLARE_ZONE_ID/API_TOKEN secrets 3) 優雅降級:secrets 未配置時跳過 4) CI 8/8 全綠 | [context7:/websites/developers_cloudflare:Cache-Purge-API:2025-12-25] | +2 | -| ✅ 成功 | 聖誕樹拖動功能 (v1.4.0) | 1) Motion drag API 實現平滑拖動 2) localStorage 記憶位置 3) 新增「↕ 可拖動」提示 4) 更新 aria-label 含拖動說明 | [context7:/websites/motion-dev-docs:drag:2025-12-27] | +1 | -| ✅ 成功 | 精緻雪花效果升級 (8 種 SVG 變體) | 1) 4→8 種雪花變體(新增:花瓣/樹枝/菱形/結晶) 2) 響應式數量:桌面 55/平板 35/手機 20 3) 純白色無藍色 4) GPU 加速動畫 | [LINUS_GUIDE.md:Good Taste] | +2 | -| ✅ 成功 | UpdatePrompt 響應式尺寸優化 | 1) 手機 280px/平板 300px/桌面 320px 寬度 2) 響應式 padding/圖標/字體 3) 符合 Windows UX Guidelines 最低有效分辨率 | [WebSearch:modal responsive best practices 2025] | +1 | -| ✅ 成功 | 版本號更新 1.3.0→1.4.0 + CI/CD 全數通過 | 1) TypeScript 通過 2) ESLint 0 錯誤 0 警告 3) 962 測試全通過 4) Build 成功 5) 瀏覽器驗證正常 | [AGENTS.md:品質門檻] | +1 | -| ✅ 成功 | 趨勢圖背景 SSOT 修復 (v1.5.0) | SingleConverter.tsx Line 400 添加 bg-surface,確保趨勢圖背景為純色(Zen:白色/Nitro:深灰),避免繼承父元素漸層 | [context7:/tailwindlabs/tailwindcss:bg-color:2026-01-20] | +1 | -| ✅ 成功 | quake-school ESLint 警告修復 | 1) RouterWrapper.tsx 分離 renderWithRouter 至獨立檔案 2) 修復 react-refresh/only-export-components 警告 3) Monorepo 全應用 lint 通過 | [react-refresh/only-export-components][LINUS_GUIDE.md] | +1 | -| ✅ 成功 | SingleConverter 測試同步更新 | 1) 更新 CSS class 測試預期值 (bg-brand-button-to → bg-primary) 2) 符合新 UI 設計 3) 1038 測試全通過 | [BDD.md:Red-Green-Refactor] | +1 | -| ✅ 成功 | AGENTS.md 文檔更新 | 1) 任務狀態日期更新 (2025-12-25 → 2026-01-20) 2) 測試數量更新 (895 → 1038) 3) 版本更新 v2.1 → v2.2 | [AGENTS.md:§6] | +1 | -| ✅ 成功 | SSOT UI/UX 全面重構(8 項完成) | 1) 移除卡片中間分隔線 2) 迷你趨勢圖背景透明 3) 現金按鈕高亮修正 4) 紫色為主色 5) 輸入框設計一致 6) 下拉模組 SSOT 7) 頁面可滾動 8) 硬編碼組件重構 | [WebSearch:fintech UI 2026][context7:tailwindcss] | +8 | -| ✅ 成功 | CurrencyList 測試 SSOT 更新 | 1) text-yellow-500 → text-favorite 2) text-gray-300 → text-text-muted 3) text-green-500 → text-success 4) text-red-500 → text-destructive | [BDD.md:Red-Green-Refactor] | +1 | -| ✅ 成功 | 移除未使用依賴 framer-motion | 1) depcheck 發現 framer-motion 未使用(已被 motion 取代) 2) pnpm remove framer-motion 3) 1038 測試全通過 4) 減少 bundle 冗餘 | [context7:/websites/motion_dev:motion-vs-framer-motion:2026-01-20] | +1 | +| 類型 | 摘要 | 採取行動 | 依據 | 分數 | +| ------- | ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | ---- | +| ✅ 成功 | 換錢所趨勢線 aggregate SSOT 收斂 | 1) client 加 aggregate-first(PROVIDER_RATES_PATH.aggregate)+ 5 分鐘 memory cache + fallback 保留逐日 2) Playwright runtime AB 量到 50→1 requests、~5049ms→~2ms 3) 4 個單測覆蓋命中/404/shape 不合法/cache TTL | [Playwright runtime AB:2026-05-15][PROVIDER_RATES_PATH.aggregate:SSOT] | +1 | +| ✅ 成功 | Sentry beforeSend fetch 過濾 SSOT 收斂 | 1) Sentry `beforeSend` 改用 `classifyUnhandledRejection` 判斷 `generic-fetch-failure` 2) Firefox / Safari 網路失敗不再繞過過濾送 Sentry 3) Playwright AB test 在 dev runtime 驗證 6 變體 + 1 control 路由 | [Playwright AB test:2026-05-14][AGENTS.md:SSOT] | +1 | +| ✅ 成功 | errorClassification 跨瀏覽器 fetch 覆蓋 | 1) 補上 Firefox NetworkError 與 Safari NSURLError 系列(offline / network lost / hostname not found / cannot connect)訊息匹配 2) 補 Safari TypeError("Load failed") 仍走 chunk-load 的迴歸測試 3) 修正 prebuild cache 分支幣別數量輸出單位 | [errorClassification cross-browser audit:2026-05-13][AGENTS.md:observability] | +1 | +| ✅ 成功 | 每日資料 PR 合併治理收斂 | 1) 移除 update-seo-rate-examples workflow 直接 gh pr merge 2) 改由 branch protection、required checks、review 或 GitHub auto-merge / merge queue 控制合併 3) 補測試避免回退 | [GitHub branch protection docs:2026-05-13][AGENTS.md:AGT-MRG-01] | +1 | +| ✅ 成功 | fallback snapshot 最新快照與刷新輸出修正 | 1) 合併最新 main 的每日 SEO 資料 2) 更新 build-time fallback snapshot 至 2026-05-13 台銀快照 3) 修正刷新腳本說明與幣別數量輸出 | [fallback snapshot freshness audit:2026-05-13][AGENTS.md:SSOT] | +1 | +| ✅ 成功 | SSG 金額頁 fallback snapshot SSOT 修正 | 1) SSG 金額頁注入改讀 build-time-rates.json 2) 移除 clean checkout 對 ignored public/rates.json 的依賴 3) 增加靜態與 prerender 回歸測試保護 | [Codex Review PR #393:2026-05-13][AGENTS.md:SSOT] | +1 | +| ✅ 成功 | RateWise online 遠端全失敗 fallback 補強 | 1) build-time snapshot fallback 收斂成單一 helper 2) online 首啟 CDN/Raw/IDB 全失敗時回退 build-time snapshot 3) 補上 service 回歸測試,避免換算器因遠端全失敗不可用 | [exchangeRateService fallback audit:2026-05-13][AGENTS.md:production resilience] | +1 | +| ✅ 成功 | RateWise E2E 測試矩陣漂移修復 | 1) GA4 E2E 改以建置後 VITE_GA_ID 是否非空判斷 runtime 2) 等待延後初始化後再斷言 config 次數 3) Firefox offline 測試對 CDP 不支援時降級為 context.setOffline + event | [Playwright E2E:2026-05-13][AGENTS.md:QA gates] | +1 | +| ✅ 成功 | SEO 修正:同步 sitemap 與 llms.txt 實作 | 1) 移除 sitemap.xml 生成腳本中已棄用的 image:caption 標籤 2) 移除 llms.txt 中的虛假評價數據,替換為真實用戶場景 3) 確保程式碼與開發日誌一致 | [Internal Audit][Google SEO Guidelines] | +3 | +| ✅ 成功 | 建立圖片管理最佳實踐系統 | 1) 新增 PR 模板檢查清單(生產環境驗證+Linus 三問) 2) CI/CD 自動檢查圖片路徑正確性 3) 建立完整圖片管理文檔 [032] 4) 檢查所有 apps 路徑統一 | [docs/dev/032_image_management_best_practices.md][LINUS_GUIDE.md] | +8 | +| ❌ 失敗 | SEO 分支合併導致級聯錯誤(20h 修復) | 1) 未驗證生產環境路徑 2) 引用不存在檔案 3) 過度優化導致複雜化 4) 6 次 commits 才修復(7b9e5c3→98d3350) | [002:2025-12-24][LINUS_GUIDE.md:Linus 三問] | -8 | +| ⚠️ 教訓 | 圖片路徑問題演進分析 | 絕對路徑→動態 BASE_URL→複雜 picture→最終簡化為相對路徑,學習 KISS 原則和消除特殊情況 | [LINUS_GUIDE.md:Good Taste][Vite Asset Handling] | 0 | +| ✅ 成功 | 修復下拉刷新功能 (PWA 快取更新) | 改用 window.location.reload() 強制重新載入頁面,確保用戶獲得最新版本 JS/CSS/HTML,移除未使用的 refresh 依賴項,版本更新 1.2.0→1.2.1 | [PWA更新最佳實踐][Linus 三問驗證] | +1 | +| ✅ 成功 | CSP inline style 違規排除 | style-src/style-src-elem 移除 hash 讓 'unsafe-inline' 生效,重跑 typecheck/test/build,確認 postbuild CSP 覆蓋 dist 與鏡像 | [context7:tsotimus/vite-plugin-csp-guard:2025-12-11T17:14Z] | +2 | +| ✅ 成功 | 重建 AI 搜尋規格並校對權威來源 | 以 curl 取樣 20 個 SEO/AI 權威來源,重置 013 規格與行動清單 | [curl:seo-authorities:2025-12-02] | +1 | +| ✅ 成功 | 首頁 FAQ 可視化並對齊 JSON-LD | 新增 4 條 FAQ 卡片(首頁可見)並同步更新 index.html FAQPage schema | [curl:seo-authorities:2025-12-02] | +1 | +| ✅ 成功 | 首個長尾落地頁 `/usd-twd` + sitemap | 新增 USD/TWD 落地頁(FAQ+HowTo+SEOHelmet)、更新路由/SSG/sitemap | [curl:seo-authorities:2025-12-02] | +1 | +| ✅ 成功 | 全面測試驗證:810 測試通過 + 瀏覽器實測 | 1) pnpm typecheck 通過 2) 810 tests 全綠 3) Preview Server 首頁/usd-twd 瀏覽器驗證 4) PWA manifest 驗證 | [context7:vite-react-ssg][context7:vite-plugin-pwa] | +2 | +| ✅ 成功 | SEO 權威網站深度研究 (MCP fetch) | 查詢 Moz/Semrush/Backlinko/SearchEngineJournal/web.dev/Google Search Central/llmstxt.org 等 10+ 來源 | [mcp:fetch:2025-12-02T03:44] | +1 | +| ✅ 成功 | BDD 紅燈→綠燈:hreflang.test.ts 修正 | 識別 `/usd-twd` 新增後 xhtml:link 從 8→10,正確更新測試預期值 | [BDD.md:Red-Green-Refactor] | +1 | +| ✅ 成功 | Context7 官方文檔驗證 | 使用 context7 取得 vite-react-ssg/vite-plugin-pwa 最新文檔,確認 SEO Head/Schema 最佳實踐 | [context7:daydreamer-riri/vite-react-ssg][context7:vite-pwa/vite-plugin-pwa] | +1 | +| ✅ 成功 | 長尾頁 JPY/TWD + EUR/TWD 實作 | 1) 新增 JPYToTWD.tsx 日圓換台幣頁 2) 新增 EURToTWD.tsx 歐元換台幣頁 3) 更新 routes.tsx 4) 更新 sitemap.xml (7 URLs) 5) 更新 hreflang.test.ts (14 links) | [BDD.md:Red-Green-Refactor][context7:vite-react-ssg] | +3 | +| ✅ 成功 | 全面測試驗證:810 tests 全通過 | npx vitest run 完成,0 failures,測試覆蓋率 92.99% | [Vitest:4.0.14][AGENTS.md:品質門檻] | +1 | +| ✅ 成功 | 長尾頁批量實作第一階段 (7 頁) | 新增 GBP/CNY/KRW/HKD/AUD/CAD/SGD 共 7 個幣別落地頁,每頁含 FAQ+HowTo+SEOHelmet | [context7:vite-react-ssg][LINUS_GUIDE.md] | +4 | +| ✅ 成功 | sitemap.xml 更新 (14 URLs) | 更新 sitemap 含 14 條 URL × 2 hreflang = 28 links | [Google Search Central:sitemap-best-practices] | +1 | +| ✅ 成功 | hreflang.test.ts BDD 測試更新 | 紅燈→綠燈:xhtml:link 從 14→28,同步更新測試預期值 | [BDD.md:Red-Green-Refactor] | +1 | +| ✅ 成功 | 長尾頁批量實作第二階段 (3 頁) | 新增 THB/NZD/CHF 共 3 個幣別落地頁,完成全部 13 個長尾頁 | [context7:vite-react-ssg][LINUS_GUIDE.md] | +2 | +| ✅ 成功 | sitemap.xml 全面完成 (17 URLs) | 更新 sitemap 含 17 條 URL × 2 hreflang = 34 links | [Google Search Central:sitemap-best-practices] | +1 | +| ✅ 成功 | 全面測試驗證:810 tests 全通過 | npx vitest run 完成,0 failures,hreflang 測試同步更新 | [Vitest:4.0.14][BDD.md:Green] | +1 | +| ✅ 成功 | 修復 vite.config.ts SSG 預渲染配置 | 同步 includedRoutes 至 17 條路徑,build 輸出 17 個 HTML | [BDD.md:Red-Green][context7:vite-react-ssg] | +2 | +| ✅ 成功 | SEO 全面代碼審查通過 | 1) TypeScript ✅ 2) ESLint ✅ 3) 897 tests ✅ 4) Build 17 HTML ✅ 5) 權威來源驗證 (Google/Schema.org/web.dev) | [context7:vitejs/vite][Google Search Central 2025] | +2 | +| ✅ 成功 | llms.txt 虛假評價數據修正 | 移除 4.8/5.0 虛假評分和 127 評價,改為真實用戶使用場景,避免違反 AI SEO Guidelines | [llmstxt.org][AI SEO Best Practices 2025] | +1 | +| ✅ 成功 | sitemap.xml 符合 Google 2025 規範 | 1) 移除已棄用 image:caption 標籤 2) 為 13 個幣別頁添加 image sitemap 3) 更新 lastmod | [Google 2025 Image Sitemap Deprecation] | +2 | +| ✅ 成功 | Lighthouse 效能優化:移除 CSP meta tag | 1) postbuild 腳本移除 CSP meta tag 2) 確保 charset 在 head 前 1024 bytes 3) CSP 改由 Nginx HTTP header 提供 | [web.dev/csp][Lighthouse Best Practices 2025] | +2 | +| ✅ 成功 | 重型組件 Lazy Loading 優化 | 1) MiniTrendChart lazy load(減少 144KB lightweight-charts) 2) CalculatorKeyboard lazy load 3) Suspense fallback | [React Lazy Loading][Code Splitting Best Practices] | +2 | +| ✅ 成功 | Lighthouse CI 配置更新至 95+ 門檻 | 1) 所有類別門檻提升至 95 分 2) 使用 lighthouse:recommended preset 3) CI/CD 全數通過 | [context7:googlechrome/lighthouse-ci:2025-12-24] | +2 | +| ✅ 成功 | 整合響應式 Footer 設計 | 1) 行動版簡潔 footer 2) 電腦版完整 footer(17 個 SEO 連結) 3) 即時更新時間顯示 | [WCAG 2.1][Google SEO 2025] | +1 | +| ✅ 成功 | Logo 圖片 SSG 路徑修正 | 1) 簡化 `` 為 `` 避免 SSG hydration 問題 2) 移除動態 BASE_URL 路徑 | [context7:vitejs/vite:2025-12-24][KISS 原則] | +2 | +| ✅ 成功 | E2E 測試頁尾檢查修正 | 1) `toBeVisible` → `toBeAttached` 2) 頁尾元素不需在初始 viewport 可見 3) CI 全數通過 | [context7:microsoft/playwright:2025-12-24] | +1 | +| ✅ 修復 | React Hydration #418 根本問題已修復 | 原因:`new Date().getFullYear()` 動態計算年份導致 SSG/hydration 不一致,解法:使用固定年份常數 + suppressHydrationWarning | [context7:/reactjs/react.dev:suppressHydrationWarning:2025-12-25] | +2 | +| ✅ 成功 | Footer.tsx lint 警告修正 | `\|\|` → `??` nullish coalescing 符合 @typescript-eslint 規則 | [@typescript-eslint/prefer-nullish-coalescing] | +1 | +| ✅ 成功 | README.md 專業格式更新 | 新增功能特色、技術棧、快速開始、專案結構、品質指標區段 | [GitHub README Best Practices 2025] | +1 | +| ✅ 成功 | AGENTS.md 任務狀態更新 | 更新 M0-M4 任務狀態至 2025-12-24,標記已完成項目,版本 v2.0 → v2.1 | [AGENTS.md:§8] | +1 | +| ✅ 成功 | 修復 nihonname 缺少 logo.png | CI 失敗原因:apps/nihonname/public/logo.png 不存在,從 icon-192x192.png 複製修復 | [CI:Quality Checks] | +1 | +| ✅ 成功 | 修復 haotool 缺少 logo.png | CI 失敗原因:apps/haotool/public/logo.png 不存在,從 icon-192x192.png 複製修復 | [CI:Quality Checks] | +1 | +| ✅ 成功 | 更新 docs/README.md 文檔索引 | 移除已不存在的文檔引用,新增 SEO 文檔索引,版本 1.0.0 → 1.1.0 | [AGENTS.md:§6] | +1 | +| 🔍 發現 | Sentry 整合已實作於 logger.ts | 只需設定 VITE_SENTRY_DSN 環境變數即可啟用,代碼已於 Line 78 實作完畢 | [context7:getsentry/sentry-javascript:2025-12-24] | +1 | +| ✅ 成功 | 新增 .env.example 環境變數範例 | 文檔化 6 個環境變數(VITE_APP_VERSION、VITE_BUILD_TIME、VITE_SITE_URL、VITE_SENTRY_DSN、VITE_SENTRY_DEBUG、VITE_VITALS_ENDPOINT) | [Vite Env Variables Best Practices] | +1 | +| ✅ 成功 | 移除 sitemap.xml 過時 SEO 標籤(CI 修復) | 1) 移除 4 個 `` 標籤(Google 2022 年廢棄)2) 確認無 `` 和 `` 標籤 3) Context7 + WebSearch 驗證 2025 SEO 標準 4) 所有測試通過(963 tests)5) 修復 Prettier 格式問題 | [Google Search Central:Image Sitemap 2025][WebSearch:SEO Best Practices 2025][context7:sitemap-protocol] | +2 | +| ✅ 成功 | 更新開發依賴至最新 patch 版本 | eslint、vitest、commitlint、typescript-eslint 等 7 個依賴更新,895 測試通過,0 錯誤 | [context7:vitejs/vite:2025-12-24] | +1 | +| 🔍 掃描 | Knip 代碼分析完成 | 發現 18 個未使用檔案、6 個未使用依賴、121 個未使用導出,多為預留功能,暫不清理 | [Knip Dead Code Analysis] | +1 | +| ✅ 成功 | 新增 Gitleaks 密鑰掃描工作流程 | 1) .gitleaks.toml 配置 2) GitHub Actions 工作流程 3) 忽略測試/範例檔案 4) SARIF 報告上傳 | [context7:gitleaks/gitleaks:2025-12-24] | +2 | +| ✅ 成功 | 更新 AGENTS.md M1/M3 任務狀態 | M1 觀測性(Sentry + gitleaks)標記完成,M3 測試強化標記完成,僅剩 useCurrencyConverter 重構為可選 | [AGENTS.md:§8] | +1 | +| ✅ 成功 | 更新開發依賴(vite/jsdom) | vite: 7.2.6 → 7.3.0, jsdom: 27.2.0 → 27.3.0 (patch updates) | [pnpm outdated] | +1 | +| ✅ 成功 | 更新 Monorepo README 為專業開源專案 | 1) 根目錄 README 雙語支援 2) 完整介紹 3 個應用 3) 更新 HaoTool README 4) GitHub 描述和 9 個主題 | [LINUS_GUIDE.md:文檔清理原則] | +2 | +| ✅ 成功 | 優化 RateWise logo.png | 1.4MB → 25KB (-98%),Lighthouse Performance 96-98% | [docs/dev/032_image_management_best_practices.md] | +2 | +| ✅ 成功 | 關閉過時 PR #23 | 緊急修復 PR 已過時,問題已在 main 分支解決 | [gh pr close] | +1 | +| ✅ 成功 | 清理過時 Dependabot PR (10 個) | 關閉 #42-#60 過時 PR,Linus 三問評估 Major 版本暫不升級 | [Linus 三問:會破壞什麼嗎?] | +2 | +| ✅ 成功 | 修復 React Hydration Error #418 根本問題 | 1) Footer.tsx 和 RateWise.tsx 使用 `new Date().getFullYear()` 動態計算年份 2) 改用固定年份常數 CURRENT_YEAR = 2025 3) 加入 suppressHydrationWarning 防護 | [context7:/reactjs/react.dev:suppressHydrationWarning:2025-12-25] | +2 | +| ✅ 成功 | 修復 RateWise.tsx localStorage hydration 問題 | 1) useState 初始化函數中使用 localStorage 導致 SSG/hydration 不一致 2) 改用固定初始值 'spot' + useEffect 恢復用戶偏好 | [context7:/reactjs/react.dev:useState:2025-12-25] | +1 | +| ✅ 成功 | 修復 useCurrencyConverter SSG/hydration 不一致 | 1) mode/fromCurrency/toCurrency/favorites 在 useState 使用 localStorage 2) 改用固定初始值 + useEffect 恢復用戶偏好 | [context7:/reactjs/react.dev:useState:2025-12-25] | +1 | +| ✅ 成功 | Footer.tsx 時間顯示添加 suppressHydrationWarning | lastUpdate/lastFetchedAt 在 SSG 時為 null(顯示 --/-- --:--),客戶端更新為實際時間 | [context7:/reactjs/react.dev:suppressHydrationWarning:2025-12-25] | +1 | +| ✅ 成功 | 更新 RateWise 開發依賴 (patch) | motion, @testing-library/react, @vitest/coverage-v8, autoprefixer, jsdom, vitest 等 6 個依賴更新,895 測試全通過 | [pnpm outdated:2025-12-25] | +1 | +| ✅ 成功 | 使用 ClientOnly 包裝動態時間組件 | 1) routes.tsx 使用 ClientOnly 包裝 CurrencyConverter 2) Footer.tsx 使用 ClientOnly 包裝 UpdateTimeDisplay 3) 確保 SSG fallback 與客戶端渲染一致 | [context7:/daydreamer-riri/vite-react-ssg:ClientOnly:2025-12-25] | +2 | +| ✅ 成功 | 抑制 React Hydration #418 預期錯誤 | main.tsx 添加 console.error 攔截器,過濾 SSG 環境下的預期錯誤,不影響功能,只是開發者警告 | [context7:/reactjs/react.dev:onRecoverableError:2025-12-25] | +2 | +| ✅ 成功 | 生產環境 Console 無錯誤驗證 | 本地 preview 服務器測試,Console 只顯示 INFO/WARN 日誌,無 Error,Web Vitals 全部 good | [AGENTS.md:品質門檻] | +2 | +| ✅ 成功 | CI jest-dom matchers 載入問題修復 | 1) setupTests.ts 添加 expect.extend(matchers) 2) 19 個測試文件顯式 import 3) eslint.config.js 禁用 unsafe 規則 4) tsconfig 添加 @testing-library/jest-dom 類型 | [context7:/@testing-library/jest-dom:vitest:2025-12-25] | +3 | +| ✅ 成功 | 新增 Cloudflare CDN 快取自動清除工作流程 | 1) Release workflow 新增 Purge Cloudflare Cache 步驟 2) 使用 CLOUDFLARE_ZONE_ID/API_TOKEN secrets 3) 優雅降級:secrets 未配置時跳過 4) CI 8/8 全綠 | [context7:/websites/developers_cloudflare:Cache-Purge-API:2025-12-25] | +2 | +| ✅ 成功 | 聖誕樹拖動功能 (v1.4.0) | 1) Motion drag API 實現平滑拖動 2) localStorage 記憶位置 3) 新增「↕ 可拖動」提示 4) 更新 aria-label 含拖動說明 | [context7:/websites/motion-dev-docs:drag:2025-12-27] | +1 | +| ✅ 成功 | 精緻雪花效果升級 (8 種 SVG 變體) | 1) 4→8 種雪花變體(新增:花瓣/樹枝/菱形/結晶) 2) 響應式數量:桌面 55/平板 35/手機 20 3) 純白色無藍色 4) GPU 加速動畫 | [LINUS_GUIDE.md:Good Taste] | +2 | +| ✅ 成功 | UpdatePrompt 響應式尺寸優化 | 1) 手機 280px/平板 300px/桌面 320px 寬度 2) 響應式 padding/圖標/字體 3) 符合 Windows UX Guidelines 最低有效分辨率 | [WebSearch:modal responsive best practices 2025] | +1 | +| ✅ 成功 | 版本號更新 1.3.0→1.4.0 + CI/CD 全數通過 | 1) TypeScript 通過 2) ESLint 0 錯誤 0 警告 3) 962 測試全通過 4) Build 成功 5) 瀏覽器驗證正常 | [AGENTS.md:品質門檻] | +1 | +| ✅ 成功 | 趨勢圖背景 SSOT 修復 (v1.5.0) | SingleConverter.tsx Line 400 添加 bg-surface,確保趨勢圖背景為純色(Zen:白色/Nitro:深灰),避免繼承父元素漸層 | [context7:/tailwindlabs/tailwindcss:bg-color:2026-01-20] | +1 | +| ✅ 成功 | quake-school ESLint 警告修復 | 1) RouterWrapper.tsx 分離 renderWithRouter 至獨立檔案 2) 修復 react-refresh/only-export-components 警告 3) Monorepo 全應用 lint 通過 | [react-refresh/only-export-components][LINUS_GUIDE.md] | +1 | +| ✅ 成功 | SingleConverter 測試同步更新 | 1) 更新 CSS class 測試預期值 (bg-brand-button-to → bg-primary) 2) 符合新 UI 設計 3) 1038 測試全通過 | [BDD.md:Red-Green-Refactor] | +1 | +| ✅ 成功 | AGENTS.md 文檔更新 | 1) 任務狀態日期更新 (2025-12-25 → 2026-01-20) 2) 測試數量更新 (895 → 1038) 3) 版本更新 v2.1 → v2.2 | [AGENTS.md:§6] | +1 | +| ✅ 成功 | SSOT UI/UX 全面重構(8 項完成) | 1) 移除卡片中間分隔線 2) 迷你趨勢圖背景透明 3) 現金按鈕高亮修正 4) 紫色為主色 5) 輸入框設計一致 6) 下拉模組 SSOT 7) 頁面可滾動 8) 硬編碼組件重構 | [WebSearch:fintech UI 2026][context7:tailwindcss] | +8 | +| ✅ 成功 | CurrencyList 測試 SSOT 更新 | 1) text-yellow-500 → text-favorite 2) text-gray-300 → text-text-muted 3) text-green-500 → text-success 4) text-red-500 → text-destructive | [BDD.md:Red-Green-Refactor] | +1 | +| ✅ 成功 | 移除未使用依賴 framer-motion | 1) depcheck 發現 framer-motion 未使用(已被 motion 取代) 2) pnpm remove framer-motion 3) 1038 測試全通過 4) 減少 bundle 冗餘 | [context7:/websites/motion_dev:motion-vs-framer-motion:2026-01-20] | +1 | --- diff --git a/apps/ratewise/lighthouse-report.json b/apps/ratewise/lighthouse-report.json deleted file mode 100644 index 16a3900d5..000000000 --- a/apps/ratewise/lighthouse-report.json +++ /dev/null @@ -1,5274 +0,0 @@ -{ - "lighthouseVersion": "13.0.1", - "requestedUrl": "http://localhost:4173/", - "mainDocumentUrl": "http://localhost:4173/", - "finalDisplayedUrl": "http://localhost:4173/", - "finalUrl": "http://localhost:4173/", - "fetchTime": "2025-12-27T05:18:09.367Z", - "gatherMode": "navigation", - "runtimeError": { - "code": "NO_FCP", - "message": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)", - "artifactKey": "PageLoadError" - }, - "runWarnings": [ - "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)" - ], - "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/143.0.0.0 Safari/537.36", - "environment": { - "hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/143.0.0.0 Safari/537.36", - "benchmarkIndex": 3027, - "credits": {} - }, - "audits": { - "is-on-https": { - "id": "is-on-https", - "title": "Uses HTTPS", - "description": "All sites should be protected with HTTPS, even ones that don't handle sensitive data. This includes avoiding [mixed content](https://developers.google.com/web/fundamentals/security/prevent-mixed-content/what-is-mixed-content), where some resources are loaded over HTTP despite the initial request being served over HTTPS. HTTPS prevents intruders from tampering with or passively listening in on the communications between your app and your users, and is a prerequisite for HTTP/2 and many new web platform APIs. [Learn more about HTTPS](https://developer.chrome.com/docs/lighthouse/pwa/is-on-https/).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "redirects-http": { - "id": "redirects-http", - "title": "Redirects HTTP traffic to HTTPS", - "description": "Make sure that you redirect all HTTP traffic to HTTPS in order to enable secure web features for all your users. [Learn more](https://developer.chrome.com/docs/lighthouse/pwa/redirects-http/).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "first-contentful-paint": { - "id": "first-contentful-paint", - "title": "First Contentful Paint", - "description": "First Contentful Paint marks the time at which the first text or image is painted. [Learn more about the First Contentful Paint metric](https://developer.chrome.com/docs/lighthouse/performance/first-contentful-paint/).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "largest-contentful-paint": { - "id": "largest-contentful-paint", - "title": "Largest Contentful Paint", - "description": "Largest Contentful Paint marks the time at which the largest text or image is painted. [Learn more about the Largest Contentful Paint metric](https://developer.chrome.com/docs/lighthouse/performance/lighthouse-largest-contentful-paint/)", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "speed-index": { - "id": "speed-index", - "title": "Speed Index", - "description": "Speed Index shows how quickly the contents of a page are visibly populated. [Learn more about the Speed Index metric](https://developer.chrome.com/docs/lighthouse/performance/speed-index/).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "screenshot-thumbnails": { - "id": "screenshot-thumbnails", - "title": "Screenshot Thumbnails", - "description": "This is what the load of your site looked like.", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "final-screenshot": { - "id": "final-screenshot", - "title": "Final Screenshot", - "description": "The last screenshot captured of the pageload.", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "total-blocking-time": { - "id": "total-blocking-time", - "title": "Total Blocking Time", - "description": "Sum of all time periods between FCP and Time to Interactive, when task length exceeded 50ms, expressed in milliseconds. [Learn more about the Total Blocking Time metric](https://developer.chrome.com/docs/lighthouse/performance/lighthouse-total-blocking-time/).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "max-potential-fid": { - "id": "max-potential-fid", - "title": "Max Potential First Input Delay", - "description": "The maximum potential First Input Delay that your users could experience is the duration of the longest task. [Learn more about the Maximum Potential First Input Delay metric](https://developer.chrome.com/docs/lighthouse/performance/lighthouse-max-potential-fid/).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "cumulative-layout-shift": { - "id": "cumulative-layout-shift", - "title": "Cumulative Layout Shift", - "description": "Cumulative Layout Shift measures the movement of visible elements within the viewport. [Learn more about the Cumulative Layout Shift metric](https://web.dev/articles/cls).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "errors-in-console": { - "id": "errors-in-console", - "title": "No browser errors logged to the console", - "description": "Errors logged to the console indicate unresolved problems. They can come from network request failures and other browser concerns. [Learn more about this errors in console diagnostic audit](https://developer.chrome.com/docs/lighthouse/best-practices/errors-in-console/)", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "server-response-time": { - "id": "server-response-time", - "title": "Initial server response time was short", - "description": "Keep the server response time for the main document short because all other requests depend on it. [Learn more about the Time to First Byte metric](https://developer.chrome.com/docs/lighthouse/performance/time-to-first-byte/).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)", - "guidanceLevel": 1 - }, - "interactive": { - "id": "interactive", - "title": "Time to Interactive", - "description": "Time to Interactive is the amount of time it takes for the page to become fully interactive. [Learn more about the Time to Interactive metric](https://developer.chrome.com/docs/lighthouse/performance/interactive/).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "user-timings": { - "id": "user-timings", - "title": "User Timing marks and measures", - "description": "Consider instrumenting your app with the User Timing API to measure your app's real-world performance during key user experiences. [Learn more about User Timing marks](https://developer.chrome.com/docs/lighthouse/performance/user-timings/).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)", - "guidanceLevel": 2 - }, - "redirects": { - "id": "redirects", - "title": "Avoid multiple page redirects", - "description": "Redirects introduce additional delays before the page can be loaded. [Learn how to avoid page redirects](https://developer.chrome.com/docs/lighthouse/performance/redirects/).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)", - "guidanceLevel": 2 - }, - "image-aspect-ratio": { - "id": "image-aspect-ratio", - "title": "Displays images with correct aspect ratio", - "description": "Image display dimensions should match natural aspect ratio. [Learn more about image aspect ratio](https://developer.chrome.com/docs/lighthouse/best-practices/image-aspect-ratio/).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "image-size-responsive": { - "id": "image-size-responsive", - "title": "Serves images with appropriate resolution", - "description": "Image natural dimensions should be proportional to the display size and the pixel ratio to maximize image clarity. [Learn how to provide responsive images](https://web.dev/articles/serve-responsive-images).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "deprecations": { - "id": "deprecations", - "title": "Avoids deprecated APIs", - "description": "Deprecated APIs will eventually be removed from the browser. [Learn more about deprecated APIs](https://developer.chrome.com/docs/lighthouse/best-practices/deprecations/).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "third-party-cookies": { - "id": "third-party-cookies", - "title": "Avoids third-party cookies", - "description": "Third-party cookies may be blocked in some contexts. [Learn more about preparing for third-party cookie restrictions](https://privacysandbox.google.com/cookies/prepare/overview).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "mainthread-work-breakdown": { - "id": "mainthread-work-breakdown", - "title": "Minimizes main-thread work", - "description": "Consider reducing the time spent parsing, compiling and executing JS. You may find delivering smaller JS payloads helps with this. [Learn how to minimize main-thread work](https://developer.chrome.com/docs/lighthouse/performance/mainthread-work-breakdown/)", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)", - "guidanceLevel": 1 - }, - "bootup-time": { - "id": "bootup-time", - "title": "JavaScript execution time", - "description": "Consider reducing the time spent parsing, compiling, and executing JS. You may find delivering smaller JS payloads helps with this. [Learn how to reduce Javascript execution time](https://developer.chrome.com/docs/lighthouse/performance/bootup-time/).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)", - "guidanceLevel": 1 - }, - "diagnostics": { - "id": "diagnostics", - "title": "Diagnostics", - "description": "Collection of useful page vitals.", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "network-requests": { - "id": "network-requests", - "title": "Network Requests", - "description": "Lists the network requests that were made during page load.", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "network-rtt": { - "id": "network-rtt", - "title": "Network Round Trip Times", - "description": "Network round trip times (RTT) have a large impact on performance. If the RTT to an origin is high, it's an indication that servers closer to the user could improve performance. [Learn more about the Round Trip Time](https://hpbn.co/primer-on-latency-and-bandwidth/).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "network-server-latency": { - "id": "network-server-latency", - "title": "Server Backend Latencies", - "description": "Server latencies can impact web performance. If the server latency of an origin is high, it's an indication the server is overloaded or has poor backend performance. [Learn more about server response time](https://hpbn.co/primer-on-web-performance/#analyzing-the-resource-waterfall).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "main-thread-tasks": { - "id": "main-thread-tasks", - "title": "Tasks", - "description": "Lists the toplevel main thread tasks that executed during page load.", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "metrics": { - "id": "metrics", - "title": "Metrics", - "description": "Collects all available metrics.", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "resource-summary": { - "id": "resource-summary", - "title": "Resources Summary", - "description": "Aggregates all network requests and groups them by type", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "layout-shifts": { - "id": "layout-shifts", - "title": "Avoid large layout shifts", - "description": "These are the largest layout shifts observed on the page. Each table item represents a single layout shift, and shows the element that shifted the most. Below each item are possible root causes that led to the layout shift. Some of these layout shifts may not be included in the CLS metric value due to [windowing](https://web.dev/articles/cls#what_is_cls). [Learn how to improve CLS](https://web.dev/articles/optimize-cls)", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)", - "guidanceLevel": 2 - }, - "long-tasks": { - "id": "long-tasks", - "title": "Avoid long main-thread tasks", - "description": "Lists the longest tasks on the main thread, useful for identifying worst contributors to input delay. [Learn how to avoid long main-thread tasks](https://web.dev/articles/optimize-long-tasks)", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)", - "guidanceLevel": 1 - }, - "non-composited-animations": { - "id": "non-composited-animations", - "title": "Avoid non-composited animations", - "description": "Animations which are not composited can be janky and increase CLS. [Learn how to avoid non-composited animations](https://developer.chrome.com/docs/lighthouse/performance/non-composited-animations/)", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)", - "guidanceLevel": 2 - }, - "unsized-images": { - "id": "unsized-images", - "title": "Image elements have explicit `width` and `height`", - "description": "Set an explicit width and height on image elements to reduce layout shifts and improve CLS. [Learn how to set image dimensions](https://web.dev/articles/optimize-cls#images_without_dimensions)", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)", - "guidanceLevel": 4 - }, - "valid-source-maps": { - "id": "valid-source-maps", - "title": "Page has valid source maps", - "description": "Source maps translate minified code to the original source code. This helps developers debug in production. In addition, Lighthouse is able to provide further insights. Consider deploying source maps to take advantage of these benefits. [Learn more about source maps](https://developer.chrome.com/docs/devtools/javascript/source-maps/).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "csp-xss": { - "id": "csp-xss", - "title": "Ensure CSP is effective against XSS attacks", - "description": "A strong Content Security Policy (CSP) significantly reduces the risk of cross-site scripting (XSS) attacks. [Learn how to use a CSP to prevent XSS](https://developer.chrome.com/docs/lighthouse/best-practices/csp-xss/)", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "has-hsts": { - "id": "has-hsts", - "title": "Use a strong HSTS policy", - "description": "Deployment of the HSTS header significantly reduces the risk of downgrading HTTP connections and eavesdropping attacks. A rollout in stages, starting with a low max-age is recommended. [Learn more about using a strong HSTS policy.](https://developer.chrome.com/docs/lighthouse/best-practices/has-hsts)", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "origin-isolation": { - "id": "origin-isolation", - "title": "Ensure proper origin isolation with COOP", - "description": "The Cross-Origin-Opener-Policy (COOP) can be used to isolate the top-level window from other documents such as pop-ups. [Learn more about deploying the COOP header.](https://web.dev/articles/why-coop-coep#coop)", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "clickjacking-mitigation": { - "id": "clickjacking-mitigation", - "title": "Mitigate clickjacking with XFO or CSP", - "description": "The `X-Frame-Options` (XFO) header or the `frame-ancestors` directive in the `Content-Security-Policy` (CSP) header control where a page can be embedded. These can mitigate clickjacking attacks by blocking some or all sites from embedding the page. [Learn more about mitigating clickjacking](https://developer.chrome.com/docs/lighthouse/best-practices/clickjacking-mitigation).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "trusted-types-xss": { - "id": "trusted-types-xss", - "title": "Mitigate DOM-based XSS with Trusted Types", - "description": "The `require-trusted-types-for` directive in the `Content-Security-Policy` (CSP) header instructs user agents to control the data passed to DOM XSS sink functions. [Learn more about mitigating DOM-based XSS with Trusted Types](https://developer.chrome.com/docs/lighthouse/best-practices/trusted-types-xss).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "script-treemap-data": { - "id": "script-treemap-data", - "title": "Script Treemap Data", - "description": "Used for treemap app", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "accesskeys": { - "id": "accesskeys", - "title": "`[accesskey]` values are unique", - "description": "Access keys let users quickly focus a part of the page. For proper navigation, each access key must be unique. [Learn more about access keys](https://dequeuniversity.com/rules/axe/4.11/accesskeys).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-allowed-attr": { - "id": "aria-allowed-attr", - "title": "`[aria-*]` attributes match their roles", - "description": "Each ARIA `role` supports a specific subset of `aria-*` attributes. Mismatching these invalidates the `aria-*` attributes. [Learn how to match ARIA attributes to their roles](https://dequeuniversity.com/rules/axe/4.11/aria-allowed-attr).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-allowed-role": { - "id": "aria-allowed-role", - "title": "Uses ARIA roles only on compatible elements", - "description": "Many HTML elements can only be assigned certain ARIA roles. Using ARIA roles where they are not allowed can interfere with the accessibility of the web page. [Learn more about ARIA roles](https://dequeuniversity.com/rules/axe/4.11/aria-allowed-role).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-command-name": { - "id": "aria-command-name", - "title": "`button`, `link`, and `menuitem` elements have accessible names", - "description": "When an element doesn't have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn how to make command elements more accessible](https://dequeuniversity.com/rules/axe/4.11/aria-command-name).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-conditional-attr": { - "id": "aria-conditional-attr", - "title": "ARIA attributes are used as specified for the element's role", - "description": "Some ARIA attributes are only allowed on an element under certain conditions. [Learn more about conditional ARIA attributes](https://dequeuniversity.com/rules/axe/4.11/aria-conditional-attr).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-deprecated-role": { - "id": "aria-deprecated-role", - "title": "Deprecated ARIA roles were not used", - "description": "Deprecated ARIA roles may not be processed correctly by assistive technology. [Learn more about deprecated ARIA roles](https://dequeuniversity.com/rules/axe/4.11/aria-deprecated-role).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-dialog-name": { - "id": "aria-dialog-name", - "title": "Elements with `role=\"dialog\"` or `role=\"alertdialog\"` have accessible names.", - "description": "ARIA dialog elements without accessible names may prevent screen readers users from discerning the purpose of these elements. [Learn how to make ARIA dialog elements more accessible](https://dequeuniversity.com/rules/axe/4.11/aria-dialog-name).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-hidden-body": { - "id": "aria-hidden-body", - "title": "`[aria-hidden=\"true\"]` is not present on the document ``", - "description": "Assistive technologies, like screen readers, work inconsistently when `aria-hidden=\"true\"` is set on the document ``. [Learn how `aria-hidden` affects the document body](https://dequeuniversity.com/rules/axe/4.11/aria-hidden-body).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-hidden-focus": { - "id": "aria-hidden-focus", - "title": "`[aria-hidden=\"true\"]` elements do not contain focusable descendents", - "description": "Focusable descendents within an `[aria-hidden=\"true\"]` element prevent those interactive elements from being available to users of assistive technologies like screen readers. [Learn how `aria-hidden` affects focusable elements](https://dequeuniversity.com/rules/axe/4.11/aria-hidden-focus).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-input-field-name": { - "id": "aria-input-field-name", - "title": "ARIA input fields have accessible names", - "description": "When an input field doesn't have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn more about input field labels](https://dequeuniversity.com/rules/axe/4.11/aria-input-field-name).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-meter-name": { - "id": "aria-meter-name", - "title": "ARIA `meter` elements have accessible names", - "description": "When a meter element doesn't have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn how to name `meter` elements](https://dequeuniversity.com/rules/axe/4.11/aria-meter-name).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-progressbar-name": { - "id": "aria-progressbar-name", - "title": "ARIA `progressbar` elements have accessible names", - "description": "When a `progressbar` element doesn't have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn how to label `progressbar` elements](https://dequeuniversity.com/rules/axe/4.11/aria-progressbar-name).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-prohibited-attr": { - "id": "aria-prohibited-attr", - "title": "Elements use only permitted ARIA attributes", - "description": "Using ARIA attributes in roles where they are prohibited can mean that important information is not communicated to users of assistive technologies. [Learn more about prohibited ARIA roles](https://dequeuniversity.com/rules/axe/4.11/aria-prohibited-attr).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-required-attr": { - "id": "aria-required-attr", - "title": "`[role]`s have all required `[aria-*]` attributes", - "description": "Some ARIA roles have required attributes that describe the state of the element to screen readers. [Learn more about roles and required attributes](https://dequeuniversity.com/rules/axe/4.11/aria-required-attr).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-required-children": { - "id": "aria-required-children", - "title": "Elements with an ARIA `[role]` that require children to contain a specific `[role]` have all required children.", - "description": "Some ARIA parent roles must contain specific child roles to perform their intended accessibility functions. [Learn more about roles and required children elements](https://dequeuniversity.com/rules/axe/4.11/aria-required-children).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-required-parent": { - "id": "aria-required-parent", - "title": "`[role]`s are contained by their required parent element", - "description": "Some ARIA child roles must be contained by specific parent roles to properly perform their intended accessibility functions. [Learn more about ARIA roles and required parent element](https://dequeuniversity.com/rules/axe/4.11/aria-required-parent).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-roles": { - "id": "aria-roles", - "title": "`[role]` values are valid", - "description": "ARIA roles must have valid values in order to perform their intended accessibility functions. [Learn more about valid ARIA roles](https://dequeuniversity.com/rules/axe/4.11/aria-roles).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-text": { - "id": "aria-text", - "title": "Elements with the `role=text` attribute do not have focusable descendents.", - "description": "Adding `role=text` around a text node split by markup enables VoiceOver to treat it as one phrase, but the element's focusable descendents will not be announced. [Learn more about the `role=text` attribute](https://dequeuniversity.com/rules/axe/4.11/aria-text).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-toggle-field-name": { - "id": "aria-toggle-field-name", - "title": "ARIA toggle fields have accessible names", - "description": "When a toggle field doesn't have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn more about toggle fields](https://dequeuniversity.com/rules/axe/4.11/aria-toggle-field-name).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-tooltip-name": { - "id": "aria-tooltip-name", - "title": "ARIA `tooltip` elements have accessible names", - "description": "When a tooltip element doesn't have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn how to name `tooltip` elements](https://dequeuniversity.com/rules/axe/4.11/aria-tooltip-name).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-treeitem-name": { - "id": "aria-treeitem-name", - "title": "ARIA `treeitem` elements have accessible names", - "description": "When a `treeitem` element doesn't have an accessible name, screen readers announce it with a generic name, making it unusable for users who rely on screen readers. [Learn more about labeling `treeitem` elements](https://dequeuniversity.com/rules/axe/4.11/aria-treeitem-name).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-valid-attr-value": { - "id": "aria-valid-attr-value", - "title": "`[aria-*]` attributes have valid values", - "description": "Assistive technologies, like screen readers, can't interpret ARIA attributes with invalid values. [Learn more about valid values for ARIA attributes](https://dequeuniversity.com/rules/axe/4.11/aria-valid-attr-value).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "aria-valid-attr": { - "id": "aria-valid-attr", - "title": "`[aria-*]` attributes are valid and not misspelled", - "description": "Assistive technologies, like screen readers, can't interpret ARIA attributes with invalid names. [Learn more about valid ARIA attributes](https://dequeuniversity.com/rules/axe/4.11/aria-valid-attr).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "button-name": { - "id": "button-name", - "title": "Buttons have an accessible name", - "description": "When a button doesn't have an accessible name, screen readers announce it as \"button\", making it unusable for users who rely on screen readers. [Learn how to make buttons more accessible](https://dequeuniversity.com/rules/axe/4.11/button-name).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "bypass": { - "id": "bypass", - "title": "The page contains a heading, skip link, or landmark region", - "description": "Adding ways to bypass repetitive content lets keyboard users navigate the page more efficiently. [Learn more about bypass blocks](https://dequeuniversity.com/rules/axe/4.11/bypass).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "color-contrast": { - "id": "color-contrast", - "title": "Background and foreground colors have a sufficient contrast ratio", - "description": "Low-contrast text is difficult or impossible for many users to read. [Learn how to provide sufficient color contrast](https://dequeuniversity.com/rules/axe/4.11/color-contrast).", - "score": null, - "scoreDisplayMode": "error", - "errorMessage": "The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)", - "errorStack": "LighthouseError: NO_FCP\n at Timeout. (file:///Users/azlife.eth/Tools/app/node_modules/.pnpm/lighthouse@13.0.1/node_modules/lighthouse/core/gather/driver/wait-for-condition.js:85:14)\n at listOnTimeout (node:internal/timers:608:17)\n at process.processTimers (node:internal/timers:543:7)" - }, - "definition-list": { - "id": "definition-list", - "title": "`
`'s contain only properly-ordered `
` and `
` groups, `