António Regadas
72b274d846
[MMI] Adds mmi build step ( #20207 )
...
* adds prep-build-mmi
* adds validate-source-maps-mmi
* adds test-mozilla-lint-mmi
* clean up
2023-07-27 10:08:53 +02:00
David Walsh
f584f56d9c
UX: Allow quick Add Account name based on default name ( #20168 )
...
* UX: Allow quick Add Account name
* do not allow account names with just spaces
---------
Co-authored-by: Howard Braham <howrad@gmail.com>
2023-07-26 18:03:30 -07:00
David Walsh
5db22ceb84
UX: Ensure currently selected account displays when Account Menu opens ( #20166 )
...
* UX: Ensure currently selected account displays when Account Menu opens
* Jest tests
2023-07-26 21:06:46 -02:30
legobeat
811d25c636
devDeps: @lavamoat/allow-scripts@2.0.3->2.3.1 ( #20018 )
...
* devDeps: @lavamoat/allow-scripts@2.0.3->2.3.1
Note: As of right now, this causes depcheck script to fail under yarn due to a server error in NPM registry triggered by https://github.com/yarnpkg/berry/issues/4117 . As can be seen in that issue, the results from this script have already been invalid since the upgrade from yarnv1 to yarnv3 and a change of package manager version or dependency-auditing script will have to be made.
2023-07-27 07:52:48 +09:00
legobeat
41f66271db
Dedupe bn.js ( #20199 )
...
* force latest version of dependency bn.js to @5.2.1
* test - fix broken standin data given to bn.js
---------
Co-authored-by: kumavis <aaron@kumavis.me>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-07-27 07:01:31 +09:00
Binij Shrestha
6e5ab2a945
Migrate AvatarIcon ( #19107 )
...
Migrate AvatarIcon to TS
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-07-26 14:18:36 -07:00
David Walsh
41bab4a6e1
UX: Show Checksum Addresses in Account Menu
2023-07-26 17:42:54 -02:30
David Walsh
f14a0ddb94
UX: Ensure block explorer link is for desired account ( #20144 )
2023-07-26 17:42:47 -02:30
David Walsh
78a0587c97
Fix #20006 - Add Address Details and View on Explorer to Global Menu ( #20013 )
...
* Fix #20006 - Add Address Details and View on Explorer to Global Menu
* Fix tests
2023-07-26 17:42:34 -02:30
Dan J Miller
d8c49d9a99
v10.34.2
2023-07-26 17:32:27 -02:30
David Walsh
bfe0323bd7
UX: Ensure currently selected account displays when Account Menu opens ( #20166 )
...
* UX: Ensure currently selected account displays when Account Menu opens
* Jest tests
2023-07-26 14:38:19 -05:00
David Walsh
c1a7f46e8f
UX: Show Checksum Addresses in Account Menu ( #20135 )
...
* UX: Show Checksum Addresses in Account Menu
* Checksum the account details -> export private key address copy button
* Update tests
2023-07-26 14:37:33 -05:00
Ujwal Kumar
4b2c777862
Replacing deprecated components and code for import tokens ( #19559 )
...
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-07-26 08:48:31 -07:00
Daniel
0f582af3e3
Remove console errors ( #20209 )
2023-07-26 17:32:15 +02:00
legobeat
9441c0fb7d
Remove redundant polyfill @formatjs/intl-relativetimeformat ( #20204 )
2023-07-27 00:22:44 +09:00
Binij Shrestha
d3c9d4a55a
Fix/18885 migrate avatar token ( #19080 )
...
* Migrate AvatarToken
---------
Co-authored-by: garrettbear <gwhisten@gmail.com>
2023-07-26 07:50:53 -07:00
legobeat
6c294ba006
deps: react-inspector@2.3.0->6.0.2 ( #19540 )
2023-07-26 22:15:10 +09:00
Brad Decker
e28db07a1b
Set sentry autoTrackSessions default ( #20132 )
...
* Set sentry autoTrackSessions default
* endSession....
* fixup
* updated comment
* prevent breaking devmode
* remove changes to beforeSend
* remove additional usage of sinon
2023-07-26 07:13:28 -05:00
legobeat
59e0f7b506
deps: bump QR utils, copy-to-clipboard ( #19225 )
...
* deps: copy-to-clipboard@3.3.1->3.3.3
* deps: @zxing/library->0.20.0, @zxing/browser->0.1.3
Updates to latest. These were misaligned before:
YN0060: . provides @zxing/library (p7a67d) with version 0.8.0, which doesn't satisfy what @zxing/browser requests
2023-07-26 20:56:36 +09:00
Mark Stacey
6315ff812a
Merge pull request #20192 from MetaMask/master-sync
...
Master sync PR following v10.34.1
2023-07-26 09:13:39 -02:30
Alejandro Banzas
058f3a3792
Add Gnosis Chain to the popular custom network list ( #19324 )
2023-07-26 20:05:44 +09:00
Albert Olivé
9797d9a634
[MMI] Fix element UI in MMI ( #20176 )
...
* Added support for dark mode in metafox logo and removed unused compliance images
* Fixed text elements with wrong alignment and color
* Changed needHelp in mmi
* Updated code
* Improved code
* Updated copies
* Changed logic to fix code fences issues
* Renamed component
2023-07-26 11:51:11 +02:00
ryanml
d262acb3a4
Fixing Dapp link on NFT import screen ( #19799 )
2023-07-26 13:58:16 +05:30
Dan J Miller
2c763a459a
Merge branch 'develop' into master-sync
2023-07-26 01:36:05 -02:30
Dan J Miller
ddac73b5ce
Merge pull request #20175 from MetaMask/Version-v10.34.1
...
Version v10.34.1 RC
2023-07-26 01:29:33 -02:30
Dan J Miller
9ee7459d0f
Update yarn.lock for v10.34.1, which updated sentry/cli -> node-fetch dep version, but doesn't include b7da0a9
2023-07-25 23:55:20 -02:30
Dan J Miller
40314a84c9
Update changelog for v10.34.1
2023-07-25 23:55:12 -02:30
Jyoti Puri
98279b6592
Updating extension for ppom-validator updates ( #20000 )
2023-07-26 05:28:33 +05:30
Dan J Miller
b1fb8204f3
Migration 89: ensure providerConfig in state has an id property ( #20181 )
...
* Migration 89: ensure providerConfig in state has an id property
* Exit transformState function early if providerConfig already has an id
* Update migrations/index.js
* Code cleanup
2023-07-25 21:18:40 -02:30
Dan J Miller
4927ee735a
Migration 89: ensure providerConfig in state has an id property ( #20181 )
...
* Migration 89: ensure providerConfig in state has an id property
* Exit transformState function early if providerConfig already has an id
* Update migrations/index.js
* Code cleanup
2023-07-25 21:17:57 -02:30
Garrett Bear
d6cb724323
ButtonBase linting error from IconProps ( #20187 )
2023-07-25 20:09:52 -02:30
Pritam Dhara
a942459b36
replaced actionablemessage in Import-Token.js ( #20147 )
...
* replaced actionablemessage in Import-Token.js
---------
Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
* Use single controller method to add transactions (#20007 )
* fix: remove unused useMethodData code (#20146 )
* Remove Snaps execution environment override (#20173 )
* Used Box from component-library
---------
Co-authored-by: António Regadas <apregadas@gmail.com>
Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
Co-authored-by: Matthew Walsh <matthew.walsh@consensys.net>
Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
2023-07-25 15:11:23 -07:00
Dan J Miller
374656a3d1
Fix sentry sourcemaps ( #20122 )
...
* Update sentry/cli to 2.19.4
* Ensure sentry files are loaded and referenced with a valid url
* Temp to eliminate errors in sentry (should be split into other PRs)
2023-07-25 18:03:42 -02:30
Mark Stacey
fbae250b0a
Fix invalid state persistence error ( #20080 )
...
* Fix invalid state persistence error
We have been seeing Sentry errors showing that state persistence has
been failing for some users that have invalid `NetworkController`
state. This has been fixed by updating to
`@metamask/base-controller@v3.2.0`, which is more tolerant of
unexpected state properties.
* Update LavaMoat policies
---------
Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
2023-07-25 18:02:54 -02:30
Dhruv
a10fb75f35
replacing deprecated components and consts ( #19563 )
...
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-07-25 13:22:26 -07:00
David Walsh
bab1670432
Restructure CurrencyDisplay to use Design System ( #19171 )
...
* Restructure CurrencyDisplay to use Design System
* Add storybook, remove CSS
* Update ui/components/ui/currency-display/currency-display.component.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/ui/currency-display/currency-display.component.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/ui/currency-display/currency-display.stories.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/ui/currency-display/currency-display.component.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/ui/currency-display/currency-display.stories.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/ui/currency-display/currency-display.stories.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Remove deprecated imports, import EtherDenomination
* Update jest
* Use TextVariant: Inherit to keep correct font-size
* Snapshots
* Switch from boxProps to props
---------
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-07-25 14:32:21 -05:00
David Walsh
9310a95499
UX: Ensure block explorer link is for desired account ( #20144 )
2023-07-25 11:59:22 -05:00
George Marshall
25247d0300
Updating Icon types and component to use TS Box component ( #19990 )
2023-07-25 09:05:37 -07:00
Garrett Bear
3f27d018c4
Fix/buttonbase ts update ( #20060 )
...
* Migrate ButtonBase to TS
---------
Co-authored-by: Binij Shrestha <shresthabinij@gmail.com>
2023-07-25 09:05:15 -07:00
ryanml
85465f53a7
Fixing 'View on Opensea' link for main and testnet NFTs ( #19797 )
2023-07-25 21:14:40 +05:30
vthomas13
3e6f1c3288
Adding Metametrics for Activity Screen ( #20077 )
...
* adding activity metrics and tests
* removing unnecessary stopPropagation
2023-07-25 09:06:11 -04:00
Maarten Zuidhoorn
6914baa54e
Remove Snaps execution environment override ( #20173 )
2023-07-25 11:57:59 +02:00
Pedro Figueiredo
83a5090c48
fix: remove unused useMethodData code ( #20146 )
2023-07-25 10:49:45 +01:00
Matthew Walsh
fdc3558988
Use single controller method to add transactions ( #20007 )
2023-07-25 09:50:55 +01:00
António Regadas
4b9a4d330c
[MMI] Allows the mmi build to be generated using the dist command ( #20148 )
...
* adds listeners for signatureControll and adds the handleSigningEvents method
* clean up
* updates signature request containers files
* adds necessary methods
* wip
* signing flow with core methods
* yarn lint
* updates logic to fit latest signatureCOntroller
* updates mmi extension package
* updates signature-controller and message-manager packages
* checkout develop lock file and run yarn
* checkout develop lock file and package.json to test circleci
* test fix
* adds signature-controller new version
* updates mmi extension package
* tx-list update and runs lavamoat auto
* lint fix
* runs lavamoat auto
* resets lavamoat/build-system/policy.jsono to develop
* Update LavaMoat policies
* adds back the dispatch
* lint
* changes needed to generate a mmi build
* adds metametricsId in url param
* adds necessary fence
---------
Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
2023-07-25 10:31:52 +02:00
Dhruv
5693d1945a
Migrate component to TS: Input ( #20094 )
...
* Migrating Input component
* Adjusting types and fixing design system import
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-07-24 21:13:17 -07:00
Harsh Shukla
84ff66c373
Part of #17670 for ui\components\app\transaction-detail-item\transaction-detail-item.component.js ( #19980 )
...
* Part of #17670 for ui\components\app\transaction-detail-item\transaction-detail-item.component.js
* Update transaction-detail-item.component.js
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-07-24 21:09:56 -07:00
David Walsh
d1bc22a4e2
Fix #20140 - Ensure only one network displays as selected in the network picker when chain IDs collide ( #20152 )
2023-07-24 19:06:37 -05:00
Garrett Bear
02b8edc8c2
Fix hover on account menu ( #20153 )
...
* Fix hover on account menu
* remove excessive color prop
2023-07-24 15:26:22 -07:00
Dhruv
edbc728014
Migrate component to TS: Tag ( #20086 )
...
* migrating Tag to TS
---------
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-07-24 13:42:10 -07:00