ryanml
b3b5d3c8d9
Fixing blockies on token detail page ( #13728 )
2022-02-23 14:28:06 -07:00
Alex Donesky
1abac424f4
fix issue where token details page unnecessarily relies on send asset state ( #13717 )
2022-02-23 14:27:53 -07:00
Daniel
f39bb48227
Enable Avalanche for Swaps ( #13653 )
2022-02-23 05:59:18 -07:00
ryanml
f996f32969
Updating changelog
2022-02-22 19:49:46 -07:00
Dan J Miller
05138da8a7
Add EIP-712 support for Trezor ( #13693 )
...
* Add EIP-712 support for Trezor
Co-authored-by: alisinabh <alisina.bm@gmail.com>
Co-authored-by: matejcik <ja@matejcik.cz>
Co-authored-by: Brandon Noad <Brandon.Noad@gmail.com>
* Update eth-trezor-keyring version
Co-authored-by: Alois Klink <alois.klink@gmail.com>
Co-authored-by: alisinabh <alisina.bm@gmail.com>
Co-authored-by: matejcik <ja@matejcik.cz>
Co-authored-by: Brandon Noad <Brandon.Noad@gmail.com>
2022-02-22 19:47:33 -07:00
ryanml
f47015df8e
[skip e2e] Updating changelog for v10.11.0 ( #13718 )
2022-02-22 18:42:08 -07:00
MetaMask Bot
d5bd27dfd1
Version v10.11.0
2022-02-21 20:08:56 +00:00
Dan J Miller
e817b2ab78
Run yarn lavamoat:auto ( #13697 )
2022-02-21 14:46:14 -03:30
ryanml
5b96e3370e
Using correct metricsEvent arg ( #13684 )
2022-02-21 10:39:01 -07:00
fadnesscharlie
3d5da527f9
Added Controls and Action ArgType, took out @storybook/addon-knobs ( #13660 )
...
* added controls and took out unused code
* Fix Lint Issues
2022-02-21 08:13:11 -06:00
Daniel
2585f45bde
Add support for Smart Transactions ( #12676 )
2022-02-18 17:48:38 +01:00
Tom McGuire
d2c292bead
Add argTypes for color-indicator ( #13659 )
2022-02-18 10:00:07 -06:00
Daniel
120603e6df
Enable Avalanche for Swaps ( #13653 )
2022-02-18 15:24:47 +01:00
Elliot Winkler
b1b4e64ad0
Prevent Browserify error from being swallowed ( #13647 )
...
If an error occurs while running Browserify, the stream that Browserify
creates will emit an `error` event. However, this event is not being
handled, so Node will catch it instead. But the error message it
produces is very nebulous, as it merely spits out the stream object and
completely ignores the actual error that occurred. So this commit
listens for the `error` event and outputs the error.
One note here is that when we are outputting the error, we must get
around a bug that exists in Endo where if you pass an Error object to
`console.{log,error,info,debug}` then you will just see `{}` on-screen.
We get around this by printing `err.stack`.
2022-02-17 13:47:50 -07:00
Rob Dawson
ef3199ebd1
Mįgrate truncated definition list stories from addon knobs to use controls. ( #13628 )
2022-02-17 10:14:24 -06:00
Rob Dawson
e082334da8
Fixed Add Recipient Stories and migrated to use control args. ( #13633 )
2022-02-17 10:14:10 -06:00
Rob Dawson
93af95f968
Minimal fix to the TokenSearch story to ensure it compiles and works. ( #13623 )
2022-02-17 10:13:30 -06:00
Rob Dawson
4a6082f1d7
Updated the Callout story to convert knobs and actions to controls / args. ( #13624 )
2022-02-17 10:11:17 -06:00
Daniel
cbf8a737dc
Change "Quote X of Y" to "Fetching quote X of Y" ( #13663 )
...
* Change "Quote X of Y" to "Fetching quote X of Y"
* Update a test
* Trigger Build
2022-02-17 17:08:53 +01:00
ryanml
fa467d1b8c
Merge pull request #13656 from MetaMask/master-sync
...
Sync `master` with `develop`
2022-02-16 22:36:31 -07:00
Benjamin Bourgeois
207436d11c
convert SendGasRow stories with argtypes ( #13554 )
2022-02-16 15:18:30 -08:00
ryanml
2fe2741264
Merge remote-tracking branch 'origin/develop' into master-sync
2022-02-16 14:50:59 -07:00
ryanml
09c880d165
Merge pull request #13498 from MetaMask/Version-v10.10.0
...
Version v10.10.0 RC
2022-02-16 14:47:27 -07:00
David Walsh
009c6e1455
Use hardware wallet constants when possible ( #13634 )
2022-02-16 14:54:30 -06:00
Ariella Vu
fadad601b8
ConfirmImportToken: Convert to Functional Component; Add storybook controls ( #13594 )
...
* ConfirmImportToken: convert to FC
* ConfirmImportToken: reorganize
* ConfirmImportToken: rm component from path
* replace mapStateToProps w/ useSelector
ConfirmImportToken
* replace mapDispatchToProps w/ useDispatch
ConfirmImportToken
* ConfirmAddSuggestedToken: useHistory
* ConfirmImportToken: add storybook controls
* ConfirmImportToken: rm 1st entry overwrite
* ConfirmImportToken: add tests
* ConfirmImportToken: use real Redux store in tests
* ConfirmImportToken: do not use mock-state.json
https://github.com/MetaMask/metamask-extension/pull/13594#discussion_r805022647
* ConfirmImportToken: tokenAddedEvent -> trackTokenAddedEvent
* Update ui/pages/confirm-import-token/confirm-import-token.js
Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
* ConfirmImportToken: update useSelector logic
* ConfirmImportToken: replace typeof check w/ === undefined
* ConfirmImportToken: rm unnecessary /rendering from path
* ConfirmImportToken: fix add token redirect
* ConfirmImportToken: use useNewMetricEvent
* ConfirmImportToken: rename vars using "addedToken"
* ConfirmImportToken: setAddedToken to obj copy
Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
2022-02-16 18:03:54 +00:00
ryanml
b954ca447d
Ensure pre-selected account on connect screen is visible in list ( #13621 )
...
* Ensure pre-selected account on connect screen is visible in list
* adding smooth scroll behavior
* Change conditional
2022-02-16 11:00:44 -07:00
ryanml
b3f90f7031
Merge pull request #13648 from MetaMask/master-sync
...
Sync `master` with `develop`
2022-02-16 10:56:33 -07:00
ryanml
e069c5a960
Fix changelog
2022-02-16 10:49:52 -07:00
ryanml
fe061bb2e6
Merge remote-tracking branch 'origin/master' into Version-v10.10.0
2022-02-16 10:48:22 -07:00
dragana8
5095071083
Make default icons the same on mobile and extension #13264 ( #13408 )
2022-02-16 11:03:17 -06:00
VSaric
2cd242252f
Created "Token details" page ( #13216 )
...
* Created new screen/page "Token details"
* Change color in scss
* Modify elements to the latest requirements and added unit tests
* Review requested changes
* Condensing files into one component
* Added unit tests for token details page
* Added redirection when switching networks, added image for a token and update unit tests
* Requested review changes
* Modify index.scss regarding of the requested review
* Delete data-testid's from Typography and token-details-page.js
* Requested review changes
2022-02-16 13:29:39 -03:30
mradziwon
3735a601d9
Update outdated Trezor Emulator link ( #13611 )
2022-02-16 10:15:22 -06:00
PeterYinusa
ebeb2668ea
E2e mocking ( #13640 )
...
* mock gas price api
* fix error
* full url
* remove duplicated packages
* full url
* customise mock per test
* customise mock per test
* enable mocking
* enable mocking
* enable mocking by default
* duplicated packages
* update mockttp
* pass through
* pass through
2022-02-16 14:21:41 +00:00
Thomas Huang
8fecb28844
Merge remote-tracking branch 'origin/develop' into master-sync
2022-02-15 18:26:43 -08:00
Dan J Miller
f2921ce84d
Merge pull request #13644 from MetaMask/Version-v10.9.3
...
Version v10.9.3 RC
2022-02-15 22:37:03 -03:30
Dan J Miller
a83ce7486b
Ensure sign message button is only enabled on scroll ( #13645 )
...
* Ensure sign message button is only enabled on scroll
* Add button for message scrolling to signature request screen
* lint fix
* Only show scroll button if message is scrollable
Co-authored-by: ryanml <ryanlanese@gmail.com>
2022-02-15 17:00:47 -07:00
Dan J Miller
d1c5274738
Ensure sign message button is only enabled on scroll ( #13645 )
...
* Ensure sign message button is only enabled on scroll
* Add button for message scrolling to signature request screen
* lint fix
* Only show scroll button if message is scrollable
Co-authored-by: ryanml <ryanlanese@gmail.com>
2022-02-15 16:59:59 -07:00
ryanml
e4e321cc7c
Fix lockfile
2022-02-15 12:25:46 -07:00
dependabot[bot]
bcf826772e
Bump vm2 from 3.9.5 to 3.9.7 ( #13625 )
...
Bumps [vm2](https://github.com/patriksimek/vm2 ) from 3.9.5 to 3.9.7.
- [Release notes](https://github.com/patriksimek/vm2/releases )
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.5...3.9.7 )
---
updated-dependencies:
- dependency-name: vm2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2022-02-15 12:18:51 -07:00
dependabot[bot]
1d1752135e
Bump follow-redirects from 1.14.7 to 1.14.8 ( #13612 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-15 12:18:35 -07:00
Dan J Miller
2dc9ce71dd
Add resolution for engine.io, a nested dependency of 3box ( #13589 )
2022-02-15 12:16:12 -07:00
ryanml
48685ed462
Updating Changelog
2022-02-15 12:00:02 -07:00
MetaMask Bot
7694f5ef52
Version v10.9.3
2022-02-15 18:55:01 +00:00
ryanml
089e0b9f5c
Fixing sign type data message formatting, requiring content scroll before sign ( #13642 )
...
* Fixing signature request formatting, requiring scroll before sign
* Ensure sign button not disable when no scroll is required
* Test fix attempt #1
* Clean up e2e tests
Co-authored-by: Dan Miller <danjm.com@gmail.com>
2022-02-15 11:49:14 -07:00
ryanml
40269ad13c
Fixing sign type data message formatting, requiring content scroll before sign ( #13642 )
...
* Fixing signature request formatting, requiring scroll before sign
* Ensure sign button not disable when no scroll is required
* Test fix attempt #1
* Clean up e2e tests
Co-authored-by: Dan Miller <danjm.com@gmail.com>
2022-02-15 11:39:57 -07:00
dependabot[bot]
3dc60e8e30
Bump vm2 from 3.9.5 to 3.9.7 ( #13625 )
...
Bumps [vm2](https://github.com/patriksimek/vm2 ) from 3.9.5 to 3.9.7.
- [Release notes](https://github.com/patriksimek/vm2/releases )
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.5...3.9.7 )
---
updated-dependencies:
- dependency-name: vm2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2022-02-15 14:07:20 -03:30
dependabot[bot]
3fb21fee27
Bump follow-redirects from 1.14.7 to 1.14.8 ( #13612 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-15 06:35:30 -03:30
Erik Marks
35ac762e10
Add Snaps via Flask ( #13462 )
...
This PR adds `snaps` under Flask build flags to the extension. This branch is mostly equivalent to the current production version of Flask, excepting some bug fixes and tweaks.
Closes #11626
2022-02-14 16:02:51 -08:00
Jyoti Puri
c0d03ea70a
Fix: advance defaults should never be used for swaps ( #13617 )
2022-02-14 12:10:28 -07:00
Jyoti Puri
2b5b787ca9
Fix: advance defaults should never be used for swaps ( #13617 )
2022-02-15 00:37:46 +05:30