f732845aa5
Merge branch 'develop' of github.com:MetaMask/metamask-extension into minimal
2023-08-08 11:53:47 +01:00
David Walsh
8c953d2d5b
Fix #20184 - Prevent overflow within the activity list ( #20188 )
...
* Fix #20184 - Prevent overflow within the activity list
* removing inline style, updating snap
---------
Co-authored-by: Victor Thomas <10986371+vthomas13@users.noreply.github.com>
2023-08-05 12:11:27 -04:00
Garrett Bear
70a13296c9
Feat/18889/update buttonlink ts ( #20372 )
...
* fix buttonlink alignment
* ButtonLink TS migration
* fix lint
* remove ButtonBase loading error feat
* move padding 0 to ButtonBase
* fix color issue
* fix test file
* fix snapshot
* Update ui/components/component-library/button-link/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* readme fix
* Update ui/components/component-library/button-link/button-link.stories.tsx
Co-authored-by: George Marshall <george.marshall@consensys.net>
---------
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-08-04 14:00:05 -07:00
David Walsh
91f6545c09
UX: Remove the 'Source' and 'Link' URLs from NFT detail ( #20248 )
2023-08-04 13:28:34 -05:00
jainex
798a9b0e60
migration of Popover to use TS Box version ( #20279 )
...
* migration of Popover to use TS Box version
* fix lint error
* Updating docs
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-08-04 11:11:32 -07:00
Garrett Bear
3915482edb
ButtonPrimary to TS ( #20390 )
...
* ButtonPrimary to TS
* button primary to ts updates
* fixes
2023-08-04 10:45:55 -07:00
Nidhi Kumari
90adb4617b
UX Multichain: Fixed fiat and eth value in Account List Menu ( #20334 )
...
* swapped fiat and eth valu
* updated e2e test for account list and token value
* updated fixture
2023-08-04 13:29:23 -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
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
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
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
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
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
7ca418de1f
UX: Cleanup of NetworkListMenu properties ( #20304 )
2023-08-01 13:17:48 -05: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
5fbd7afb23
Merge branch 'develop' of github.com:MetaMask/metamask-extension into minimal
2023-07-29 09:10:55 +01: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
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
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
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
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