Skip to content

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

Open
s123104 wants to merge 1 commit into
codex/ratewise-support-info-iafrom
codex/ratewise-support-copy-i18n
Open

fix(ratewise): 收斂支援頁語系水合文案#405
s123104 wants to merge 1 commit into
codex/ratewise-support-info-iafrom
codex/ratewise-support-copy-i18n

Conversation

@s123104
Copy link
Copy Markdown
Contributor

@s123104 s123104 commented May 16, 2026

摘要

  • 疊在 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
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 16, 2026

⚠️ 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 結構化數據
  • ✅ 內部連結結構

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