António Regadas
f2356b29a5
updates values ( #19336 )
2023-05-30 13:08:07 +01:00
Dhruv
cdaa21b3cb
Changes to Popover folder ( #19245 )
2023-05-29 16:16:11 -07:00
Albert Olivé
97a9834182
[MMI] Add confirm-transaction-base code fences ( #18795 )
...
* Added code fences
* Continue working on this ticket
* Fixed policies
* Added compliance-row component
* Fixed tests and css
* Fixed invalid locale
* Fixing linting
* Add optional check
* Fixing issues
* Fixed storybook
* Added missing dependency
* ran lavamoat auto
* ran dedupe and lavamoat
* lint
* Removed compliance row
* Removed unneeded package
* Removed unneeded proptyes
* updates mmi packages
* updating lavamoat
* formatting main
* Fixed conflicts
* updates lock file
* Moved code fences to have them all in the same place
* Updated yarn.lock and lavamoat
* remove linebreak
* Improved logic in order to not have many code fences and improve readability
* Fixing proptypes issues with eslint
* runs lavamoat auto
* Testing fixes issue e2e tests
* Testing issues
* Reverting code fences container
* Fixing issue with binding
* Added code fences in proptypes
* Reverting code fences
---------
Co-authored-by: Antonio Regadas <antonio.regadas@consensys.net>
Co-authored-by: António Regadas <apregadas@gmail.com>
2023-05-29 16:50:56 +01:00
António Regadas
edf2cc41cb
[MMI] adds mmi code fences to mm controller ( #18279 )
...
* adds code fencing
* MMI adds mmi-controller
* MMI prettier
* chore: create keyring builder for CustodyKeyrings
* updates code fence to build-mmi
* adds dependencies
* fix import and prettier
* lint
* clean up
* clean up
* removes old methods and adds new
* comment for now
* adds two missing methods
* runs yarn dedupe
* adds missing import
* bump target values
* lavamoat policy update
* bump values in coverage targets
* prettier import order
* coverage report update
* clean up
* yarn update
* yarn dedupe
* ran lavamoat:auto
* adds zlib entry to storybook/main.js
* adds browserify-zlib
* clean up
* clean up
* prettier
* prettier
* eslint fix
* fix paths
* fix prettier
* fix file name for mocha
* adds to config
* rename
* adds file to configs
* test lavamoat clean up
* run dedupe
* sets value in storybook main.js as false
* runs lavamoat auto
* updates mmi packages to lighter versions
* updates mmi packages
* lavamoat auto
* adds finalized tx status
* lavamoat auto
* yarn dedupe
* clean up
* moving stuff into mmi controller
* clean up
* updates tresholds
* yarn lock review
* updates the mmi controller
---------
Co-authored-by: Shane Terence Odlum <shane.odlum@consensys.net>
2023-05-29 16:38:28 +01:00
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
Albert Olivé
dfb2c0e0e8
[MMI] Added code fencing in app menu bar ( #18069 )
...
* Added code fencing in app me nu bar
* Fixed lint issues
* Fixed yarn.lock
* Fixed issue
* Fixed tests
* Fixed yarn.lock
* Fixing policies
* Fixing lavamoat
* fixed yarn.lock
* Fixed storybook
* clean up and adds test
* lint
* typo
* adds test
---------
Co-authored-by: Antonio Regadas <antonio.regadas@consensys.net>
2023-05-23 14:51:39 +02:00
Bowen Sanders
290dbd77ce
[FLASK] Create E2E test for snaps network_access endowment ( #19213 )
...
* create networkaccess e2e
* final changes
* fixed enums
* requested changes
* fixed result test
2023-05-23 11:54:31 +02:00
Frederik Bolding
80437b9b4a
[FLASK] Fix an issue with submitting an empty Snaps UI prompt ( #19227 )
...
* Fix an issue with submitting an empty Snaps UI prompt
* Fix code fencing
* Revert accidental whitespace change
2023-05-23 11:46:45 +02:00
George Marshall
9d38e537fc
Adding Modal and updating ModalContent component ( #19020 )
2023-05-19 13:20:15 -07:00
Dan J Miller
d746b58c90
Version v10.31.0-beta.0
2023-05-19 16:31:32 -02:30
Garrett Bear
2326195324
Add DS Popover component ( #18805 )
...
* Add DS Popover component
* Update to Popover story
* make role a prop with PopoverRole enum
* update to Hiro design changes
* fix snapshot
* Update ui/components/component-library/popover/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/popover/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* small story changes and removal of unused forwardRef
* add more test coverage
* add more story demos
* add more popover demos
* if escKeyClose is passed then it will add event listener
* isPortal story
* add if statement
* replace Text with Box for now
* add esc test coverage
* add README docs
* fix readme and onEscKeyClose
* onEscKeyClose to onPressEscKey
* Update ui/components/component-library/popover/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* change conditional on useEffect
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-05-19 11:49:53 -07:00
George Marshall
8437d0491f
Deprecated Icon and ButtonIcon clean up ( #19220 )
...
* Updating all deprecated instances of Icon and ButtonIcon
* Removing unused deprecated components and scripts
2023-05-19 10:33:02 -07:00
Dan J Miller
24c564a4c3
Changelog lint fix
2023-05-19 14:20:22 -02:30