1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
Commit Graph

17002 Commits

Author SHA1 Message Date
Victorien Gauch
6c3b284814 fix: update linea testnet rpc url (#19294)
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-06-13 07:02:09 -02:30
Dan J Miller
6beeef5065 Changelog lintfix, v10.32.0 2023-06-13 06:58:01 -02:30
Dan J Miller
2258eaabef Merge branch 'master' into Version-v10.32.0 2023-06-09 10:52:45 -02:30
Dan J Miller
1cea94c8eb
Merge pull request #19384 from MetaMask/Version-v10.31.1
Version v10.31.1 RC
2023-06-02 11:17:15 -02:30
Dan J Miller
37536646d4 Update changelog for v10.31.1 2023-06-01 12:23:33 -02:30
Soralit
14f1ac7a66 fix: keystone sign request break (#19349) 2023-06-01 12:22:54 -02:30
MetaMask Bot
a1050095d4 Version v10.31.1 2023-06-01 13:30:13 +00:00
Dan J Miller
bebf6bf2a5 Version v10.32.0-beta.1 2023-05-31 17:45:27 -02:30
Dan J Miller
19ebd70543 Update mv3 minimum version to chrome v88 (#19358) 2023-05-31 17:44:06 -02:30
Dan J Miller
3d4cca4d9a Version v10.32.0-beta.0 2023-05-31 12:52:55 -02:30
Dan J Miller
ce22514914 Run yarn lavamoat:auto for v10.32.0 2023-05-31 12:52:27 -02:30
Dan J Miller
efa0d2872a Update changelog 2023-05-31 12:52:11 -02:30
MetaMask Bot
b667fde2e3 Version v10.32.0 2023-05-26 20:01:59 +00:00
Mark Stacey
d9c48cc4c0
Merge pull request #19309 from MetaMask/master-sync
Master sync follow v10.31.0
2023-05-26 15:44:28 -02:30
Dan J Miller
e5a9dc8dcf Merge remote-tracking branch 'origin/develop' into master-sync 2023-05-26 15:08:25 -02:30
Elliot Winkler
c2bbbb1dbc
NetworkController: Simplify event types (#19252)
In the `core` version of this controller, event types are not held in an
enum but are specified directly as strings instead.

Simplifying the event types will make it easier to compare the
NetworkController unit tests between extension and core.
2023-05-26 10:35:52 -06:00
Elliot Winkler
b387a6e795
Reset all Jest mocks in NetworkController tests (#19295)
This makes it possible to test that mock functions are called the
correct amount of times (otherwise Jest will think that a mock function
has been called for as many tests as exist in the NetworkController unit
test suite).
2023-05-26 09:55:19 -06:00
Mark Stacey
edf3307f6e
Merge pull request #19032 from MetaMask/Version-v10.31.0
Version v10.31.0 RC
2023-05-26 11:29:36 -02:30
Danica Shen
7753364958
feature(17901): disable hardware wallet test with trezor in mv3 (#19287) 2023-05-26 14:05:34 +01:00
Thomas Huang
00db93763b Update Changelog 2023-05-25 16:00:56 -07:00
Dhruv
744dfc9e38
Part of #18714: Replacing deprecated constants in Icon folder (#19250)
* Replacing deprecated constants in Icon folder

* Requested changes

---------

Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-05-25 13:53:31 -07:00
Daniel
a62de72aaa Styling fix and content update for Swaps (#19284) 2023-05-25 11:43:21 -07:00
Daniel
c42d3920f8 Show the right "balance needed" value if we fallback from STX to regular Swaps (#19230)
* Show the right balance needed value if we fallback from STX to regular Swaps
* Fix usage of StxErrorTypes
2023-05-25 11:43:21 -07:00
Elliot Winkler
b7ef99847a
Refactor NC initializeProvider tests (#19253)
On the `core` side, the tests for `NetworkController.initializeProvider`
use the `lookupNetworkTests` to automatically test the `lookupNetwork`
behavior that `initializeProvider` initiates. This commit makes use of
the helper to bring the tests closer to the `core` version.
2023-05-25 11:47:36 -06:00
Elliot Winkler
5b85e9b73b
Refactor tests for refreshNetwork behavior (#19238)
The NetworkController tests in the `core` repo use a `refreshNetwork`
test helper to exercise the behavior performed by various methods
when switching the network. This commit brings over this test helper and
refactors tests for those methods to use it.
2023-05-25 11:36:38 -06:00
Dhruv
26bd689b44
Fixed Text Docs not rendering issue in Storybook (#19248) 2023-05-25 10:35:38 -07:00
Daniel
e1b12279ab
Show the right "balance needed" value if we fallback from STX to regular Swaps (#19230)
* Show the right balance needed value if we fallback from STX to regular Swaps
* Fix usage of StxErrorTypes
2023-05-25 19:30:10 +02:00
Daniel
af018efcb6
Styling fix and content update for Swaps (#19284) 2023-05-25 18:48:11 +02:00
Nicholas Ellul
ea321c964f Revert "limit connections (#18355)" (#19272)
This reverts commit 8d2803c179.
2023-05-25 11:32:05 -02:30
Nidhi Kumari
f0be1c3dba
added tooltip (#19269) 2023-05-25 08:30:01 -05:00
OGPoyraz
9375e3810f
fix cancel reason event for signatures (#19286) 2023-05-25 15:10:45 +02:00
Danica Shen
9ea6f8ee12
feature(17901): fix test/e2e/tests/add-account.spec.js (#19280) 2023-05-24 12:50:31 -05:00
Nicholas Ellul
ba4f56fbf7
Revert "limit connections (#18355)" (#19272)
This reverts commit 8d2803c179.
2023-05-24 11:17:00 -04:00
Nidhi Kumari
6a7688b0d3 removed mmi fencing from copy icon in header (#19087)
* removed mmi fencing from copy icon

* updated snapshot
2023-05-24 09:51:37 -02:30
David Walsh
8e3b705fc1 Fix #19139 - Allow user to switch network when loading networking fails (#19175) 2023-05-24 09:51:37 -02:30
Nidhi Kumari
d2dba07eeb UX Multichain: updated border top for activity list (#19176)
* updated border top for activity list

* updated border css via prop

* fixed symbol

* fixed lint errors

* fix conditions

* updated snapshot
2023-05-24 09:51:37 -02:30
David Walsh
68e1958005
Fix #19139 - Allow user to switch network when loading networking fails (#19175) 2023-05-24 09:40:12 -02:30
Albert Olivé
057188d155
[MMI] Add code fences in signature-request (#18770)
* Started adding code fences in signature-request

* Finished code fencing

* Improving code

* Fixed storybook and code fences bundle

* Added missing dependency

* Fixed yarn.lock

* Fixing policies

* Updated package.json

* updating lavamoat

* lavamoat fix

* adds missing package

* runs yarn dedupe

* updates method name

* run lavamoat:auto again

* Added more code fences

* updates snapshot

* snapshot updates

* updates mmi packages to lighter versions

* updates mmi packages

* runs lavamoat auto

* updates yarn lock and runs lavamoat auto

* updates yarn lock

* updates targets file

* Removed console log and added tests

---------

Co-authored-by: António Regadas <apregadas@gmail.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: Antonio Regadas <antonio.regadas@consensys.net>
2023-05-24 13:41:21 +02:00
Albert Olivé
00bad7b8a8
[MMI] Added code fencing in transaction list (#18071)
* Added code fencing in transaction list

* Fixed import

* Fixed tests

* Fixed indentation

* Fixed code fences

* Removed custody icon in favor of svg

* Fix prettier

* lint

* Fixed prettier issue

* adds check before set state with variable _mounted

* lint

* check for address in selectedIdentity

* review fix

* lint

* updates test

* lint

* clean up

* prettier

* adds missing locale

* Added tests and improved code

* Fixed code

---------

Co-authored-by: Antonio Regadas <antonio.regadas@consensys.net>
2023-05-24 13:40:58 +02:00
Monte Lai
832ce634fd
feat(accounts): import account without password (#19132)
import account without password

---------

Co-authored-by: Mike B <32695229+plasmacorral@users.noreply.github.com>
Co-authored-by: Gustavo Antunes <17601467+gantunesr@users.noreply.github.com>
Co-authored-by: Howard Braham <howrad@gmail.com>
2023-05-23 15:54:30 -07:00
Garrett Bear
53acfe271d
TEXT_ALIGN to TextAlign in UI folder (#19235) 2023-05-23 13:57:07 -07:00
David Walsh
c5a35b70c7
UX: Multichain: Only show the account picker with a selected identity (#19236) 2023-05-23 14:44:24 -05:00
David Walsh
627ff3c0ad
Multichain: UX: Snaps: Add Notifications to Global Menu (#19204)
* Multichain: UX: Snaps: Add Notifications to Global Menu

* Fix lint

* Move notification count after text
2023-05-23 14:44:05 -05:00
Garrett Bear
ba90e57663
Feat/18444/text align update app folder (#19216)
* Update TEXT_ALIGN const to TextAlign enum

* update TEXT_ALIGN to TextAlign in app folder
2023-05-23 12:29:14 -07:00
Nidhi Kumari
9db971768b
UX Multichain: updated ui for settings page (#19167)
* updated ui for settings page

* lint fix

* resolved errors

* fixed search bar css

* fixed css

* lint fix

* fixed tests

* fixed indentation

* updated settings aria label
2023-05-23 23:59:00 +05:30
Garrett Bear
415798876c
update TEXT_ALIGN to TextAlign in component-library folder (#19237) 2023-05-23 11:05:50 -07:00
Dhruv
49b8dcb25d
Moving RESIZE constant to textarea component folder (#19240)
* Moving RESIZE constant

* fixinf linting errors
2023-05-23 23:10:34 +05:30
Nidhi Kumari
15598f2a23
UX Multichain: updated border top for activity list (#19176)
* updated border top for activity list

* updated border css via prop

* fixed symbol

* fixed lint errors

* fix conditions

* updated snapshot
2023-05-23 22:54:17 +05:30
Albert Olivé
ae3021c697
[MMI] Added code fences to the following controllers: app-state, metametrics, preferences (#17894)
* Added code fences to the following controllers: app-state, metametrics, preferences

* Fixed prettier

* Updated code to be align with new changes in MMI

* Changing code fences

* Remove uneeded files

* Fixed tests

* Fixed code fence

* Changing logic to use async/await

* Removed accountAddress

* Reverted code from develop
2023-05-23 16:16:23 +02:00
Hassan Malik
a9429c5c0d
[FLASK] Fix classnames for snaps components (#19234)
* renamed classnames according to BEM, removed unnecessary scss file

* remove plurality in classnames
2023-05-23 09:07:44 -04:00