ryanml
5c842107b9
Hardening property check for stopPropagation in ConfirmTxScreen ( #12158 )
2021-09-21 11:58:39 -07:00
Jyoti Puri
9e7b52b7df
Truncate extra decimal places from token amount for sending ( #12169 )
2021-09-22 00:04:52 +05:30
Jyoti Puri
c9ce848f47
Fix case of password env variable ( #12120 )
2021-09-21 23:27:24 +05:30
Alex Donesky
8eca780746
Merge pull request #12171 from MetaMask/master-sync
...
sync `master` with `develop`
2021-09-21 12:46:36 -05:00
Thomas Huang
e78e82205a
Jestify migrations/ ( #12106 )
...
* Jestify migrations/
* Lint exclude migrations from mocha config, and add inclusion to jest config
* Add migration tests to jest config
* Exclude/ignore migration tests
* Set process.env.IN_TEST to true when running tests locally
2021-09-21 09:28:13 -07:00
Alex
a7b7fbb3fb
fix sync conflicts
2021-09-21 11:20:31 -05:00
Alex
b751cf80b9
Merge remote-tracking branch 'origin/develop' into master-sync
2021-09-21 11:18:59 -05:00
Alex Donesky
5121dffa76
Merge pull request #12134 from MetaMask/Version-v10.1.1
...
Version v10.1.1 RC
2021-09-21 11:13:53 -05:00
Brad Decker
9204e65c7e
fix pubnub dep vulnerabiltiy ( #12170 )
2021-09-21 10:19:08 -05:00
Brad Decker
c35797453d
fix pubnub dep vulnerabiltiy ( #12170 )
2021-09-21 10:12:51 -05:00
ryanml
a58211c0dd
Fixing ledger steps display (Confirm TX) ( #12163 )
...
* Fixing ledger steps display (Confirm TX)
* Hiding step two on Firefox
2021-09-20 13:22:32 -07:00
ryanml
aba2c71948
Fixing ledger steps display (Confirm TX) ( #12163 )
...
* Fixing ledger steps display (Confirm TX)
* Hiding step two on Firefox
2021-09-20 13:19:35 -07:00
Niranjana Binoy
9929820b88
Adding a Token detection announcement in Search tab ( #12152 )
2021-09-20 15:42:58 -04:00
Matthew Epps
3ca6202282
Add client id header for Swaps Apis ( #12137 )
2021-09-20 14:06:41 -05:00
Etienne Dusseault
6b7444c257
Add add-recipient to Storybook ( #12076 )
2021-09-20 14:05:58 -05:00
Decentraliser
3edd544274
Fix translation ( #12161 )
2021-09-20 14:05:44 -05:00
Niranjana Binoy
e03d3dd5f0
Moving UseTokenDetection toggle to new Experimental tab ( #12136 )
2021-09-20 12:22:04 -04:00
PeterYinusa
1d658f5e0e
E2e remove xLargeDelayMs and xxLargeDelayMs delays ( #12160 )
...
* remove xLargeDelayMs and xxLargeDelayMs delay
* fix tests
2021-09-20 15:48:49 +01:00
ryanml
8df521df8a
Updating swaps availability tooltip text ( #12157 )
...
* Updating swaps availability tooltip text
Fixes MetaMask/metamask-extension#12156
* text update
2021-09-20 06:51:22 -07:00
Alex Donesky
f200876b54
[skip e2e] Update changelog for v10.1.1 ( #12135 )
2021-09-17 17:44:52 -02:30
Alois Klink
b7d5adcf5b
Change remote redux devtools url to redux devtools ( #12151 )
...
Fixes #12149 .
Although remotedev.io was the official URL for https://github.com/zalmoxisus/remote-redux-devtools , it looks like a phishing/adult website has taken it over.
I've replaced the link with the homepage Redux Devtools Extension in the `redux-devtools` monorepo,
(same link as on the Chrome extension page)
since that has a link to install `remote-redux-devtools` if need be.
2021-09-17 12:41:55 -07:00
PeterYinusa
49de01c509
Interacting with MetaMask Notification window ( #12147 )
...
* wait for MetaMask Notification window title to update
* wait for notification to close
* wait for notification to close
2021-09-17 19:27:09 +01:00
Dan J Miller
d2e9de106b
Add notification about need for ledger firmware update ( #12144 )
...
* Add notification about need for ledger firmware update
* Update messaging for ledger firmware notice
* Code cleanup
2021-09-17 13:10:17 -05:00
Dan J Miller
0f86f678f8
Add notification about need for ledger firmware update ( #12144 )
...
* Add notification about need for ledger firmware update
* Update messaging for ledger firmware notice
* Code cleanup
2021-09-17 14:20:16 -02:30
MetaMask Bot
3f5dcbf697
Version v10.1.1
2021-09-17 09:35:51 -05:00
ryanml
8310b551fb
Adding "Enable smart contract data" step to Ledger Instructions (Confirmation Screen) ( #12115 )
2021-09-17 09:35:50 -05:00
Alex
4e08c24552
fixing merge issues
2021-09-17 09:35:50 -05:00
ryanml
6fb6a8e35a
Adding usage instructions for Ledger Live users to confirmation screen ( #12020 )
...
* Adding usage instructions for Ledger Live users to confirmation screen
* Using design system components
* Hiding first step on Firefox
2021-09-17 09:35:50 -05:00
Alex Donesky
05c4b9691e
bump @metamask/controllers to v16.0.0 ( #12133 )
2021-09-17 09:35:49 -05:00
Erik Marks
049c863f83
@metamask/controllers@15.0.0 ( #11975 )
...
Adds the latest version of `@metamask/controllers`, and updates our usage of the `ApprovalController`, which has been migrated to `BaseControllerV2`. Of [the new `controllers` release](https://github.com/MetaMask/controllers/releases/tag/v15.0.0 ), only the `ApprovalController` migration should be breaking.
This is the first time we use events on the `ControllerMessenger` to update the badge, so I turned the messenger into a property on the main `MetaMaskController` in order to subscribe to events on it in `background.js`. I confirmed that the badge does indeed update during local QA.
As it turns out, [MetaMask/controllers#571 ](https://github.com/MetaMask/controllers/pull/571 ) was breaking for a single unit test case, which is now handled during setup and teardown for the related test suite (`metamask-controller.test.js`).
2021-09-17 09:35:13 -05:00
Alex
c5c5d266db
Lockfile cleanup
2021-09-17 09:35:11 -05:00
Jyoti Puri
ade9e4ac4b
Changing cancel button labels in send screen when in editing stage ( #12056 )
...
* Changing cancel button labels in send screen when in editing stage
* Re-route user to home page when reject is clicked on edit transaction page
2021-09-17 10:07:50 +05:30
Muin Momin
ae84b0cb6d
Fixes #12073 : Extra account with zero balance always added when importing wallet with seed and when first account's balance is non-zero ( #12074 )
...
* add command to debug unit tests
* remove extra zero balance account potentially created from seeking ahead
* Add PR 12074 to CHANGELOG
* Revert "Add PR 12074 to CHANGELOG"
This reverts commit 9f6f7eec1cac163c0ce1c711b1c205322aa5b2af.
* Remove test debug command
2021-09-16 16:20:57 -05:00
Alex Donesky
b0a510562e
Fix gas api overcalling ( #12069 )
...
* Move gasEstimation calls onto edit-gas-popover instead of transaction list item
* delete useCancelTransaction and useRetryTransaction hooks
consolidate gasFee calls into cancel button component.
* add tests
* update component name
* addressing feedback
* fix failing e2e test
* followup fix e2e tests
* change useIncrementedGasFees to accept single transaction rather than transactionGroup as argument
* remove unnecessary change to fixture
* only ever pass primary transaction to useIncrementedGasFees
* remove unnecessary optional chaining
2021-09-16 15:49:54 -05:00
Alex Donesky
a7561aaef3
bump @metamask/controllers to v16.0.0 ( #12133 )
2021-09-16 15:42:09 -05:00
Akintayo A. Olusegun
2929e6238c
Revisit #12019 : Show save dialog when calling a smart contract method and use the saved contact is already saved ( #12090 )
...
* Revisit showing add new address dialog.
Should not show if
Address is own adddress
send to recipient header is not shown
* Mock tests for the Confirm Page Container Container.
* Removed react-test-renderer dev-dependency
* Ran yarn setup to update lock file and remove ununsed packages.
Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
2021-09-16 23:28:02 +04:00
Niranjana Binoy
66c3414433
Changing Use Token detection to OFF by default ( #12129 )
2021-09-16 13:07:23 -04:00
ryanml
792f9efa56
Adding "Enable smart contract data" step to Ledger Instructions (Confirmation Screen) ( #12115 )
2021-09-16 09:52:42 -07:00
Erik Marks
2b104603d5
Build: Lint files after removing their code fences ( #12075 )
...
* Add linting
* Type the eslintInstance variable
* Update documentation
2021-09-15 17:18:28 -10:00
Thomas Huang
2b1e05f086
Fixes tx list item test formatting, importing, and useDispatch mocking. ( #12123 )
2021-09-15 16:04:14 -07:00
Alex Donesky
2a9fbffb6c
Replace hardcoded sent ether label on confirm screen ( #11802 )
...
* Replace hardcoded sent ether label on confirm screen
* replace transaction type SENT_ETHER with network agnostic SENDING_NATIVE_ASSET
* remove sentEther translation base
* make backwards compatible with lingering transaction of legacy sentEther type
* update localalization files
* fixup legacy sentEther transaction type
* changing new transaction type away from localization string
* revert migration tests
* update fixtures and test data
* update name of new transaction type
* add migration
* remove legacy SENT_ETHER from transaction types enum object
2021-09-15 16:54:51 -05:00
Brad Decker
2100fb0ce1
fix stuck speedup problem ( #12122 )
2021-09-15 16:42:06 -05:00
Alex Donesky
9d968bae1e
Hook up shared TokenRatesController ( #12066 )
2021-09-15 14:02:28 -05:00
Alex Donesky
cf569161fb
Fix failing transaction-list-item.component test by mocking useLayoutEffect ( #12118 )
2021-09-15 14:00:56 -05:00
kumavis
f472c2615a
CI - add metamaskbot comment "highlights" section for showing relevant storybook changes ( #12095 )
...
* ci/announce/highlight - add bot announcement section for "highlights" showing off important diffs + storybook highlights
* ci/announce/highlight - fix announcement message
* Update index.js
* xxx tmp xxx
* ci/announce/highlight - fix dirty file calculation
* ci/announce/highlight - try/catch wrap highlight generation for build stability
* ui - put fox emojis in the mascot component
* ci/announce/highlight - start storybook permalinks
* ci/announce/highlight - fix storybook permalink util
* ci/announce/highlight - fix storybook permalink util
* ci/announce/highlight - small styling fix
* storybook - use any easily predictable story id
* ci/announce/highlight - revert sample commit
* ci/announce/highlight - minimal documentation
2021-09-15 08:55:48 -10:00
ryanml
7895fcb7af
Merge pull request #11976 from MetaMask/break-point-overhaul
...
Using design system breakpoint values across ui/
2021-09-15 10:41:05 -07:00
Niranjana Binoy
49ddc48592
Adding search tab in import tokens for custom networks ( #12110 )
2021-09-15 12:09:23 -04:00
Alex Donesky
74fa6fa187
Fix gas api overcalling ( #12069 )
...
* Move gasEstimation calls onto edit-gas-popover instead of transaction list item
* delete useCancelTransaction and useRetryTransaction hooks
consolidate gasFee calls into cancel button component.
* add tests
* update component name
* addressing feedback
* fix failing e2e test
* followup fix e2e tests
* change useIncrementedGasFees to accept single transaction rather than transactionGroup as argument
* remove unnecessary change to fixture
* only ever pass primary transaction to useIncrementedGasFees
* remove unnecessary optional chaining
2021-09-15 10:59:51 -05:00
Daniel
28fc2d471f
Quotes prefetching in Swaps ( #11915 )
2021-09-15 15:13:18 +02:00
ryanml
9e4b43defd
Merge pull request #12098 from MetaMask/dev_12088
...
Scroll all inputs into view when clicking Advanced options in gas edit modal
2021-09-14 19:59:08 -07:00