961407be2d
Merge branch 'develop' of github.com:MetaMask/metamask-extension into minimal
2023-09-07 12:13:58 +01:00
George Marshall
c25d9c968e
Update account list to use all available screen space ( #20745 )
...
* Updating ModalContent styles and padding to allow for dynamic resizing of content that allows scrolling within the modal. This commit also updates the AccountListMenu so the account list can resize dynamically to take up all screen space available
* Updating the scroll bar styles from default for the ModalContent component so the scrollbar is thinner and more sleek
2023-09-06 16:52:41 -07:00
Howard Braham
b963c9a40e
fix: "Allow quick Add Account name based on default name" (20168) ( #20748 )
...
I made a mistake in a suggestion on PR #20168 , and Mark Stacey noticed it. This PR fixes it.
2023-09-06 12:11:10 -07:00
Matthew Walsh
07adba5926
Use transactions array in frontend ( #20523 )
...
Send the entire transactions array to the frontend rather than currentNetworkTxList and unapprovedTxs.
2023-09-04 16:48:25 +01:00
6ceb9f7654
Merge branch 'develop' of github.com:MetaMask/metamask-extension into minimal
2023-09-02 17:01:22 +01:00
Bra0xit
2180d9c584
Updating padding for 'import-token__custom-token-form' to match 'import-token__search-token' in Import Token Modal ( #20661 )
...
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-08-31 21:37:45 +05:30
David Walsh
53f585b68e
UX: Create selector for blockie preference ( #20577 )
...
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-08-31 08:53:22 -05:00
David Walsh
ebf2156573
UX: Nit: Avoid AccountPicker props error ( #20645 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-08-31 08:46:40 -05:00
Nidhi Kumari
6a17d76efc
UX Multichain: Added Select an action Modal ( #20559 )
...
* added select-action-modal skeleton
* added select action modal item
* replaced stake link with constant
* added route for open and close of modal
* updated lint errors
* lint fix
* updated tests
* revert unnecessary changes
* fixed lint errors
* added suggestions
* lint fix
* updated test
* nit fix
* updated select action item to use button
* removed unused fragments
* moved onClose command to bottom
* moved select action modal on footer click
* changed isDisabled to disabled
* added hover and updated test
* nit fix
2023-08-29 22:15:30 +05:30
Nidhi Kumari
215430236e
Created new route for connections ( #20556 )
...
* created new route for connections
* remove unnecessary code
* added connections component
* fixed connections route
* moved connections to pages in multichain
* moved connections route to multichain feature flag
2023-08-29 22:08:29 +05:30
Nidhi Kumari
b8b94c2c1f
UX Multichain: Added balance-overview component ( #20528 )
...
* added balance-overview component
* updated balance overview component to use Currency utility props
* added MULTICHAIN feature flag
* lint fix
* lint fix
* lint fix
* updated ternary operators
2023-08-29 22:07:23 +05:30
a2839ce7aa
Merge branch 'develop' of github.com:MetaMask/metamask-extension into minimal
2023-08-25 17:39:52 +01:00
Victor Thomas
cf651c4d63
Multichain v1 App Footer component ( #20550 )
...
* wip bottom navbar
* creating app-footer component
* moving appfooter inline styles to scss
* lint:fix
* refactor app-footer
* reverting home component, icon-button changes
* adding hrefs and tabindex
2023-08-25 12:28:15 -04:00
Howard Braham
d76b458235
fix(privateKey): Restore hold-to-reveal button for private key export ( #20109 )
...
* fix(privateKey): Restore hold-to-reveal button for private key export
* lint and unit test fixes
* adding e2e tests to reveal private key
* fixing lint issues
* fixed: Private key is able to be presented without tapping and holding the "Hold to reveal" CTA
* Incorrect password test and support hold to reveal
* improving unit tests
---------
Co-authored-by: Plasma Corral <32695229+plasmacorral@users.noreply.github.com>
Co-authored-by: Gustavo Antunes <17601467+gantunesr@users.noreply.github.com>
2023-08-24 17:35:26 -04:00
Danica Shen
00d155ce2f
feat(878): implement network txn toggle and new style ( #20363 )
...
* feat(878): implement new incoming transaction toggle networks for setting and onboarding
* Update state snapshots
* feat(878): change gaps, migration types based on comment
---------
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2023-08-24 11:27:42 +01:00
David Walsh
79d9c18cb1
UX: Multichain: Add address to account picker, change connection to copy button ( #20520 )
...
* UX: Multichain: Add address to account picker, change connection to copy button
* Fix for very long account names
2023-08-23 11:36:03 -05:00
Dhruv
07abc53cce
fix/BannerBase to TS ( #20421 )
...
* BannerBase to TS
* snapshot updates
* more snapshot updates
* addressing type definition error
* updating eth-sign-modal snapshot
* Updates to stories, types and adding data-testid
* Updating snapshots
* updating snapshot of blockaid-banner-alert and adding unit test for childrenWrapperProps
* BannerBase updates to stories, adding locale for close button, removing static data-testid in favor of using it at the instance, updating snapshots associated with those changes
* Removing incorrect arg from storybook file
* Updating html element in security provider e2e test to match BannerBase. Also updating snapshot of ConfirmTransaction page
* Fixing e2e tests
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-08-18 14:52:40 -07:00
Michele Esposito
3aa5b7d362
Use importAccountWithStrategy
from core KeyringController
( #19815 )
...
* refactor: use new importaccount from keyring controller
* Update LavaMoat policies
* Update LavaMoat policies
* Update LavaMoat policies
---------
Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
2023-08-17 09:11:51 +02:00
1be7c9784b
Merge branch 'develop' of github.com:MetaMask/metamask-extension into minimal
2023-08-15 12:54:40 +01:00
Dhruv
7c2f7671b0
ButtonSecondary to TS ( #20411 )
...
* ButtonSecondary to TS
* updating components and addressing errors
* lint and snapshot updates
* using Boolean conversion for className
* removing ValidButtonTag type
* fix text color when link
---------
Co-authored-by: garrettbear <gwhisten@gmail.com>
2023-08-14 15:13:15 -07:00
Dan J Miller
f8187c2538
Fix opening of speedup popover in activity list (in the popup view) ( #20205 )
...
* Set height of activity-list-item rightContent to Blocksize.min, so that the element doesn't overlap buttons
* Fix unit test
---------
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-08-14 13:55:41 -02:30
David Walsh
ee4bf2d264
Fix #19829 : UX: Multichain: Move "Import Tokens" to Modal ( #19553 )
...
* Move Import Tokens to Modal
* Better dimensions for long token name
* Add padding above tabs
2023-08-14 11:08:59 -05:00
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
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
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
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
72cc669ef6
Fix #20274 - Update locked network menu controls ( #20277 )
2023-08-03 09:20:03 -05: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
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
David Walsh
e6a4c63d51
Fix #19950 - Use removable property to determine if network should be removable ( #20220 )
2023-07-29 14:59:24 -05:00
5fbd7afb23
Merge branch 'develop' of github.com:MetaMask/metamask-extension into minimal
2023-07-29 09:10:55 +01: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
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
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
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
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
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
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