Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update help center URLs #24286

Merged
merged 10 commits into from
Jun 26, 2024
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ contact_links:
url: https://community.metamask.io/c/feature-requests-ideas/
about: Request new features and vote on the ones that are important to you
- name: Get support or ask a question
url: https://metamask.zendesk.com/hc/en-us
url: https://support.metamask.io/
about: Use the MetaMask support system to get help and ask questions
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MetaMask Browser Extension

You can find the latest version of MetaMask on [our official website](https://metamask.io/). For help using MetaMask, visit our [User Support Site](https://metamask.zendesk.com/hc/en-us).
You can find the latest version of MetaMask on [our official website](https://metamask.io/). For help using MetaMask, visit our [User Support Site](https://support.metamask.io/).

For [general questions](https://community.metamask.io/c/learn/26), [feature requests](https://community.metamask.io/c/feature-requests-ideas/13), or [developer questions](https://community.metamask.io/c/developer-questions/11), visit our [Community Forum](https://community.metamask.io/).

Expand Down
4 changes: 2 additions & 2 deletions app/scripts/lib/snap-keyring/snap-keyring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const snapKeyringBuilder = (
};

const learnMoreLink =
'https://support.metamask.io/hc/en-us/articles/360015289452-How-to-add-accounts-in-your-wallet';
'https://support.metamask.io/managing-my-wallet/accounts-and-addresses/how-to-add-accounts-in-your-wallet/';

// If snap is preinstalled and does not request confirmation, skip the confirmation dialog
const skipConfirmation =
Expand Down Expand Up @@ -269,7 +269,7 @@ export const snapKeyringBuilder = (
);

const learnMoreLink =
'https://support.metamask.io/hc/en-us/articles/360057435092-How-to-remove-an-account-from-your-MetaMask-wallet';
'https://support.metamask.io/managing-my-wallet/accounts-and-addresses/how-to-remove-an-account-from-your-metamask-wallet/';

const trackSnapAccountEvent = (event: MetaMetricsEventName) => {
trackEvent({
Expand Down
6 changes: 3 additions & 3 deletions builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ buildTypes:
- ALLOW_LOCAL_SNAPS: true
- REQUIRE_SNAPS_ALLOWLIST: false
- IFRAME_EXECUTION_ENVIRONMENT_URL: https://execution.metamask.io/iframe/6.4.0/index.html
- SUPPORT_LINK: https://metamask-flask.zendesk.com/hc
- SUPPORT_REQUEST_LINK: https://metamask-flask.zendesk.com/hc/en-us/requests/new
- SUPPORT_LINK: https://support.metamask.io/
- SUPPORT_REQUEST_LINK: https://support.metamask.io/
- INFURA_ENV_KEY_REF: INFURA_FLASK_PROJECT_ID
- SEGMENT_WRITE_KEY_REF: SEGMENT_FLASK_WRITE_KEY
- ACCOUNT_SNAPS_DIRECTORY_URL: https://metamask.github.io/snaps-directory-staging/main/account-management
Expand Down Expand Up @@ -169,7 +169,7 @@ env:
# Also see METAMASK_DEBUG and NODE_DEBUG
- DEBUG: null
- SUPPORT_LINK: https://support.metamask.io
- SUPPORT_REQUEST_LINK: https://metamask.zendesk.com/hc/en-us
- SUPPORT_REQUEST_LINK: https://support.metamask.io
- SKIP_BACKGROUND_INITIALIZATION: false

- ENABLE_MV3: true
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ These docs relate to how to contribute to the MetaMask project itself.

You can find the latest version of MetaMask on [our official website](https://metamask.io/).

For help using MetaMask, visit our [User Support Site](https://metamask.zendesk.com/hc/en-us).
For help using MetaMask, visit our [User Support Site](https://support.metamask.io/).

For up to the minute news, follow our [Twitter](https://twitter.com/metamask_io) or [Medium](https://medium.com/metamask) pages.

Expand Down
2 changes: 1 addition & 1 deletion shared/lib/ui-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const AUTO_DETECT_TOKEN_LEARN_MORE_LINK =
export const CONSENSYS_TERMS_OF_USE = 'https://consensys.io/terms-of-use';

export const SECURITY_ALERTS_LEARN_MORE_LINK =
'https://support.metamask.io/hc/en-us/articles/19878220833947';
'https://support.metamask.io/privacy-and-security/how-to-turn-on-security-alerts/';

export const TRANSACTION_SIMULATIONS_LEARN_MORE_LINK =
'https://support.metamask.io/transactions-and-gas/transactions/simulations/';
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/mmi/specs/navigation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const openSeaTermsOfUse = 'https://opensea.io/securityproviderterms';
const metamaskAttributions =
'https://raw.githubusercontent.com/MetaMask/metamask-extension/develop/attribution.txt';
const termsOfUse = 'https://consensys.io/terms-of-use';
const learnMoreArticles = 'https://support.metamask.io/hc/en-us/articles';
const learnMoreArticles = 'https://support.metamask.io/';

test.describe('MMI Navigation', () => {
test('MMI full navigation links', async ({ context }) => {
Expand Down
2 changes: 1 addition & 1 deletion test/env.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
process.env.METAMASK_ENVIRONMENT = 'test';
process.env.SUPPORT_LINK = 'https://support.metamask.io';
process.env.SUPPORT_REQUEST_LINK = 'https://metamask.zendesk.com/hc/en-us';
process.env.SUPPORT_REQUEST_LINK = 'https://support.metamask.io';
process.env.IFRAME_EXECUTION_ENVIRONMENT_URL =
'https://execution.metamask.io/0.36.1-flask.1/index.html';
process.env.AUTH_API = 'https://mock-test-auth-api.metamask.io';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Step,Test Steps,Test Data,Expected Result,Notes
8,Click on the close button,,Validate the wallet overview page appears.,
9,Click on the link for the 'Privacy policy',,Privacy policy 'https://consensys.io/privacy-policy' page is loaded,Critical because it's the only way to access privacy policy
10,Click on the link for the 'Terms of use',,Terms of use page 'https://consensys.io/terms-of-use' is loaded,
11,Click on the link for the 'Visit our support center',,Support page 'https://support.metamask.io/hc/en-us' is loaded,
11,Click on the link for the 'Visit our support center',,Support page 'https://support.metamask.io' is loaded,
12,Click on the link for the 'Attributions',,Attributions 'https://raw.githubusercontent.com/MetaMask/metamask-extension/develop/attribution.txt' page is loaded,
13,Click on the link for the 'Visit our website',,Visit our website 'https://metamask.io/' page is loaded,
14,Click on the link for the 'Contact us',,Contact us 'https://support.metamask.io/hc/en-us' code page is loaded,
14,Click on the link for the 'Contact us',,Contact us 'https://support.metamask.io' code page is loaded,
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exports[`Beta Header should match snapshot 1`] = `

This is a beta version. Please report bugs
<a
href="https://metamask.zendesk.com/hc/en-us"
href="https://support.metamask.io"
rel="noreferrer noopener"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ exports[`Confirm Remove Account should match snapshot 1`] = `
This account will be removed from your wallet. Please make sure you have the original Secret Recovery Phrase or private key for this imported account before continuing. You can import or create accounts again from the account drop-down.
<a
class="confirm-remove-account__link"
href="https://metamask.zendesk.com/hc/en-us/articles/360015289932"
href="https://support.metamask.io/managing-my-wallet/accounts-and-addresses/what-are-imported-accounts-/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ exports[`Customize Nonce should match snapshot 1`] = `
This is an advanced feature, use cautiously.
<a
class="mm-box mm-text mm-button-base customize-nonce-modal__link mm-button-link mm-button-link--size-auto mm-text--body-md-medium mm-box--padding-0 mm-box--padding-right-0 mm-box--padding-left-0 mm-box--display-inline-flex mm-box--justify-content-center mm-box--align-items-center mm-box--color-primary-default mm-box--background-color-transparent"
href="https://metamask.zendesk.com/hc/en-us/articles/7417499333531-How-to-customize-a-transaction-nonce"
href="https://support.metamask.io/transactions-and-gas/transactions/how-to-customize-a-transaction-nonce/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ exports[`Eth Sign Modal should match snapshot 1`] = `
Allowing eth_sign requests can make you vulnerable to phishing attacks. Always review the URL and be careful when signing messages that contain code.
<a
class="mm-box mm-text mm-button-base mm-button-link mm-button-link--size-auto mm-text--body-md-medium mm-box--padding-0 mm-box--padding-right-0 mm-box--padding-left-0 mm-box--display-inline-flex mm-box--justify-content-center mm-box--align-items-center mm-box--color-primary-default mm-box--background-color-transparent"
href="https://support.metamask.io/hc/en-us/articles/14764161421467"
href="https://support.metamask.io/privacy-and-security/what-is-eth_sign-and-why-is-it-a-risk/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const EthSignModal = ({ hideModal }) => {
<Text variant={TextVariant.bodyMd}>
{t('toggleEthSignModalDescription')}
<ButtonLink
href="https://support.metamask.io/hc/en-us/articles/14764161421467"
href="https://support.metamask.io/privacy-and-security/what-is-eth_sign-and-why-is-it-a-risk/"
externalLink
>
{t('learnMoreUpperCase')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports[`Json should match snapshot 1`] = `
Used by a variety of different clients
<a
class="mm-box mm-text mm-button-base mm-button-link mm-button-link--size-inherit mm-text--body-md-medium mm-box--padding-0 mm-box--padding-right-0 mm-box--padding-left-0 mm-box--display-inline-flex mm-box--justify-content-center mm-box--align-items-center mm-box--color-primary-default mm-box--background-color-transparent"
href="https://metamask.zendesk.com/hc/en-us/articles/360015289932"
href="https://support.metamask.io/managing-my-wallet/accounts-and-addresses/what-are-imported-accounts-/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
2 changes: 1 addition & 1 deletion ui/helpers/constants/beta.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const BETA_BUGS_URL = 'https://metamask.zendesk.com/hc/en-us';
export const BETA_BUGS_URL = 'https://support.metamask.io';
2 changes: 1 addition & 1 deletion ui/helpers/constants/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export const PRIMARY = 'PRIMARY';
export const SECONDARY = 'SECONDARY';

const _contractAddressLink =
'https://metamask.zendesk.com/hc/en-us/articles/360020028092-What-is-the-known-contract-address-warning-';
'https://support.metamask.io/managing-my-tokens/moving-your-tokens/why-am-i-being-warned-about-sending-tokens-to-a-contract/';

///: BEGIN:ONLY_INCLUDE_IF(build-mmi)
const _mmiWebSite = 'https://metamask.io/institutions/';
Expand Down
47 changes: 24 additions & 23 deletions ui/helpers/constants/zendesk-url.js
Original file line number Diff line number Diff line change
@@ -1,50 +1,51 @@
const ZENDESK_URLS = {
ADD_CUSTOM_TOKENS:
'https://metamask.zendesk.com/hc/en-us/articles/360015489031',
'https://support.metamask.io/managing-my-tokens/custom-tokens/how-to-display-tokens-in-metamask/',
ADD_MISSING_ACCOUNTS:
'https://metamask.zendesk.com/hc/en-us/articles/360015489271',
'https://support.metamask.io/managing-my-wallet/accounts-and-addresses/how-to-add-missing-accounts-after-restoring-with-secret-recovery-phrase/',
BASIC_SAFETY:
'https://metamask.zendesk.com/hc/en-us/articles/360015489591-Basic-Safety-Tips',
'https://support.metamask.io/privacy-and-security/basic-safety-and-security-tips-for-metamask/',
CUSTOMIZE_NONCE:
'https://metamask.zendesk.com/hc/en-us/articles/7417499333531-How-to-customize-a-transaction-nonce',
'https://support.metamask.io/transactions-and-gas/transactions/how-to-customize-a-transaction-nonce/',
HARDWARE_CONNECTION:
'https://metamask.zendesk.com/hc/en-us/articles/360020394612-How-to-connect-a-Trezor-or-Ledger-Hardware-Wallet',
'https://support.metamask.io/privacy-and-security/hardware-wallet-hub/',
IMPORT_ACCOUNTS:
'https://metamask.zendesk.com/hc/en-us/articles/360015489331',
'https://support.metamask.io/managing-my-wallet/accounts-and-addresses/how-to-import-an-account/',
IMPORTED_ACCOUNTS:
'https://metamask.zendesk.com/hc/en-us/articles/360015289932',
'https://support.metamask.io/managing-my-wallet/accounts-and-addresses/what-are-imported-accounts-/',
INFURA_BLOCKAGE:
'https://metamask.zendesk.com/hc/en-us/articles/360059386712',
'https://support.metamask.io/troubleshooting/why-infura-cannot-serve-certain-areas/',
LEDGER_FIREFOX_U2F_GUIDE:
'https://support.ledger.com/hc/en-us/articles/10371387758493-MetaMask-Firefox-Ledger-Integration-Issue?support=true',
LEGACY_WEB3: 'https://metamask.zendesk.com/hc/en-us/articles/360053147012',
LEGACY_WEB3:
'https://support.metamask.io/third-party-platforms-and-dapps/metamask-legacy-web3/',
NFT_TOKENS:
'https://metamask.zendesk.com/hc/en-us/articles/360058238591-NFT-tokens-in-MetaMask-wallet',
'https://support.metamask.io/nfts/nft-tokens-in-your-metamask-wallet/',
PASSWORD_AND_SRP_ARTICLE:
'https://metamask.zendesk.com/hc/en-us/articles/4404722782107',
'https://support.metamask.io/getting-started/user-guide-secret-recovery-phrase-password-and-private-keys/',
SECRET_RECOVERY_PHRASE:
'https://metamask.zendesk.com/hc/en-us/articles/360060826432-What-is-a-Secret-Recovery-Phrase-and-how-to-keep-your-crypto-wallet-secure',
'https://support.metamask.io/privacy-and-security/what-is-a-secret-recovery-phrase-and-how-to-keep-your-crypto-wallet-secure/',
NON_CUSTODIAL_WALLET:
'https://metamask.zendesk.com/hc/en-us/articles/360059952212-MetaMask-is-a-non-custodial-wallet',
'https://support.metamask.io/getting-started/metamask-is-a-self-custodial-wallet/',
SPEEDUP_CANCEL:
'https://metamask.zendesk.com/hc/en-us/articles/360015489251-How-to-speed-up-or-cancel-a-pending-transaction',
SUPPORT_URL: 'https://support.metamask.io/hc/en-us',
'https://support.metamask.io/transactions-and-gas/transactions/how-to-speed-up-or-cancel-a-pending-transaction/',
SUPPORT_URL: 'https://support.metamask.io',
TOKEN_ALLOWANCE_WITH_SPENDING_CAP:
'https://support.metamask.io/hc/en-us/articles/6055177143579-How-to-customize-token-approvals-with-a-spending-cap',
'https://support.metamask.io/privacy-and-security/how-to-customize-token-approvals-with-a-spending-cap/',
TOKEN_SAFETY_PRACTICES:
'https://metamask.zendesk.com/hc/en-us/articles/4403988839451',
'https://support.metamask.io/managing-my-tokens/token-safety-practices/',
UNKNOWN_NETWORK:
'https://metamask.zendesk.com/hc/en-us/articles/4417500466971',
'https://support.metamask.io/nl/networks-and-sidechains/managing-networks/the-risks-of-connecting-to-an-unknown-network/',
USER_GUIDE_CUSTOM_NETWORKS:
'https://metamask.zendesk.com/hc/en-us/articles/4404424659995',
'https://support.metamask.io/networks-and-sidechains/managing-networks/user-guide-custom-networks-and-sidechains/',
USER_GUIDE_DAPPS:
'https://metamask.zendesk.com/hc/en-us/articles/4405506066331-User-guide-Dapps',
'https://support.metamask.io/third-party-platforms-and-dapps/user-guide-dapps/',
USER_GUIDE_GAS:
'https://metamask.zendesk.com/hc/en-us/articles/4404600179227-User-Guide-Gas',
'https://support.metamask.io/transactions-and-gas/gas-fees/user-guide-gas/',
VERIFY_CUSTOM_NETWORK:
'https://metamask.zendesk.com/hc/en-us/articles/360057142392',
'https://support.metamask.io/networks-and-sidechains/managing-networks/verifying-custom-network-information/',
NETWORK_DEPRECATED:
'https://support.metamask.io/hc/en-us/articles/360059213492-ETH-on-Sepolia-and-Goerli-networks-testnets',
'https://support.metamask.io/networks-and-sidechains/eth-on-testnets/',
};

export default ZENDESK_URLS;
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ exports[`CustomSpendingCap should match snapshot 1`] = `
</div>
<a
class="mm-box mm-text mm-button-base mm-button-base--size-sm mm-button-link mm-text--body-md-medium mm-box--padding-0 mm-box--padding-right-0 mm-box--padding-left-0 mm-box--display-inline-flex mm-box--justify-content-center mm-box--align-items-center mm-box--color-primary-default mm-box--background-color-transparent"
href="https://support.metamask.io/hc/en-us/articles/6055177143579-How-to-customize-token-approvals-with-a-spending-cap"
href="https://support.metamask.io/privacy-and-security/how-to-customize-token-approvals-with-a-spending-cap/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ exports[`add-ethereum-chain confirmation should match snapshot 1`] = `

Learn about
<a
href="https://metamask.zendesk.com/hc/en-us/articles/4404424659995"
href="https://support.metamask.io/networks-and-sidechains/managing-networks/user-guide-custom-networks-and-sidechains/"
target="__blank"
>
scams and network security risks
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ exports[`TokenAllowancePage when mounted should match snapshot 1`] = `
</div>
<a
class="mm-box mm-text mm-button-base mm-button-base--size-sm mm-button-link mm-text--body-md-medium mm-box--padding-0 mm-box--padding-right-0 mm-box--padding-left-0 mm-box--display-inline-flex mm-box--justify-content-center mm-box--align-items-center mm-box--color-primary-default mm-box--background-color-transparent"
href="https://support.metamask.io/hc/en-us/articles/6055177143579-How-to-customize-token-approvals-with-a-spending-cap"
href="https://support.metamask.io/privacy-and-security/how-to-customize-token-approvals-with-a-spending-cap/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
4 changes: 2 additions & 2 deletions ui/pages/keychains/__snapshots__/reveal-seed.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ exports[`Reveal Seed Page should match snapshot 1`] = `
The
<a
class="mm-box mm-text mm-button-base mm-button-link mm-button-link--size-inherit mm-text--body-md-medium mm-box--padding-0 mm-box--padding-right-0 mm-box--padding-left-0 mm-box--display-inline-flex mm-box--justify-content-center mm-box--align-items-center mm-box--color-primary-default mm-box--background-color-transparent"
href="https://metamask.zendesk.com/hc/en-us/articles/360060826432-What-is-a-Secret-Recovery-Phrase-and-how-to-keep-your-crypto-wallet-secure"
href="https://support.metamask.io/privacy-and-security/what-is-a-secret-recovery-phrase-and-how-to-keep-your-crypto-wallet-secure/"
rel="noopener noreferrer"
target="_blank"
>
Expand All @@ -43,7 +43,7 @@ exports[`Reveal Seed Page should match snapshot 1`] = `
MetaMask is a
<a
class="mm-box mm-text mm-button-base mm-button-link mm-button-link--size-inherit mm-text--body-md-medium mm-box--padding-0 mm-box--padding-right-0 mm-box--padding-left-0 mm-box--display-inline-flex mm-box--justify-content-center mm-box--align-items-center mm-box--color-primary-default mm-box--background-color-transparent"
href="https://metamask.zendesk.com/hc/en-us/articles/360059952212-MetaMask-is-a-non-custodial-wallet"
href="https://support.metamask.io/getting-started/metamask-is-a-self-custodial-wallet/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ exports[`Onboarding Create Password Render should match snapshot 1`] = `

I understand that MetaMask cannot recover this password for me.
<a
href="https://metamask.zendesk.com/hc/en-us/articles/4404722782107"
href="https://support.metamask.io/getting-started/user-guide-secret-recovery-phrase-password-and-private-keys/"
rel="noopener noreferrer"
target="_blank"
>
Expand All @@ -153,7 +153,7 @@ exports[`Onboarding Create Password Render should match snapshot 1`] = `

I understand that MetaMask Institutional cannot recover this password for me.
<a
href="https://metamask.zendesk.com/hc/en-us/articles/4404722782107"
href="https://support.metamask.io/getting-started/user-guide-secret-recovery-phrase-password-and-private-keys/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
2 changes: 1 addition & 1 deletion ui/pages/settings/info-tab/info-tab.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe('InfoTab', () => {
const contactUsLink = getByText('Contact us');
expect(contactUsLink).toHaveAttribute(
'href',
'https://metamask.zendesk.com/hc/en-us',
'https://support.metamask.io',
);
});
});
Expand Down
Loading