Repository navigation
chore: point marketing page URLs at metamask.com - #47733
gauthierpetetin wants to merge 2 commits into
Conversation
Update product marketing destinations such as Transaction Shield, Money, update, uninstall, restoring, news, and perps so they use metamask.com paths that already redirect from metamask.io. Co-authored-by: Cursor <cursoragent@cursor.com>
✨ Files requiring CODEOWNER review ✨✅ @MetaMask/confirmations (2 files, +2 -2)
👨🔧 @MetaMask/perps (1 files, +1 -1)
🔐 @MetaMask/web3auth (1 files, +1 -1)
|
Builds ready [c13bfee]
⚡ Performance Benchmarks (Total: 🟢 4 pass · 🟡 5 warn · 🔴 4 fail)
Bundle Size Diffs
|
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
There was a problem hiding this comment.
🟡 Changes recommended
Approval is blocked by an outdated critical-error URL test expectation and a Perps link change confined to an unused mock rather than the production source.
2 open issues
What changed in this PR
This pull request updates remaining MetaMask marketing and operational URLs from metamask.io to metamask.com, preserving existing paths and query parameters.
Changes:
- Repoints Money, Transaction Shield, news, Perps, update, uninstall, and restoring-page URLs.
- Updates related unit, E2E, mock, and fixture expectations.
- Updates security-alert metadata and MV2/MV3 manifest author URLs.
| File | Summary |
|---|---|
ui/pages/money/money-home-page.test.tsx |
Updates Money and mUSD URL expectations. |
ui/pages/money/constants/urls.ts |
Points Money and mUSD landing URLs to metamask.com. |
ui/pages/confirmations/hooks/alerts/transactions/ShieldCoverageAlertMessage.tsx |
Updates the Transaction Shield coverage link. |
ui/pages/confirmations/hooks/alerts/transactions/ShieldCoverageAlertMessage.test.tsx |
Updates Transaction Shield redirect expectations. |
ui/helpers/constants/common.ts |
Updates the shared Transaction Shield marketing link. |
ui/components/app/modals/pna25-modal/constants.ts |
Updates the analytics news article URL. |
ui/components/app/basic-functionality-migration-modal/constants.ts |
Updates the basic-functionality news article URL. |
ui/__mocks__/perps/perps-controller/index.ts |
Updates the mocked Perps marketing URL; however, this mock is not used by production code, so the production Perps URL remains unchanged. |
test/e2e/tests/update-modal/update-modal.spec.ts |
Mocks the new update-page domain. |
shared/lib/bridge-utils/security-alerts-api.util.ts |
Updates the security-alert request metadata domain. A token-scan request-body assertion for metadata.domain: 'https://metamask.com' is needed. |
shared/constants/critical-error-repair-session.ts |
Updates the restoring-page URL. |
app/scripts/lib/open-update-tab-and-reload.ts |
Opens the update page on metamask.com. |
app/scripts/lib/open-update-tab-and-reload.test.ts |
Updates update-page URL expectations. |
app/scripts/lib/critical-error/critical-error-tab-handoff.ts |
Updates the restoring-page redirect comment. |
app/scripts/lib/critical-error/critical-error-tab-handoff.test.ts |
Updates restoring-page fixtures and expectations; the remaining metamask.io/restoring regex must be updated to match the new implementation. |
app/scripts/controllers/analytics/analytics.ts |
Updates the extension uninstall URL. |
app/scripts/controllers/analytics/analytics.test.ts |
Updates uninstall URL expectations. |
app/manifest/v3/_base.json |
Updates the MV3 manifest author URL. |
app/manifest/v2/_base.json |
Updates the MV2 manifest author URL. |
Review effort: Lite
Fix oxfmt formatting in constants and money page tests, and update the restoring tab URL matcher to expect metamask.com. Co-authored-by: Cursor <cursoragent@cursor.com>
Builds ready [1b53a60]
⚡ Performance Benchmarks (Total: 🟢 6 pass · 🟡 5 warn · 🔴 2 fail)
Bundle Size Diffs
|
|





Description
Stacked on #47732. Point remaining apex marketing page URLs at
metamask.comwith paths unchanged:These
metamask.iopaths already redirect tometamask.com.Changelog
CHANGELOG entry: Updated MetaMask marketing page links to use metamask.com instead of metamask.io
Related issues
Follows: #47571
Depends on: #47732
Manual testing steps
metamask.com/transaction-shield.metamask.com.metamask.com/updating.Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Mechanical hostname swaps for marketing pages and tests; no auth, wallet, or transaction logic changes.
Overview
Updates remaining first-party marketing and lifecycle URLs in the extension from
https://metamask.iotohttps://metamask.com, keeping paths and query strings the same.Manifest & background flows: MV2/MV3
authormetadata, analytics uninstall tracking (/uninstalled), extension update tab (/updating), and critical-error restore handoff (/restoringconstant and tab URL checks).Product UI & integrations: Transaction Shield learn-more links, Money landing and mUSD price URLs, PNA25 and basic-functionality blog links, Perps learn-more URL, and the security-alerts client
DOMAINmetadata. Associated unit, component, and e2e mocks/tests now assert the.comendpoints.Reviewed by Cursor Bugbot for commit 1b53a60. Bugbot is set up for automated code reviews on this repo. Configure here.