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
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
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
840eb632c6
Fix #19647 - Allow importing multiple tokens ( #20224 )
2023-08-03 09:20:34 -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
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
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
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
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
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
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
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
Albert Olivé
68f5c578a2
Fixed issue generating the pipeline ( #20231 )
2023-07-27 14:36:19 +02: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
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
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
George Marshall
25247d0300
Updating Icon types and component to use TS Box component ( #19990 )
2023-07-25 09:05:37 -07: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
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
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
Danica Shen
74a645e957
feat(874): add tooltip to connect hardwallet and style refactor ( #20121 )
2023-07-24 19:00:34 +01:00
David Walsh
23c30d9ae1
UX: Fix display block value ( #20131 )
2023-07-24 10:36:03 -05:00
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
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
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
Frederik Bolding
ba001b597c
[FLASK] Unblock personal_sign
for snaps ( #19998 )
...
* Add snap legacy authorship header
* Add legacy snap header to personal_sign
* Disable SIWE for snaps
* Add comment
2023-07-21 11:28:54 +02:00
George Marshall
733391a964
Update Text import paths: /pages ( #20117 )
...
* Updating remaining Text import paths
* Updating snapshots
2023-07-20 12:49:35 -07:00
Niranjana Binoy
0c203d0518
Signature-Request refactor ( #19104 )
...
* refactoring signature-request and adding test coverage
* adding storybook and removing the reduntant files:
* adding new components from
* replacing <SiteOrigin/> with <TagUrl/>
* updating review comments from Jyoti and George
* adding the hook
* refactoring in the changes from #18770 MMI PR
* adding new hook for the MMISign changes
* updating lavamoat
* updating lavamoat
* removing a commeted line
* updating the sign check with accountType conditional
* fixing build issues
* updating the review comments on the hooks
* updating signatureRequestHeader
* lint fix
* fixing test failure
* lint fix
* updating review comments
* adding the renamed hook
* updating the origin url
* fixing test failure
* migrating changes from #19184
* updating snapshot
* fixing e2e failure
* fixing e2e failure
* addressing review comments from Joao
* migrating chnages from #19892
* moving shallowEqual inside of mmi build
* migrating changes from #19881
* fixing build failure
* migrating changes from #19949
* migrating changes from #19468
* updating snapshot
* updating snapshot
* updating QA review comments
* fixing full screen height issue from develop
* migrating changes from #20083
* fixing snapshot
2023-07-20 18:51:38 +01:00
Jyoti Puri
6ce80fe997
Adding experimental flag for blockaid ( #19819 )
2023-07-20 21:17:01 +05:30
Albert Olivé
26225aabe0
[MMI] Removed compliance feature from the codebase ( #20088 )
2023-07-20 10:11:14 +02:00
George Marshall
bf61322ee1
Update Text import paths: /app ( #20083 )
...
* Updating import paths
* Updating snapshots
* Fixing lint issues
* Updating snapshots
2023-07-19 15:32:35 -07:00
Danica Shen
cc3ef534ad
feat(882): Ensure user's IP address is not leaked to third parties before opting-out ( #20101 )
2023-07-19 20:56:31 +01:00
George Marshall
f9649a27f8
Update Text import paths: /ui ( #20076 )
...
* Updating Text import paths in ui folder
* Updating snapshot
2023-07-19 10:55:38 -07:00
Albert Olivé
a8716db694
[MMI] Fix wrong custody logo location ( #20072 )
...
* Added missing styles
* updated snapshots
* fixed snapshot
* updated snapshot
2023-07-18 15:58:33 +02:00
António Regadas
f8bfb6cff5
[MMI] adds segment events to Metametrics constants ( #19468 )
...
* adds metametrics enums
* prettier
* adds necessary code fence
* edits events names and title cases them
* edits events names
* updates events according to segment-schema
2023-07-18 15:55:37 +02:00
George Marshall
5d17f86e02
Update Text import paths: component library/ ( #19987 )
...
* Updating component-librar import paths
* Updating snapshots
* Updates to AvatarBase story
* Updates to avatar and checkbox
* Updating last of the deprecated import paths
* Updating component-library snapshots from button-base
* Updating snapshots from rest of codebase to do with button-base
* Removing unneeded CSS
* Updating snapshots
2023-07-17 14:00:16 -07:00