1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00
metamask-extension/ui/helpers/constants/zendesk-url.js
Monte Lai cdc1bce688
SRP hold to reveal (#17232)
* refactor class to functional component

* update messages

* fix: use classnames

* feat: add hold to reveal modal

* feat: add new zendesk url for secret recovery phrase and noncustodial wallet

* update: clipboard to clear copied text after delay

* fix: remove save to csv

* feat: update styles for reveal seed page

* fix: update reveal seed snapshot

* add test to check for modal

* fix: lint

* fix: unused messages locale

* fix: use new banner component

* fix: use new button from design system

* fix: update snapshot

* fix: lint

* revert text

* fix: lint

* fix: remove --copy-only

* fix: marginBottom prop value

* fix: iconName and prop error

* --made the QR code slightly smaller so it's less likely to have a scrollbar
--updated the snapshots

* fix: error message not displaying

* SRP hold to reveal using more DS components (#17583)

* Updating to add DS components and remove CSS

* Fixing rendered html and removing some unneeded props

* fix: set block to true

---------

Co-authored-by: Monte <monte.lai@consensys.net>

* fix: add descriptions to messages

* Update ui/components/ui/export-text-container/export-text-container.component.js

fix: lint

Co-authored-by: HowardBraham <HowardBraham@users.noreply.github.com>

* fix: remove using displayWarning in requestRevealSeedWords

* fix: update test to remove displayError

* fix: update design system enums

* fix: messages descriptions

* fix: banner to banneralert

* fix: update preview

* add additional tests

* fix: use jest instead of sinon

* add test if long press isn't completed

* add test if password is wrong

---------

Co-authored-by: Howard Braham <howrad@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-02-15 10:07:33 -08:00

46 lines
2.3 KiB
JavaScript

const ZENDESK_URLS = {
ADD_CUSTOM_TOKENS:
'https://metamask.zendesk.com/hc/en-us/articles/360015489031',
ADD_MISSING_ACCOUNTS:
'https://metamask.zendesk.com/hc/en-us/articles/360015489271',
BASIC_SAFETY:
'https://metamask.zendesk.com/hc/en-us/articles/360015489591-Basic-Safety-Tips',
CUSTOMIZE_NONCE:
'https://metamask.zendesk.com/hc/en-us/articles/7417499333531-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',
IMPORT_ACCOUNTS:
'https://metamask.zendesk.com/hc/en-us/articles/360015489331',
IMPORTED_ACCOUNTS:
'https://metamask.zendesk.com/hc/en-us/articles/360015289932',
INFURA_BLOCKAGE:
'https://metamask.zendesk.com/hc/en-us/articles/360059386712',
LEGACY_WEB3: 'https://metamask.zendesk.com/hc/en-us/articles/360053147012',
NFT_TOKENS:
'https://metamask.zendesk.com/hc/en-us/articles/360058238591-NFT-tokens-in-MetaMask-wallet',
PASSWORD_ARTICLE:
'https://metamask.zendesk.com/hc/en-us/articles/4404722782107',
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',
SECRET_RECOVERY_PHRASE_USER_GUIDE:
'https://metamask.zendesk.com/hc/en-us/articles/4404722782107-User-guide-Secret-Recovery-Phrase-password-and-private-keys',
NON_CUSTODIAL_WALLET:
'https://metamask.zendesk.com/hc/en-us/articles/360059952212-MetaMask-is-a-non-custodial-wallet',
SPEEDUP_CANCEL:
'https://metamask.zendesk.com/hc/en-us/articles/360015489251-How-to-speed-up-or-cancel-a-pending-transaction',
TOKEN_SAFETY_PRACTICES:
'https://metamask.zendesk.com/hc/en-us/articles/4403988839451',
UNKNOWN_NETWORK:
'https://metamask.zendesk.com/hc/en-us/articles/4417500466971',
USER_GUIDE_CUSTOM_NETWORKS:
'https://metamask.zendesk.com/hc/en-us/articles/4404424659995',
USER_GUIDE_DAPPS:
'https://metamask.zendesk.com/hc/en-us/articles/4405506066331-User-guide-Dapps',
USER_GUIDE_GAS:
'https://metamask.zendesk.com/hc/en-us/articles/4404600179227-User-Guide-Gas',
VERIFY_CUSTOM_NETWORK:
'https://metamask.zendesk.com/hc/en-us/articles/360057142392',
};
export default ZENDESK_URLS;