1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 23:58:06 +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
app.js Add Snaps via Flask (#13462) 2022-02-14 16:02:51 -08:00
gas.js
hardware-wallets.js add account_type and device_model to tx metrics (#13682) 2022-02-23 09:15:41 -06:00
labels.js
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
tokens.js
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