Dan J Miller
2bf6f1bb37
Disable the opensea provider and NFT feature What's New notifications ( #19828 )
2023-06-29 13:52:30 -02:30
Nidhi Kumari
a7d9c9cc11
removed margin for popup view ( #19804 )
2023-06-28 16:22:27 -02:30
Alex Donesky
3e9680c0d5
fix issue where non-standard NFT watchAsset requests result in notification with home screen view ( #19788 )
2023-06-28 16:18:17 -02:30
Daniel
a9b3c8bfaf
Only show a Swaps notification on a supported chain ( #19673 )
2023-06-27 14:37:55 -02:30
David Walsh
626edb8b82
UX: Ensure multichain native token name is always shown ( #19705 )
...
* UX: Ensure multichain native token name is always shown
* Fix lint
2023-06-27 14:37:55 -02:30
Mark Stacey
28093b0c59
Fix fallback gas estimation ( #19746 )
...
* Fix fallback gas estimation
Our fallback gas estimation was failing due to a bug in the
`@metamask/controller-utils` package. This was causing gas estimation
to fail completely on certain networks (those not supported by our gas
estimation APIs and non EIP-1559 compatibile), and it was causing the
fallback gas estimation operation (in case our API was down) to fail
across all networks.
Fixes https://github.com/MetaMask/metamask-extension/issues/19735
* Add e2e tests
E2E tests have been added to capture gas estimation. Cases are added
for our API, for the fallback estimate, and for non-EIP-1559 estimates.
As part of this work, the legacy gas API had to be disabled. This was
being used in e2e tests but was dead code in production. It needed to
be disabled to ensure the code under test was reachable.
* Fix gas API referenced in e2e test
* Update unit test snapshots
2023-06-27 14:37:54 -02:30
David Walsh
53edffe279
Fix #847 - Don't show account address on token pages ( #19740 )
...
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-06-27 14:33:30 -02:30
Nidhi Kumari
e8e6d7cd35
UX Multichain: fixed padding for edit screen ( #19707 )
...
* fixed padding for edit screen
* Use network picker for header trigger
* Fix swaps display
* updated snapshot
---------
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2023-06-27 14:33:30 -02:30
Nidhi Kumari
5512e2921f
removed portfolio link from wallet view ( #19716 )
...
* removed portfolio link from wallet view
* removed unused code
* updated test
* updated spec file
* updated test
2023-06-27 14:33:30 -02:30
Nidhi Kumari
0f330e21e5
added extra margin for unlocked state in full view in header ( #19701 )
...
Co-authored-by: Danica Shen <zhaodanica@gmail.com>
2023-06-27 14:33:30 -02:30
Victorien Gauch
e4923399a9
feat: add new linea mainnet network ( #19326 )
...
* feat: add new linea mainnet network
* fix: removed unused condition + lint code
* fix: update tests + fix network tab issue
* feat: add feature toggle for linea mainnet
* fix: add feature toggle for linea mainnet
* feat: add linea mainnet logo
* update @metamask/eth-json-rpc-infura package to support linea networks
* update linea mainnet block explorer url
* fix: refactor linea mainnet feature toggle
* fix: update linea mainnet chain id and rpc url
* fix: update settings-search unit test
* fix: update linea mainnet feature flag
* fix: remove useless async function keyword for linea mainnet feature flag
2023-06-16 14:05:33 -02:30
Garrett Bear
70d86ee67c
Feat/19274/ds popover update account list menu ( #19534 )
...
* update account list menu to use ds popover and fix accessibility issue
* close popover if user continues to tab to next items
* remove disable logic not doing anything
* add stylesheet
* add refs to track last menuitem
* cleaned up ref version for MenuItems
* fix test
* add click away option and fix test
* fix e2e test
* undo e2e test
* add account e2e
* fix click outside component
* remove additional line break
* remove commented out code
* add isOpen to story
* set width to 225px
2023-06-16 09:25:13 -07:00
Nidhi Kumari
a8a61ebc33
Updated contacts Title and copy changes in Send Flow ( #19618 )
...
* updated snapshot
* updated spacing for edit and delete in full screen
* updated ui
* reverted changes for contacts
* updated json
2023-06-16 21:36:27 +05:30
David Walsh
bc2a5aaf96
Fix #19619 - Submit the account creation form when pressing enter ( #19620 )
2023-06-16 08:13:08 -05:00
Daniel
1aae94fedc
Fix searchable item list height ( #19634 )
2023-06-16 15:06:25 +02:00
Alex Donesky
c16b35c029
Extend wallet_watchAsset
to support ERC721
and ERC1155
tokens ( #19454 )
...
* Extend wallet_watchAsset to support ERC721 and ERC1155 tokens
2023-06-15 15:18:12 -05:00
Daniel
8b3e3c8a58
Swaps UI update ( #19169 )
2023-06-15 20:17:21 +02:00
António Regadas
1520f57b77
MMI start script and fixes a bug preventing it to run ( #19594 )
...
* adds MMI start script and fixes a bug preventing it to run
* lint fix
2023-06-15 17:57:35 +01:00
David Walsh
d2f0b2f785
UX: Ensure 'Connect Hardware' route is functioning properly ( #19612 )
...
* UX: Ensure 'Connect Hardware' route is functioning properly
* restore create-account page
---------
Co-authored-by: Bernardo Garces Chapero <bernardo.chapero@consensys.net>
2023-06-15 11:55:23 -05:00
Olusegun Akintayo
a0e6737848
Fix unknown processing time not showing in warning color ( #19527 )
2023-06-15 10:52:08 -05:00
David Walsh
276d9c74c6
Fix #19437 - Prevent Connected Sites global menu item from being clicked during confirmation ( #19598 )
...
* Fix #19437 - Prevent Connected Sites global menu item from being clicked during confirmation
* Add tests
2023-06-15 08:36:28 -05:00
David Walsh
b6f42bacf7
UX: Add portfolio button in overview ( #19601 )
2023-06-15 08:17:29 -05:00
Victorien Gauch
1fca9255c1
fix: refactor linea goerli testnet implementation ( #19321 )
...
* fix: refactor linea goerli testnet implementation
* fix: rename linea goerli network
* feat: add linea testnet logo
* update linea goerli block explorer url
* update @metamask/eth-json-rpc-infura package to version 8.1.0
* fix: refactor ticker map object in shared/constants/networks.ts files
2023-06-15 09:08:07 -02:30
David Walsh
875bad125f
Fix #19439 - Allow Account Picker during Send flow ( #19522 )
...
* Fix #19439 - Allow Account Picker during Send flow
* Disable any network change with confirmations pending
* Disable the settings menu during an unconfirmed transaction
2023-06-14 13:49:14 -05:00
George Marshall
f4f80c223e
Adding deprecation tags to popover and old modals ( #19556 )
...
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-06-14 09:47:16 -07:00
Nidhi Kumari
bdb26b04fc
updated components with Multichain Prefix ( #19593 )
2023-06-14 21:21:19 +05:30
Nidhi Kumari
c59941c7bc
UX Multichain: UI fixes for settings page ( #19574 )
...
* fixed spacings and UI for settings page
* lint fix
2023-06-13 20:47:35 +05:30
Nidhi Kumari
cc0b30776a
UX Multichain: updated enums for multichain token list item ( #19575 )
...
* updated enums for multichain token list iteam
* updated snapshot
2023-06-13 20:47:21 +05:30
George Marshall
6c3f31d382
Adding background/default to BorderColor enum to prevent propType error and updating tests ( #19571 )
2023-06-13 08:11:21 -07:00
David Walsh
28137798b6
UX: Multichain: Move Add Account and Import Account into Account Menu Popover ( #19346 )
...
* UX: Multichain: Move Add Account and Import Account into Account Menu Popover
* Create a new CreateAccount component for the Account Menu
* Add actions for import form
* Use separate actions for cancel vs. submit
* Fix jest tests
* Remove commented route navigation
* Accommodate for failing import
* Fix tests
* Remove routes for new account and import
* Remove old create account page
* Move import-account files to multichain directory
* Fix paths on the import files
* Remove deprecated component library variables
* Fix error property of add form
* Fix user-actions-benchmark
2023-06-13 10:07:01 -05:00
Matthew Walsh
4f4192c6f4
Await approval request in transaction controller ( #19197 )
2023-06-13 10:17:32 +01:00
Elliot Winkler
f77b1f65e2
Upgrade assets-controllers to v9 ( #19472 )
2023-06-09 15:48:48 -05:00
Nidhi Kumari
f11596710c
UX Multichain: Updated header to use picker network in popup view ( #19514 )
...
* updated avatar network to use picker network in popup view
* removed unused locale
* fixed the extra gap
* fixed css
* fixed lint error
* updated aria label
2023-06-09 21:30:11 +05:30
Frederik Bolding
1a8a263cc1
[FLASK] Align update error state with Figma ( #19547 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-06-09 16:50:51 +02:00
Frederik Bolding
3e1fb2a4be
[FLASK] Fix usages of getSnapName
( #19546 )
2023-06-09 16:37:38 +02:00
Hassan Malik
ff36e32fb0
[FLASK] Improve snaps connect flow ( #19461 )
...
* add todo comments
* add snaps-connect component
* added new messages
* added component scss files to main scss files
* remove dead code and add snap-connect-cell
* update snaps connect
* updated messages and styling
* update messages and css
* update css
* moved snaps privacy warning into snaps connect, moved snaps connect error into snap install
* added story and removed unused import
* fix style linting and move snaps connect error css
* removed unused message
* ran lavamoat policy generation
* fix fencing
* some more css changes
* Fix scrolling and box shadow
* added comment, fixed quote
* Align more with Figma
* Regen LavaMoat policies
* bring back privacy logic to permission page container
* Revert scrolling changes + fix snaps icon
* fix linting, reintroduced dedupe logic and additionally addressed a corner case
* made some fixes
* Fix scrolling with multiple snaps
* add dedupe logic to snaps connect and fix spacing issue
* policy regen
* lint fix
* fix fencing
* replaced with new icon design, trimmed origin urls in certain places
* remove unused imports
* badge icon size
* Revert LM policy changes
* Use SnapAvatar for snaps-connect
* Use InstallError for connection failed
* Delete unused CSS file
* Remove unused CSS
* Use useOriginMetadata
* addressed PR comments
* fix linting errors
* add explicit condition
* fix fencing
* fix some more fencing
* fix util fencing issue
* fix storybook file, prevent null destructuring
* Fix storybook origin URLs
* Fix wrong prop name
---------
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: Guillaume Roux <guillaumeroux123@gmail.com>
Co-authored-by: Erik Nilsson <eriks@mail.se>
2023-06-09 10:36:38 -04:00
David Drazic
8eff1fc1ff
[FLASK] Update Snaps privacy notice ( #19501 )
...
* Update Snaps privacy notice
* Add changes to finalize update requirements
* Update scroll icon color
* Fix unit tests
* Update link
* Address small change requests
* Fix unit test
* move terms of use link to variable
---------
Co-authored-by: Guillaume Roux <guillaumeroux123@gmail.com>
2023-06-09 14:22:31 +02:00
George Marshall
006d90fee7
Deprecate JS version of Box in favor of TS version ( #19530 )
...
* Initail deprecation messages and updates
* Updating spelling of favour to US spelling favor
2023-06-08 13:37:09 -07:00
George Marshall
35ae06d824
Adding Box
component in TS to component-library ( #19363 )
...
* Adding TS version of Box to component-library
* Updates to types and comments
2023-06-08 11:12:16 -07:00
Binij Shrestha
fa70aec286
added validTag string literal union ( #19258 )
...
* added validTag string literal union
* Adding deprecation message
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-06-08 11:01:00 -07:00
Nidhi Kumari
c0afc4d2a9
update icons for add-network ( #19513 )
2023-06-08 22:56:20 +05:30
Nidhi Kumari
a8e194a8f6
Send flow UI update ( #19465 )
...
* removed recents and added accounts in send flow
* updated add contact button and fixed full screen view
* updated ui for contacts
* fixed lint errors and test
* fixed lint errors
* fixed lint errors
* updated spec files
* fixed lint errors
* updated snapshot
* fixed edit in spec files
* removed unused console statement
* updated snapshot
* added userInput check
* updated snapshot and added hover
2023-06-08 22:39:39 +05:30
Suraj Jadhav
6ede0422ca
issue-18714: Replaced deprecated constants with enum in EthSignModal and HoldToRevealModal Component ( #19499 )
...
* issue-18714: Replaced deprecated constants with enum in eth-sign-modal.js
* issue-18714: Replaced deprecated constants with enum in hold-to-reveal-modal.js
2023-06-08 16:35:16 +05:30
aleksandar-mihajlovic
f3147bcfb7
Added the ability to navigate multiple SIWE notifications ( #18103 )
2023-06-08 13:02:08 +02:00
David Drazic
2e856894cc
[FLASK] Update snap installation permission warning UI ( #19494 )
...
* Update snap installation permission warning UI
* Fix font size (TextVariant)
* Fix vertical margins between labels
* Update font weight in warning top description
* Update snapName for warning modal on update flow
2023-06-08 12:32:47 +02:00
Olusegun Akintayo
e2c4e93ab0
When gas fees suggested by dapp is too high, show warning color and icon ( #19088 )
...
* When gas fees suggested by dapp is too high, show warning color and icon
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
tests
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
Fix tests
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
set a default for high gas fees
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
Fix test cases where transaction is undefined.
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
Fix locale error
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
Fix error where dappSuggestedGasFees is null
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
Fix icon for site suggested
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
Fix unit tests snapshot
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
* Fix QA Comments
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
* lint:fix
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
* Fix unit tests
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
* Fix PR comments
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
* Lint fix
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
* Fix PR comment. - call setEstimateUsed only once.
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
* use constants for Priority levels.
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
---------
Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
2023-06-08 13:26:18 +03:00
Albert Olivé
08b881880f
[MMI] Improved code, fixed bugs and added more tests ( #19488 )
...
* Improved code, fixed bugs and added more tests
* removing tabKey prop as is causing to fail other test
2023-06-08 11:01:06 +02:00
Suraj Jadhav
e7adf7ac22
issue-18714: Replaced deprecated constants with enum in confirmation-warning-modal.js ( #19477 )
2023-06-07 16:19:32 -07:00
Dhruv
58f6cf96cf
Creating story for icon-border
( #19467 )
...
* Creating story for icon-border
* Adding deprecation message
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-06-07 16:18:33 -07:00
Dhruv
29e6c2d34e
Creating story for account-mismatch-warning
( #19460 )
...
* Creating story for account-mismatch-warning
* Removed line break
---------
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-06-07 16:17:08 -07:00