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
Dan J Miller
74f0d473cb
Add exchange-rate-display component ( #9260 )
...
* Add exchange-rate-display component
* Improve scss naming
4 years ago
Whymarrh Whitby
6f4c3b3405
Tidy up Migrator tests ( #9264 )
4 years ago
Dan J Miller
09e7f24b2d
Adds pulse loader component ( #9259 )
...
* Adds pulse loader component
* Move pulse-loader component to the UI directory
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 J Miller
eb653dfb6e
New info tooltip component ( #9180 )
...
* Add info-tooltip and associated storybook stories
* Allow tooltip-v2 to support react-tippy themes
* Update info-tooltip to use tooltip-v2
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
Mark Stacey
27e1189c91
Handle non-String web3 property access ( #9256 )
...
The web3 usage metrics added in #9144 assumed that all web3 properties
were strings. When a `Symbol` property is accessed, our `inpage.js`
script crashes because the `Symbol` cannot be serialized correctly.
A check has been added for non-string property access. The metric event
in these cases is set to the string "typeof ", followed by the type of
the key. (e.g. `typeof symbol` for a `Symbol` property).
Fixes #9234
4 years ago
Patryk Łucka
f7e4e209ef
move footer buttons to scrollable area ( #9228 )
...
Co-authored-by: Patryk Łucka <patryk.lucka@consensys.net>
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
2e565d02b2
Removes the dropdown menu and colocates old styles with account-menu ( #9185 )
...
The only place that these .menu styles were being used was the account-menu by way of components/app/dropdowns/menu. Because account-menu is the only place that used these styles I moved them to exist with the account-menu
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
a89b6677a1
Fix import/unambiguous issues ( #9233 )
...
See [`import/unambiguous`](https://eslint.org/docs/rules/import/unambiguous ) for more information.
This change enables `import/unambiguous` and fixes the issues raised by the rule.
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
Mark Stacey
60e261b52c
Merge pull request #9242 from MetaMask/sync-master
...
Sync `master` with `develop`
4 years ago
Mark Stacey
52fd72feac
Merge remote-tracking branch 'origin/develop' into sync-master
...
* origin/develop: (107 commits)
Clear Account Details in AppState (#9238 )
Permit all-caps addresses (#9227 )
Send web3 usage metrics once per origin/property (#9237 )
Fix import/no-extraneous-dependencies issues (#9232 )
Remove unused buyEth fn from bg (#9236 )
Fix max-statements-per-line issues (#9218 )
Consolidate ESLint config files (#9231 )
Delete page-container.component.test.js (#9229 )
Tidy up getAccountLink (#9223 )
Tidy ConnectHardwareForm#checkIfUnlocked (#9224 )
Fix require-unicode-regexp issues (#9212 )
Fix no-negated-condition issues (#9222 )
Fix no-empty-function issues (#9216 )
Fix import/extensions issues (#9217 )
Dedupe glob-parent versions (#9220 )
Fix no-template-curly-in-string issues (#9221 )
Fix no-process-exit issues (#9219 )
Fix prefer-rest-params issues (#9215 )
Fix no-prototype-builtins issues (#9213 )
Fix no-nested-ternary issues (#9214 )
...
4 years ago
Mark Stacey
eab1add857
Merge pull request #9240 from MetaMask/Version-v8.0.8
...
Version v8.0.8 RC
4 years ago
Thomas Huang
87e5281a82
Clear Account Details in AppState ( #9238 )
...
* Clear Account Details in AppState
We store sensitive information in the AppState under accountDetail for when the modal is active and present. This adds a new action/reducer and componentWillUnmount to clean up the persisted data left after leaving the modal.
* Remove reduntant clearAccountDetails call when clicking done button
4 years ago
Mark Stacey
e8a468a5ec
Update v8.0.8 changelog ( #9241 )
4 years ago
MetaMask Bot
5db866bc88
Version v8.0.8
4 years ago
Patryk Łucka
e47774d3e4
Permit all-caps addresses ( #9227 )
...
* permit all-caps addresses
* handle empty address
4 years ago
Patryk Łucka
aad840777d
Permit all-caps addresses ( #9227 )
...
* permit all-caps addresses
* handle empty address
4 years ago
Mark Stacey
d49c44426f
Send web3 usage metrics once per origin/property ( #9237 )
...
The usage metrics for the injected web3 instance were being sent upon
each use, which exceeded the limits of our Matomo plan. These metrics
are now only being sent upon the first usage, for each origin and
property.
4 years ago
Mark Stacey
f77151003e
Send web3 usage metrics once per origin/property ( #9237 )
...
The usage metrics for the injected web3 instance were being sent upon
each use, which exceeded the limits of our Matomo plan. These metrics
are now only being sent upon the first usage, for each origin and
property.
4 years ago
Patryk Łucka
74decc3407
Fix Etherscan redirect on notification click ( #9211 )
4 years ago
Mark Stacey
4d499cc39e
Add `version` dimension to background metrics ( #9167 )
...
The background metrics were missing the `version` custom dimension. It
has now been added to all background metric events.
4 years ago
Whymarrh Whitby
aaacf66c6e
Fix import/no-extraneous-dependencies issues ( #9232 )
...
See [`import/no-extraneous-dependencies`](https://eslint.org/docs/rules/import/no-extraneous-dependencies ) for more information.
This change enables `import/no-extraneous-dependencies` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
c2edc342fb
Remove unused buyEth fn from bg ( #9236 )
4 years ago
Whymarrh Whitby
e021acdc0a
Fix max-statements-per-line issues ( #9218 )
...
See [`max-statements-per-line`](https://eslint.org/docs/rules/max-statements-per-line ) for more information.
This change enables `max-statements-per-line` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
9e7841fa91
Consolidate ESLint config files ( #9231 )
4 years ago
Whymarrh Whitby
04bfe3772c
Delete page-container.component.test.js ( #9229 )
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
c188121c3d
Dedupe glob-parent versions ( #9220 )
4 years ago
Whymarrh Whitby
3bd22a2058
Fix no-template-curly-in-string issues ( #9221 )
...
See [`no-template-curly-in-string`](https://eslint.org/docs/rules/no-template-curly-in-string ) for more information.
This change enables `no-template-curly-in-string` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
944f6d4880
Fix no-process-exit issues ( #9219 )
...
See [`no-process-exit`](https://eslint.org/docs/rules/no-process-exit ) for more information.
This change enables `no-process-exit` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
82a0ee27f3
Fix prefer-rest-params issues ( #9215 )
...
See [`prefer-rest-params`](https://eslint.org/docs/rules/prefer-rest-params ) for more information.
This change enables `prefer-rest-params` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
146127c474
Fix no-prototype-builtins issues ( #9213 )
...
See [`no-prototype-builtins`](https://eslint.org/docs/rules/no-prototype-builtins ) for more information.
This change enables `no-prototype-builtins` 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
Patryk Łucka
5991043cd7
Fix Etherscan redirect on notification click ( #9211 )
4 years ago
Whymarrh Whitby
954df6e482
Fix no-constant-condition issues ( #9210 )
...
See [`no-constant-condition`](https://eslint.org/docs/rules/no-constant-condition ) for more information.
This change enables `no-constant-condition` and fixes the issues raised by the rule.
4 years ago