Skip to content

fix(ratewise): 修復 Threads Barcelona UA 內建瀏覽器 PWA 指引#491

Closed
s123104 wants to merge 1 commit into
mainfrom
fix/threads-barcelona-inapp-ua
Closed

fix(ratewise): 修復 Threads Barcelona UA 內建瀏覽器 PWA 指引#491
s123104 wants to merge 1 commit into
mainfrom
fix/threads-barcelona-inapp-ua

Conversation

@s123104

@s123104 s123104 commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Cold start status on main

RememberedHomeRoute 已含 hydration fallback(queueMicrotask + store subscribe),由 #488 合併、#489 release。本 PR 不重複修改。

Test plan

  • pwaInstallGuide.test.ts — legacy Threads + Barcelona iOS/Android
  • PwaInstallGuide.test.tsx — legacy + Barcelona iOS 動畫指引
  • RememberedHomeRoute.test.tsx + coldStartRestore.test.ts — 回歸通過(32 tests)
  • pre-push:typecheck + full test + build:ratewise

Threads 驗證步驟(production)

  1. 在 Threads app 內開啟 RateWise 連結(Barcelona UA)
  2. 確認右上角「在瀏覽器開啟」動畫提示出現
  3. 確認 PWA 安裝指引 modal 顯示 external-browser 文案
  4. ... → 在 Safari/Chrome 開啟後,確認可正常觸發安裝流程

Made with Cursor

- pwaInstallGuide SSOT 補 Barcelona token(2024+ Threads 內建瀏覽器 UA)
- 新增 iOS/Android production UA 單元測試與 PwaInstallGuide 動畫指引覆蓋

測試:ratewise 目標測試 32 項通過、typecheck 通過

Co-authored-by: Cursor <cursoragent@cursor.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@github-actions

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

@s123104

s123104 commented Jun 27, 2026

Copy link
Copy Markdown
Contributor Author

此 PR 與 #490 為同一 Threads Barcelona UA hotfix 的重複提交,變更檔案範圍完全一致:

  • apps/ratewise/src/utils/pwaInstallGuide.ts
  • apps/ratewise/src/utils/__tests__/pwaInstallGuide.test.ts
  • apps/ratewise/src/components/__tests__/PwaInstallGuide.test.tsx
  • .changeset/threads-barcelona-inapp-ua.md
  • docs/dev/002_development_reward_penalty_log.md

#490 已於 2026-06-27 17:28 UTC squash merge 至 main(commit c24f666),因此關閉本 PR 以避免重複合併。

Release 請追蹤 #492@app/ratewise@2.25.8 patch)。

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