Victor Thomas
2ff289e271
Add Opt-out Settings toggle for 4byte contract method names resolution ( #20098 )
...
* Adding 4byte toggle to settings UI and preferences
* Adding 4byte toggle to advanced settings tab
* adding use4ByteResolution privacy logic to getContractMethodData & getMethodDataAsync, removing unused useMethodData hook, adding clearKnownMethodData
* add 4byte setting to onboarding advanced option
* more test changes
* adding e2e for 4byte setting toggle
* test and copy changes, snap updates
* removing 4byte from advanced section
* adding settings constant and fixing refs
* removing clearKnownMethodData, adding flag to selector, test fixes
* e2e refactor, selectors refactor
* adding tests
* Fix jest tests, remove unwanted forceUpdateMetamaskState
* Fix jest tests
* lint:fix
* settingsRefs fixes
---------
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2023-08-04 13:28:37 -04:00
Dhruv
658ceb90d1
Fix-Migrate Picker-Network to TS ( #20365 )
...
* migrating PickerNetwork to TS
* deleting js file
* deleting js snapshot
* fixing e2e tests and updating snapshot
* updating snapshot
* Some small updates to docs and types
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-08-04 10:11:55 -07:00
Pritam Dhara
8c2e85bb8e
Replaced ActionableMessage component in srp-input ( #20111 )
...
* Replaced ActionableMessage component in srp-input
* Modified value of Severity in srp-input/BannerAler
* fixed lint error
* Updateddata-testid in banner and test/e2e/helpers.js
* Updated className with prefix
---------
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-08-04 08:42:28 -07:00
David Walsh
fee1606fad
Fix #20305 - Show the network name in Delete Network modal ( #20309 )
...
* Fix #20305 - Show the network name in Delete Network modal
* Update app/_locales/en/messages.json
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Add unit test
---------
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-08-04 09:48:12 -05:00
Danica Shen
a85a4cf97e
feat(878): add new incomingTxn component and change styles of settings ( #20374 )
...
* feat(878): add new incomingTxn component and change styles of settings
* feat(878): relocate openSea tab from rebase regression
* feat(878): make UI and test modifications
* feat(878): transfer to ts
* feat(878): rename network-toggle.tsx
2023-08-04 12:33:47 +01:00
Dhruv
66b4d7c9fb
Replacing deprecated constants and components ( #19718 )
...
* Replacing deprecated constants and components
* updating button component
* updating snapshot
* more snapshot updates
* suggested changes
* Fixing e2e tests
* Updating deprecated components
* More updates to style and layout
---------
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-08-03 17:51:29 -07:00
jainex
52c44924e3
Part #19737 - Replace deprecated FormField component with TextField, Label, HelpText ( #19859 )
...
* Replacing deprecated components for component library components
* Update
* Lint fix
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-08-03 15:30:41 -07:00
Daniel
066c568aca
Improvements to Swaps quote auto-selection logic, fix and edge case with zero-balance tokens ( #20388 )
...
* Add Token To into assets again (reverting commit 51f46eb65f48bdf4980f400a589bf1ac63a65222 )
* Update cleanup for an unswapped Token To from the Tokens list
* Call "setLatestAddedTokenTo" conditionally
* Update an E2E test for insufficient balance notification
2023-08-03 18:19:50 -02:30
Monalisha Mishra
b46501cc0d
migration of button icon to use TS box version ( #20227 )
...
* migration of button icon to use TS box version
* fixed lint issues
* Some convention and linting updates
* README fixes
* Updating snapshot
* snapshot updates
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-08-03 12:23:47 -07:00
Ashis Kumar Pradhan
d482b21513
updated to newer Checkbox ( #20242 )
...
* updated to newer Checkbox
* removed commented code
* Adjusting styles removing deprecated code
* alignment update
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-08-03 12:22:35 -07:00
Nidhi Kumari
6c1b71b584
Updated copy changes for display NFT Media ( #20380 )
...
* updated copy changes
* updated snapshots
* lint fix
* updated test
2023-08-03 23:49:30 +05:30
Alex Donesky
6594f7074e
adapt to use networksMetadata state instead of single networkStatus and networksDetails state ( #20219 )
2023-08-03 12:31:35 -05:00
David Walsh
fca943a56e
UX: Snaps: Make Notifications Font Consistent with Other Global Items ( #20356 )
...
* UX: Snaps: Make Notifications Font Consistent with Other Global Items
* Fix E2E
2023-08-03 12:01:38 -05:00
David Walsh
840eb632c6
Fix #19647 - Allow importing multiple tokens ( #20224 )
2023-08-03 09:20:34 -05:00
David Walsh
72cc669ef6
Fix #20274 - Update locked network menu controls ( #20277 )
2023-08-03 09:20:03 -05:00
David Walsh
5a9addc532
Fix 'Global Menu Explorer / Account Details' What's New ( #20371 )
2023-08-03 09:16:01 -05:00
Jyoti Puri
8c46f85764
Confirmation page alerts ( #20125 )
2023-08-03 16:24:54 +05:30
Nidhi Kumari
d4e33b0d44
close popover on backgroiund click ( #20359 )
2023-08-03 10:14:26 +05:30
Victor Thomas
97073e1907
Move "Enable Opensea API" and "NFT Autodetect" into Security & Privacy settings ( #20278 )
...
* move opensea api and nft settings to security tab
* DS techdebt; experimental tab
* rerouting the NFT tab enable autodetect to setting
* reverting vscode settings and preferences.js
* Rerouting NFT tab autodetect setting banner link
* resolving settingsRef collision
2023-08-02 18:46:36 -04:00
Ariella Vu
6947133899
Update critical error styles ( #20350 )
2023-08-03 00:23:00 +02:00
infiniteflower
1099a3763b
Feat/swaps link buy gas ( #20241 )
...
* Add link to buy more ETH if insufficient gas
* Fix lint error
* Use native currency per network
* Use localized msg for buy more gas
* Add the word "more"
* Fix smart tx not showing msg
* Pull out not enough balance into own component
* Add story for not enough balance
* Fix btn text not being aligned with rest of text
* Move inline style to class, remove empty classname
* Update ui/pages/swaps/prepare-swap-page/not-enough-balance.stories.tsx
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update ui/pages/swaps/prepare-swap-page/index.scss
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Remove line
* Move BannerAlert back into review-quote and use BannerAlert props
* Remove unused CSS
---------
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-08-02 14:58:12 -04:00
Nidhi Kumari
f91d4fb858
Updated copy change for the IPFS toggle ( #20358 )
...
* updated ipfs toggle copy
* removed unused entries
2023-08-02 10:27:32 -07:00
Olusegun Akintayo
ef5d171f54
Whats new blockaid popup ( #20071 )
...
* deprecate opensea security alerts check
Signedoff-by: Olusegun Akintayo <akintayo.segun@gmail.com>
set metrics to []
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
fix jest tests
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
Remove sec provider spec
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
lint fix
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
What's new for blockaid...with placeholder texts
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
i18n
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
lint fixes
Rebase to develop
Add image to whatsnew blockaid.
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
Fixed i18n
Fixed snapshot for ui/pages/settings/experimental-tab/experimental-tab.test.js
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
Fix i18n messages
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
lint fixes
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
Add unit tests
Lint fixes
use new image that works for both dark and light mode
22 is taken
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
* comment out blockaid
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
* rever change in builds.yml
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
* reverted changes in test/e2e/tests/security-provider.spec.js
* fix unit test
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
---------
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
2023-08-02 16:14:02 +01:00
Nidhi Kumari
ad919026ab
UX Improvement: Fixed tooltip for token-list-item ( #20258 )
...
* updated tooltip for token-list-item
* updated snapshot
2023-08-02 15:07:12 +05:30
Ariella Vu
446c7bb3fe
Security Alert Settings: update copy to match figma ( #20300 )
...
* securityAlert: fix settings copy
* securityAlert: fix settings copy - update snapshop
2023-08-02 11:29:18 +02:00
Dhruv
484fd1a436
Updating deprecated code and using design system components ( #19562 )
2023-08-01 21:47:57 -07:00
jainex
023249a944
migration of HeaderBase to use TS Box version ( #20250 )
...
* migration of HeaderBase to use TS Box version
* migration of HeaderBase to use TS Box version
* update snapshot
* fix lint error
* Some small updates to types and removing deprecated storyook functions
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-08-01 17:36:55 -07:00
Pritam Dhara
5b5ca4599e
Replaces SEVERITIES const with Severity enum in BannerAlert ( #20200 )
...
* Replaces SEVERITIES const with Severity enum in BannerAlert
* Replaced SEVERITIES with Severity in banner-alert.constants.js
* Used BANNER_ALERT_SEVERITIES instead of SEVERITIES in banner-alert.stories.js
* Updated README for usage of Severity instead of SEVERITIES
* Updates to stories and docs link
---------
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-08-01 14:41:30 -07:00
jainex
d879f08763
Update ModalOverlay to use TS Box version ( #20203 )
...
* Update ModalOverlay to use TS Box version
* fix jest error
* lint error fix
* Fix lint errors and improve ModalOverlay's TypeScript typings
* Some small updates to story and docs
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-08-01 14:39:08 -07:00
Dhruv
d375dc550d
Part of #18714 : Replacing deprecated constants ( #19843 )
...
* replacing constants
* updating ButtonLink component
* Updates to responsive typography
* lint fixes
* snapshot updates
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-08-01 14:37:16 -07:00
Pritam Dhara
067d385012
Replaced ActionableMessage Instances in edit-gas ( #20196 )
...
* Replaced ActionableMessage Instances in edit-gas
* Updated BannerAlert className
* Changed errorKey to errorMessage
* Removing CSS and restoring local key
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-08-01 14:21:42 -07:00
Dhruv
9b55791af7
fix/migrate AvatarAccount to TS ( #20208 )
...
* migrating AvatarAccount to TS
* updates
* reverting changes to diameter
* suggested changes
* adding explicit types for AvatarAccountDiameter
* updating documentation
* Some small updates to types
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-08-01 14:19:32 -07:00
Ashis Kumar Pradhan
512fdcae56
Replaced with new checkbox in ConnectedAccountsPermissions ( #20228 )
...
* Replaced with new checkbox in ConnectedAccountsPermissions
* removed a typo
* fixed linting issue
* Small updates to styles
---------
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-08-01 14:17:19 -07:00
Nidhi Kumari
4c37448c97
Added IPFS toggle ( #20172 )
...
* added ipfs toggle
* added placeholder valur
* fixed snapshot
* updated tests
* updated spec file
* hide input if toggle is disabled
* updated e2e tests for nft image
* fixed view-ercc-1155 spec
* updated e2e tests for nfts
* added ipfs toggle modal
* updated UI for ipfs
* updated tests
* updated classname
* added placeholder image
* lint fix
* removed prop ipfsEnabled and used with selector
* fixed ui for ipfs toggle
* updated test
* updated test to handle cases
* nit fix
* ensure default image height match nft image
2023-08-01 23:51:51 +05:30
David Walsh
e27a9e4344
UX: Update Batch Account Setting Description ( #20269 )
2023-08-01 13:17:58 -05:00
David Walsh
7ca418de1f
UX: Cleanup of NetworkListMenu properties ( #20304 )
2023-08-01 13:17:48 -05:00
Daniel
24ca518315
Reset price ack if price diff in % changed, insufficient gas event, log a page load event once ( #19961 )
2023-08-01 18:18:14 +02:00
infiniteflower
10ffc1ec84
Chore/refactor smart swap modal ( #20239 )
...
* Add story for smart tx popover
* Use tsx for smart tx popover story and add btn to open it
* Refactor smart tx popover component to tsx and style
* Fix modal not triggering
* Remove bold from bullet points
* Adjust margins
2023-08-01 15:31:53 +02:00
Daniel
2ad2827bab
Redirect to homepage from Swaps asap without waiting for state cleanup ( #20236 )
2023-08-01 15:28:11 +02:00
António Regadas
2b5c112a02
[MMI] swap button redirect when account is Custody ( #20234 )
...
* wip
* adds test
* add value to constants
* clean up
2023-08-01 11:17:36 +01:00
António Regadas
c92f3b32b2
hides the CancelSpeedupPopover ( #20180 )
2023-08-01 11:16:49 +01:00
David Walsh
e6a4c63d51
Fix #19950 - Use removable property to determine if network should be removable ( #20220 )
2023-07-29 14:59:24 -05:00
Harsh Shukla
96e4b7bb9f
Replacing deprecated code in favor of component-library components ( #20137 )
2023-07-29 06:25:34 -07:00
jainex
6546aad334
Replacing deprecated Popover with Modal ( #19784 )
...
* Replacing deprecated Popover with Modal
* Fix Jest error
2023-07-28 14:03:27 -07:00
Pedro Figueiredo
537f1c7aee
feat: implement swap event metric e2e test ( #20129 )
...
* implement swap event metric e2e test
* fix lint error
* clean up initial balance helpers
* fix eslint warnings
* Fix `token_to_amount` format to address firefox bug and refactor tests
2023-07-28 19:57:06 +01:00
Ashis Kumar Pradhan
280fd5f7ef
added deprecation message and comment in ui/check-box ( #20226 )
...
* added deprecation message and comment in ui/check-box
* Small adjustments to component name and story docs
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-07-28 11:26:16 -07:00
David Walsh
0efc63784d
UX: Autofocus the Address field in Import NFT modal ( #20225 )
2023-07-28 12:29:39 -05:00
David Walsh
57ca5d9a67
Implement Network Menu Search ( #19985 )
...
* WIP: Implement Network Menu Search
* Maintain order, add tests
* Remove unwanted locale
* Fix duplicate import, better focus and item autofocus
2023-07-28 11:25:48 -05:00
David Walsh
99c709ff8f
Allow user to turn off ENS DNS resolution ( #20102 )
...
* Allow user to turn off IPFS gateway resolution
* Add end to end test for toggle on and off
* Fix jest tests and snapshots
* Change variable name
* Implement provided content
* Use MetaMask eth instead
* Allow searching for ENS setting
* Fix jest
---------
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-07-28 11:21:43 -05:00
Maarten Zuidhoorn
01a3a5d2c1
[FLASK] Bump Snaps packages ( #20230 )
...
* Bump Snaps packages
* Add endowment:lifecycle-hooks permission
* Run yarn lint:fix
* Fix unit test
* Update LavaMoat policies
---------
Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
2023-07-28 11:52:32 +02:00
Nicholas Ellul
90827c54a1
Add improved downloading logic when exporting state logs ( #19872 )
...
* Add improved downloading logic when exporting state logs
* Make test for state logs download only apply to firefox
* Remove eslint override
* Add file extension to test
* Move make jest global.Blob accessible to window
2023-07-27 13:33:36 -04:00
David Walsh
cd68bf9d09
UX: Remove portfolio from global menu ( #20221 )
...
* UX: Remove portfolio from global menu
* Remove unused locale string
* Code-fence the metaMetricsId
2023-07-27 09:35:27 -07:00
David Walsh
e5ec12027e
Improve Account Details E2E tests ( #20183 )
2023-07-27 09:22:13 -05:00
Albert Olivé
68f5c578a2
Fixed issue generating the pipeline ( #20231 )
2023-07-27 14:36:19 +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
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
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
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
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
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
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
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
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
Harsh Shukla
a01e4fa00a
Updating SignatureRequestData components ( #19994 )
...
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-07-24 13:40:41 -07:00
Harsh Shukla
ab1b4c3a31
Part of #17670 for: accreditation.component.js ( #20057 )
...
* Part of #17670 for: accreditation.component.js
* Update checkbox.test.tsx.snap
* Update ui/components/app/transaction-decoding/components/ui/accreditation/accreditation.component.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update accreditation.component.js
* Update ui/components/app/transaction-decoding/components/ui/accreditation/accreditation.component.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Updating component to use component library components and removing unused CSS
---------
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-07-24 13:38:17 -07:00
Harsh Shukla
24c9db5883
Part of #18714 for 2 files in ui\components\component-library\avatar-icon ( #20038 )
2023-07-24 14:58:30 -05:00
David Walsh
d5dbdfa912
UX: Fix TextColor value casing ( #20133 )
...
* UX: Fix TextColor value casing
* Fix snapshot
2023-07-24 13:59:45 -05:00
Binij Shrestha
ceadfacb21
Fix/18884 migrate avatar network ( #19079 )
...
* Migrate AvatarNetwokr
fixing error
fix textAlign
added AvatarNetworkSize
NetworkProps extends BaseProps instead of Boxprops
omitted children from base, made name required
replace deprecated and fix lint
* update AvatarNetwork TS
* add AvatarNetworkSize test
* remove unused size import
* Update ui/components/component-library/avatar-network/avatar-network.types.ts
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* fix readme
* update to latest box component
---------
Co-authored-by: garrettbear <gwhisten@gmail.com>
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
2023-07-24 11:15:33 -07:00
Danica Shen
74a645e957
feat(874): add tooltip to connect hardwallet and style refactor ( #20121 )
2023-07-24 19:00:34 +01:00
Gabriel Méndez
9b0f8d457b
Migrate Label component to TS ( #19146 )
...
* Migrating Label component to TS
* label TS updates
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
Co-authored-by: garrettbear <gwhisten@gmail.com>
2023-07-24 10:54:34 -07:00
David Walsh
23c30d9ae1
UX: Fix display block value ( #20131 )
2023-07-24 10:36:03 -05:00
David Walsh
9575075dc1
UX: Remove height from loading block, use modern components ( #20134 )
...
* UX: Remove height from loading block, use modern components
* Fix lint
2023-07-24 10:35:37 -05:00
youngje (heka)
660ed410ce
fix: where text wraps even though there is enough space to display it. ( #19914 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-07-24 18:51:29 +05:30
Albert Olivé
270f74c209
[MMI] Connect MMI flow in one step less ( #20143 )
...
* First approach to fix the issue that we are displaying one extra step
* Fixed issues
2023-07-24 15:14:56 +02:00
Ariella Vu
737173ed5a
New BlockaidBannerAlert component ( #20051 )
2023-07-24 12:24:17 +05:30
George Marshall
e030f28ba0
Removing none from sizes ( #20130 )
...
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-07-22 16:32:53 +09:00
Harsh Shukla
02b45aa648
Part of #18896 for file ui\components\app\create-new-vault\create-new-vault.js ( #20025 )
...
* Part of #18896 for file ui\components\app\create-new-vault\create-new-vault.js
* Update create-new-vault.js
* Adding submit attribute
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-07-21 15:14:26 -07:00
Garrett Bear
e923110092
Fix/helptext to ts ( #20108 )
...
* migrate help-text to TS
delete story with js format
Update ui/components/component-library/help-text/help-text.types.ts
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
add forwardRef
add ref in forwardRef
final updates to HelpText to TS
update HelpText props
* form text field
* Removing some unused example code
---------
Co-authored-by: taeslee <64485716+taeslee@users.noreply.github.com>
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-07-21 10:11:35 -07:00
António Regadas
8ee733c0d5
[MMI] Handle personal sign and sign typed operations ( #20087 )
...
* 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
* clean up
* clean up
* applies patch for signature controller
* clean patch file
---------
Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
2023-07-21 16:52:47 +01:00
George Marshall
c9ce85bd85
Removing unused deprecated Text component ( #20119 )
2023-07-21 08:44:57 -07:00
jiexi
4c881f70fe
Update "NFT Added" events ( #19796 )
...
* Update NFT events
* remove uneeded toString()
* source_connection_method to source for TokenAdded events
* redelete add-nft
---------
Co-authored-by: Alex Donesky <adonesky@gmail.com>
2023-07-21 10:17:56 -05:00