1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
Commit Graph

13332 Commits

Author SHA1 Message Date
Niranjana Binoy
c076faeb8f
adding checksum conversion () 2021-09-27 09:58:12 -04:00
Alex Donesky
b4cb15440b fix cancel button styling bug () 2021-09-24 16:08:04 -07:00
Alex Donesky
db9253866e
fix cancel button styling bug () 2021-09-24 14:46:38 -05:00
Akintayo A. Olusegun
08dff86be0
Add target object word to "View on Etherscan" links ()
* Add target object word to "View on Etherscan" links
Fix for: 

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Fix Swap tests checking for View $1 at or View $1 on

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Linter Fixes

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Fix  ui/hooks/useTransactionDisplayData.test.js expected result should
be May 13, 2020

Update Jest snapshot for view on etherscan test

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Add description of the variables in messages.

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* 1. localize all of the blockExplorerViewAction values
2. Apply this nit. https://github.com/MetaMask/metamask-extension/pull/12100#discussion_r708343532

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Lint fixes.

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Fix locale value not used on GUI error lint error.

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Reverted this commit, on circle ci, the date is May 12.

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Add description to link block explore actions to where it's used.

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>

* Fix missing messages.

Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
2021-09-24 21:14:07 +04:00
ryanml
5d1b316817 Fixing accounts scrollbar for chrome () 2021-09-24 09:29:24 -07:00
ryanml
ae8467cc74 Fixing alignment of settings close button () 2021-09-24 09:29:14 -07:00
ryanml
30105a19d1
Fixing alignment of settings close button () 2021-09-24 09:28:54 -07:00
ryanml
730ff25028
Fixing accounts scrollbar for chrome () 2021-09-24 09:27:22 -07:00
Etienne Dusseault
a86129d23f
fee-card () 2021-09-24 11:47:40 -03:00
Mark Stacey
2a1d0cfd2c
Update caniuse-lite ()
The dependency `caniuse-lite` has been updated using a Yarn resolution,
because it was pinned to a specific version by some dependencies. All
versions requested in our dependency tree are 1.x so this did not
introduce any breaking changes.

This resolves a frequent console warning that shows up during builds,
and when running tests and the linter.
2021-09-24 11:42:28 -02:30
Etienne Dusseault
bf4e565497
edit-gas-display () 2021-09-23 22:40:03 -03:00
Etienne Dusseault
3ec3baa3a1
send-content () 2021-09-23 22:39:22 -03:00
MetaMask Bot
646f78eb30 Version v10.2.0 2021-09-22 19:18:47 +00:00
Jyoti Puri
adb56d8d16
Adding base to BigNumber constructor to round off value ()
* Adding base to BigNumber constructor to round off value

* Numeric inputs to not allow more than 14 decimal places
2021-09-23 00:39:45 +05:30
Thomas Huang
02a4da9ad2
Fix 12145 - Ledger errors being set as Error: [object, object] ()
* Fixes 

When transactions fail, preserve error message when presented with an error object. Fallback to stringified error for other cases.

* Perserve error stack when err.stack is present, else set stack to message.

* Use optional chaining
2021-09-22 10:41:23 -07:00
Alex Donesky
1ca02cb633
fix issue where duplicate tokens without icons appear in swap-to token list dropdown () 2021-09-22 10:31:36 -05:00
Thomas Huang
1cc45774dc
Jestify continue () 2021-09-22 08:15:40 -07:00
ryanml
5c842107b9
Hardening property check for stopPropagation in ConfirmTxScreen () 2021-09-21 11:58:39 -07:00
Jyoti Puri
9e7b52b7df
Truncate extra decimal places from token amount for sending () 2021-09-22 00:04:52 +05:30
Jyoti Puri
c9ce848f47
Fix case of password env variable () 2021-09-21 23:27:24 +05:30
Alex Donesky
8eca780746
Merge pull request from MetaMask/master-sync
sync `master` with `develop`
2021-09-21 12:46:36 -05:00
Thomas Huang
e78e82205a
Jestify migrations/ ()
* 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 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 () 2021-09-21 10:19:08 -05:00
Brad Decker
c35797453d
fix pubnub dep vulnerabiltiy () 2021-09-21 10:12:51 -05:00
ryanml
a58211c0dd Fixing ledger steps display (Confirm TX) ()
* 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) ()
* 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 () 2021-09-20 15:42:58 -04:00
Matthew Epps
3ca6202282
Add client id header for Swaps Apis () 2021-09-20 14:06:41 -05:00
Etienne Dusseault
6b7444c257
Add add-recipient to Storybook () 2021-09-20 14:05:58 -05:00
Decentraliser
3edd544274
Fix translation () 2021-09-20 14:05:44 -05:00
Niranjana Binoy
e03d3dd5f0
Moving UseTokenDetection toggle to new Experimental tab () 2021-09-20 12:22:04 -04:00
PeterYinusa
1d658f5e0e
E2e remove xLargeDelayMs and xxLargeDelayMs delays ()
* remove xLargeDelayMs and xxLargeDelayMs delay

* fix tests
2021-09-20 15:48:49 +01:00
ryanml
8df521df8a
Updating swaps availability tooltip text ()
* Updating swaps availability tooltip text

Fixes 

* text update
2021-09-20 06:51:22 -07:00
Alex Donesky
f200876b54
[skip e2e] Update changelog for v10.1.1 () 2021-09-17 17:44:52 -02:30
Alois Klink
b7d5adcf5b
Change remote redux devtools url to redux devtools ()
Fixes .

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 ()
* 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 ()
* 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 ()
* 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) () 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 ()
* 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 () 2021-09-17 09:35:49 -05:00
Erik Marks
049c863f83 @metamask/controllers@15.0.0 ()
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, [](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 ()
* 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 : Extra account with zero balance always added when importing wallet with seed and when first account's balance is non-zero ()
* 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