Skip to content

fix(ratewise): 收斂支援頁語系水合文案#405

Merged
s123104 merged 2 commits into
codex/ratewise-support-info-iafrom
codex/ratewise-support-copy-i18n
Jun 24, 2026
Merged

fix(ratewise): 收斂支援頁語系水合文案#405
s123104 merged 2 commits into
codex/ratewise-support-info-iafrom
codex/ratewise-support-copy-i18n

Conversation

@s123104

@s123104 s123104 commented May 16, 2026

Copy link
Copy Markdown
Contributor

摘要

  • 疊在 PR fix(ratewise): 收斂支援資訊導覽體驗 #404 之後,將 FAQ、Guide、About、Privacy、OpenData、SeoTech 首屏與更新標籤收斂到 supportPages 四語系命名空間
  • 固定 SSG 初始語系為 zh-TW,並在 client mount 後同步已儲存的語言偏好,避免 Node navigator 或 localStorage 造成 hydration 文案漂移
  • 調整設定頁支援入口文案,移除偏工程與 AI governance 的使用者不可感描述

驗證

  • pnpm --filter @app/ratewise test -- src/i18n/index.test.ts src/i18n/locales.test.ts src/utils/tests/timeFormatter.test.ts src/pages/About.test.tsx src/pages/Guide.test.tsx src/pages/OpenData.test.tsx src/pages/Settings.hydration.test.tsx
  • pnpm --filter @app/ratewise typecheck
  • pnpm build:ratewise
  • pnpm test
  • pnpm typecheck
  • Chromium/WebKit mobile production smoke:預設 zh-TW 與 localStorage=en hydration 皆無 console/pageerror、無水平 overflow

@github-actions

github-actions Bot commented May 16, 2026

Copy link
Copy Markdown
Contributor

⚠️ Deprecation Warning: The deny-licenses option is deprecated for possible removal in the next major release. For more information, see issue 997.

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions

Copy link
Copy Markdown
Contributor

✅ SEO 審計通過!所有 2026 標準驗證項目都符合要求。

  • ✅ Sitemap 2026 標準
  • ✅ Breadcrumb Schema
  • ✅ JSON-LD 結構化數據
  • ✅ 內部連結結構

- 將支援與資訊頁首屏文案收斂到 supportPages 四語系命名空間。

- 固定 SSG 初始語系,mount 後再同步已儲存的語言偏好。

- 避免 Node navigator 或 localStorage 造成靜態 HTML 與水合文案漂移。

測試:focused vitest、RateWise typecheck、build:ratewise。

測試:pnpm test、pnpm typecheck、Chromium/WebKit mobile smoke。
@s123104 s123104 force-pushed the codex/ratewise-support-copy-i18n branch from 63c5bbe to c336cb8 Compare May 16, 2026 22:13
@github-actions

Copy link
Copy Markdown
Contributor

✅ SEO 審計通過!所有 2026 標準驗證項目都符合要求。

  • ✅ Sitemap 2026 標準
  • ✅ Breadcrumb Schema
  • ✅ JSON-LD 結構化數據
  • ✅ 內部連結結構

- 新增 popular-currency-links,讓首頁、footer、攻略頁與 ItemList 共用熱門幣別清單。

- 修正首頁 SEO section 標籤與桌機 footer 重複內連,並同步 About markdown mirror。

- 更新 SeoTech schema registry 與 002 稽核記錄,加入 changeset。

測試:focused vitest、Footer/首頁 smoke、RateWise typecheck、build:ratewise。

測試:pnpm typecheck、pnpm test、Chromium/WebKit production smoke。

Co-authored-by: haotool <haotool.org@gmail.com>
@s123104 s123104 merged commit 9f17c6f into codex/ratewise-support-info-ia Jun 24, 2026
4 checks passed
s123104 added a commit that referenced this pull request Jun 24, 2026
* fix(ratewise): 收斂支援資訊導覽體驗

- 重構支援與資訊入口為 SSOT 導覽與四語系描述卡片

- 補齊公開頁 safe-area header、行動版 footer 與高對比 active pill token

- 同步 SEO 技術頁、Settings skeleton、Guide 錨點與測試 guardrail

測試:pnpm --filter @app/ratewise test -- PageNavHeader Guide Skeleton tokens Settings

測試:pnpm --filter @app/ratewise typecheck

測試:pnpm --filter @app/ratewise build

測試:Playwright Chromium Firefox WebKit iPhone smoke

* fix(ratewise): 修正支援導覽路徑比對

- 正規化 PageNavHeader 當前 pathname,讓無 trailing slash 的支援頁仍顯示導覽。

- 補一般與 basename 部署下無 trailing slash 的 active pill 回歸測試。

- 更新 changeset 與 002 稽核記錄,對應 PR404 Codex review thread。

測試:PageNavHeader focused vitest 6 tests、RateWise typecheck。

* fix(ratewise): 收斂支援頁語系水合文案 (#405)

* fix(ratewise): 收斂支援頁語系水合文案

- 將支援與資訊頁首屏文案收斂到 supportPages 四語系命名空間。

- 固定 SSG 初始語系,mount 後再同步已儲存的語言偏好。

- 避免 Node navigator 或 localStorage 造成靜態 HTML 與水合文案漂移。

測試:focused vitest、RateWise typecheck、build:ratewise。

測試:pnpm test、pnpm typecheck、Chromium/WebKit mobile smoke。

* fix(ratewise): 收斂熱門幣別導覽 SSOT (#406)

- 新增 popular-currency-links,讓首頁、footer、攻略頁與 ItemList 共用熱門幣別清單。

- 修正首頁 SEO section 標籤與桌機 footer 重複內連,並同步 About markdown mirror。

- 更新 SeoTech schema registry 與 002 稽核記錄,加入 changeset。

測試:focused vitest、Footer/首頁 smoke、RateWise typecheck、build:ratewise。

測試:pnpm typecheck、pnpm test、Chromium/WebKit production smoke。

Co-authored-by: haotool <haotool.org@gmail.com>

---------

Co-authored-by: haotool <haotool.org@gmail.com>

---------

Co-authored-by: haotool <haotool.org@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

✅ SEO 審計通過!所有 2026 標準驗證項目都符合要求。

  • ✅ Sitemap 2026 標準
  • ✅ Breadcrumb Schema
  • ✅ JSON-LD 結構化數據
  • ✅ 內部連結結構

@s123104 s123104 deleted the codex/ratewise-support-copy-i18n branch June 25, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant