1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/shared/constants
Olusegun Akintayo edb5ecc38c
Create shared TRAITS constant (#14069)
* Create shared `TRAITS` constant

Create a new constant in shared/constants/metametrics.js called TRAITS.
Using the other issues in this epic as guidance, populate the constant with traits.
Add Documentation to this constant about what each trait is.

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* use field names as the constants
only interested in 4 traits now for the MVP

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* cut down comments length for readability.

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Lint fixes.

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* 80 chars comments length

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
2022-03-25 00:23:21 +04:00
..
alerts.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
app.js Add Snaps via Flask (#13462) 2022-02-14 16:02:51 -08:00
gas.js Alert users when the network is busy (#12268) 2022-01-07 12:18:02 -07:00
hardware-wallets.js add account_type and device_model to tx metrics (#13682) 2022-02-23 09:15:41 -06:00
labels.js Fixing address truncation papercuts (#12330) 2021-10-13 12:54:48 -05:00
metametrics.js Create shared TRAITS constant (#14069) 2022-03-25 00:23:21 +04:00
network.js Add a new fiat onboarding option via MoonPay (#13934) 2022-03-21 10:26:52 +01:00
permissions.js Add native browser notification support for Snaps (#13613) 2022-03-17 17:43:18 +01:00
permissions.test.js snaps-skunkworks@0.10.2 (#13901) 2022-03-14 12:37:19 -07:00
swaps.js Add a new fiat onboarding option via MoonPay (#13934) 2022-03-21 10:26:52 +01:00
time.js Adding periodic reminder modal for backing up recovery phrase (#11021) 2021-06-04 23:33:58 -07:00
tokens.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
transaction.js Fix issue where we show contract address as recipient when calling safe transfer method on erc721 or erc1155 contracts (#13535) 2022-03-17 13:35:40 -05:00