Dan J Miller
30d13422b5
Add MetaMask Swaps ( #9482 )
4 years ago
Erik Marks
088d4c34f1
Merge pull request from GHSA-c2xw-px2x-pr65
...
* Remove network config store
* Remove inline networks variable in network controller
* Re-key network controller 'rpcTarget' to 'rpcUrl'
* Require chainId in lookupNetwork, implement eth_chainId
* Require chain ID in network form
* Add alert, migrations, and tests
* Add chainId validation to addToFrequentRpcList
* Update public config state selector to match new network controller
state
* Use network enums in networks-tab.constants
* Ensure chainId in provider config is current
* Update tests
4 years ago
ricky
b00cd344d9
Use ethers to validate mnemonic during import ( #9463 )
4 years ago
Brad Decker
b3d3518bc0
Remove unnecessary functions ( #9458 )
...
Removes unnecessary functions with minor code changes to support extraction
4 years ago
Brad Decker
1123adcb1d
fix overflow issue on approval container ( #9415 )
4 years ago
Brad Decker
22ee3695f5
fix tooltip issue on firefox ( #9409 )
4 years ago
Brad Decker
8b24f624dd
add segment implementation of metametrics ( #9382 )
...
Co-authored-by: Whymarrh Whitby <whymarrh.whitby@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Mark Stacey
feab36710d
Remove unused connections route ( #9394 )
...
This route was used for the "Connections" page in Settings, which was
removed in #7004
4 years ago
Whymarrh Whitby
e2dedaacdb
Use Infura v3 API ( #9368 )
...
* Use eth-json-rpc-infura@5.0.0
* Use Infura v3 API
* Add example .metamaskrc file
4 years ago
Erik Marks
eef4ec981f
Ensure token amounts are in fixed notation ( #9381 )
...
* Ensure token amounts are in fixed notation
4 years ago
Erik Marks
b349a5c8b1
Convert ConfirmTokenTransactionBase to functional component ( #9373 )
...
* Convert ConfirmTokenTransactionBase to functional component
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Erik Marks
d532cdc459
Ensure tokenAmount is always a string
4 years ago
Erik Marks
23683c1630
Replace toNumber calls on BigNumbers with toString ( #9369 )
4 years ago
Patryk Łucka
3d4f1f45bd
Add messages to Ledger connection process ( #9344 )
4 years ago
ricky
f281df3b36
Feature/hide seedphrase when restoring vault ( #9329 )
...
* hide seedphrase (by default) with option to show it
4 years ago
Thomas Huang
f3a37dc1e2
Fix alignment of restore vault screen ( #9339 )
...
* Fix alignment of restore vault screen
Fixes #9324
Possibly missed when #9183 was merged. The issue is that the same classname is overridding the intended flex-direction.
46ba1ef100/ui/app/css/itcss/components/newui-sections.scss (L98-L101)
4 years ago
Patryk Łucka
cd86d00cb7
Fix send warning dialog ( #9321 )
...
This change moves warning message from `add-recipient` component to `send-content`. Currently
whenever provided address is a valid eth address `send-content` is rendered instead of `add-recipient`
this is why warnings never popped up.
4 years ago
Patryk Łucka
20b0e66cc9
fix ens error text on mainnet ( #9314 )
4 years ago
Erik Marks
3aaa41ef44
Replace abi-decoder with ethers ( #9290 )
...
* replace abi-decoder with ethers
* handle transaction parsing errors
* update token param getter function names
* add docstrings
4 years ago
Erik Marks
e08a55c8bc
Add messages for MetaMetrics opt-in ( #9283 )
...
* Add messages for MetaMetrics opt-in
4 years ago
Brad Decker
a04ec49a57
remove unnecessary files and scss ( #9253 )
...
this moves very little code around, to enable deleting files that are
no longer used or necessary. There are a few more things to move and
delete that will be handled in a seperate PR after this one.
4 years ago
Mark Stacey
b9f5f1c2c2
Hide ETH Gas Station stimates on non-main network ( #9277 )
...
* Hide gas estimate on non-main network (#9189 )
* Update v8.0.9 changelog
4 years ago
Brad Decker
c04cb63c63
Standardize scss import practices ( #9183 )
4 years ago
Whymarrh Whitby
b6ccd22d6c
Update ESLint shared config to v3 ( #9274 )
...
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Patryk Łucka
50c4845d05
Add lock icon to default networks ( #9269 )
...
Co-authored-by: Patryk Łucka <patryk.lucka@consensys.net>
4 years ago
Patryk Łucka
9a3c559b3d
Hide gas estimate on non-main network ( #9189 )
...
* hide advance gas on non mainnet
* hide edit gas button on non mainnet
4 years ago
Dan Miller
6302154c40
Fix padding, alignment of actionable-message; add left aligned story
4 years ago
Dan Miller
f106128c41
Code cleanup and simplification for actionable-message component
4 years ago
Dan Miller
7695343a3b
Adds actionable message component and stories
4 years ago
Whymarrh Whitby
ca35098f67
Fix lint issues ( #9265 )
4 years ago
Whymarrh Whitby
6ab12001e3
Fix prefer-destructuring issues ( #9263 )
...
See [`prefer-destructuring`](https://eslint.org/docs/rules/prefer-destructuring ) for more information.
This change enables `prefer-destructuring` and fixes the issues raised by the rule.
4 years ago
Brad Decker
8b0a308449
colocate confirm-decrypt-message page styles ( #9252 )
...
Follows the previously set pattern of colocating styles along side the
consuming components. This one was really straight forward and just a
reorganization of files and imports. No code changes occurred.
4 years ago
Whymarrh Whitby
c1e3c229bc
Fix import/order issues ( #9239 )
...
See [`import/order`](https://eslint.org/docs/rules/import/order ) for more information.
This change enables `import/order` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
b7259e5d6a
Fix radix issues ( #9247 )
...
See [`radix`](https://eslint.org/docs/rules/radix ) for more information.
This change enables `radix` and fixes the issues raised by the rule.
4 years ago
Dan Miller
9787ca633b
Improve scss naming
4 years ago
Whymarrh Whitby
4357cda7b8
Fix no-shadow issues ( #9246 )
...
See [`no-shadow`](https://eslint.org/docs/rules/no-shadow ) for more information.
This change enables `no-shadow` and fixes the issues raised by the rule.
4 years ago
Brad Decker
d5a539e0e5
remove old tooltip component and styles ( #9250 )
...
The old tooltip component was only used in two places. Removing those usages
was simple and straight forward. So, instead of colocating the old tooltip
styles with the deprecated tooltip component, I removed all old styles and
made tooltip-v2 now simply 'tooltip' and removed the deprecated component.
4 years ago
Brad Decker
d5948f1cbe
colocate confirm-encryption-public-key page styles ( #9251 )
...
Follows the previously set pattern of colocating styles along side the
consuming components. This one was really straight forward and just a
reorganization of files and imports. No code changes occurred.
4 years ago
Brad Decker
7bc2de006f
Colocate create-account styles with the create-account page ( #9181 )
...
Follows previous patterns of moving styles to exist alongside the components that use them. I would like these styles to be updated to use BEM syntax as well but I am holding off for a future PR to improve these styles.
4 years ago
Dan Miller
807acaa536
Add exchange-rate-display component
4 years ago
Whymarrh Whitby
e803807dd9
Fix no-param-reassign issues ( #9235 )
...
See [`no-param-reassign`](https://eslint.org/docs/rules/no-param-reassign ) for more information.
This change enables `no-param-reassign` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
2aa4b6bbee
Tidy up getAccountLink ( #9223 )
4 years ago
Whymarrh Whitby
937616565d
Tidy ConnectHardwareForm#checkIfUnlocked ( #9224 )
...
This change tidies up the implementation of `ConnectHardwareForm#checkIfUnlocked`—passing
an `async` function to `forEach` doesn't ensure that the one is run before the other.
4 years ago
Whymarrh Whitby
5d42a9b773
Fix require-unicode-regexp issues ( #9212 )
...
* Fix require-unicode-regexp issues
See [`require-unicode-regexp`](https://eslint.org/docs/rules/require-unicode-regexp ) for more information.
This change enables `require-unicode-regexp` and fixes the issues raised by the rule.
* Remove case-insensitive flag from regexps
4 years ago
Whymarrh Whitby
884775cf71
Fix no-negated-condition issues ( #9222 )
...
See [`no-negated-condition`](https://eslint.org/docs/rules/no-negated-condition ) for more information.
This change enables `no-negated-condition` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
c11888f287
Fix no-empty-function issues ( #9216 )
...
See [`no-empty-function`](https://eslint.org/docs/rules/no-empty-function ) for more information.
This change enables `no-empty-function` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
9b78d3ab07
Fix import/extensions issues ( #9217 )
...
See [`import/extensions`](https://eslint.org/docs/rules/import/extensions ) for more information.
This change enables `import/extensions` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
b91cf74d14
Fix no-nested-ternary issues ( #9214 )
...
See [`no-nested-ternary`](https://eslint.org/docs/rules/no-nested-ternary ) for more information.
This change enables `no-nested-ternary` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
310b15ba4a
Fix no-plusplus issues ( #9206 )
...
See [`no-plusplus`](https://eslint.org/docs/rules/no-plusplus ) for more information.
This change enables `no-plusplus` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
a8863a3446
Fix consistent-return issues ( #9192 )
...
See [`consistent-return`](https://eslint.org/docs/rules/consistent-return ) for more information.
This change enables `consistent-return` and fixes the issues raised by the rule.
4 years ago