Skip to content

Commit c92fc0b

Browse files
chore: point mUSD support article at metamask.com (#47786)
## **Description** Part of the migration of MetaMask web properties to the `metamask.com` domain, scoped to the mUSD support article URL owned by the earn team, with its test. ## **Changelog** CHANGELOG entry: null ## **Related issues** Fixes: N/A ## **Manual testing steps** 1. Run the extension with `yarn start`. 2. Open an mUSD eligible asset and open the convert section. 3. Confirm the learn-more link points at `support.metamask.com/manage-crypto/tokens/musd`. <!-- ## **Screenshots/Recordings** ### **Before** ### **After** --> ## **Pre-merge author checklist** - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [x] I've completed the PR template to the best of my ability - [x] I've included tests if applicable - [x] I've documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I've applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Domain-only URL change for an external help link; no auth, conversion, or data-path changes. > > **Overview** > Migrates the mUSD Help Center **learn more** link from `support.metamask.io` to **`support.metamask.com`** by updating `MUSD_SUPPORT_ARTICLE_URL` in mUSD constants. The mUSD convert section test expectation for `platform.openTab` is updated to match. > > **Consumers** (e.g. asset convert UI) keep importing the constant, so no component logic changes beyond the new URL. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit ac11d35. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 1f8983e commit c92fc0b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎ui/components/app/musd/constants.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export const MUSD_CONVERSION_BONUS_TERMS_OF_USE =
122122
* Linked from the asset details bonus and convert sections
123123
*/
124124
export const MUSD_SUPPORT_ARTICLE_URL =
125-
'https://support.metamask.io/manage-crypto/tokens/musd';
125+
'https://support.metamask.com/manage-crypto/tokens/musd';
126126

127127
/**
128128
* Minimum asset balance required in USD for a token to be eligible for conversion

‎ui/pages/asset/components/musd-convert-section.test.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ describe('MusdConvertSection', () => {
111111
expect(learnMore).toBeInTheDocument();
112112
fireEvent.click(learnMore);
113113
expect(global.platform.openTab).toHaveBeenCalledWith({
114-
url: 'https://support.metamask.io/manage-crypto/tokens/musd',
114+
url: 'https://support.metamask.com/manage-crypto/tokens/musd',
115115
});
116116

117117
expect(

0 commit comments

Comments
 (0)