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
Frederik Bolding
789779f4d5
[FLASK] Rework Snaps headers and footers ( #19442 )
...
* Add new snap header and footer to snap install
* Add new snap header and footer to snap result and snap update
* Fix loading state
* Fix lint
* Add required scrolling
* Adjust avatar component
* Apply new headers and footers to snaps confirmations
* Rename previous SnapAuthorship component to SnapAuthorshipExpanded
* Fix lint
* Fix font weight
* Fix fencing
* Fix a test
* Fix lint after rebase
* Fix E2E
* Fix locale lint
* Fix another E2E
* Fix test ID
* Address PR comments
* Better scroll button centering
* Address design comments
* Fix unit test
* Fix E2Es
2023-06-07 15:18:49 +02:00
Albert Olivé
2070e5e42a
Feature/mmi 3009 confirm transaction base code fences ( #19335 )
...
* Added code fences
* Continue working on this ticket
* Fixed policies
* Added compliance-row component
* Fixed tests and css
* Fixed invalid locale
* Fixing linting
* Add optional check
* Fixing issues
* Fixed storybook
* Added missing dependency
* ran lavamoat auto
* ran dedupe and lavamoat
* lint
* Removed compliance row
* Removed unneeded package
* Removed unneeded proptyes
* updates mmi packages
* updating lavamoat
* formatting main
* Fixed conflicts
* updates lock file
* Moved code fences to have them all in the same place
* Updated yarn.lock and lavamoat
* remove linebreak
* Improved logic in order to not have many code fences and improve readability
* Fixing proptypes issues with eslint
* runs lavamoat auto
* Testing fixes issue e2e tests
* Testing issues
* Reverting code fences container
* Fixing issue with binding
* Added code fences in proptypes
* Reverting code fences
* Removed institutional from main lavamoat
* Added code fences in confirm transaction base component
* Adding tests for handleMainSubmit
* Improving code
* Added test for handleMainSubmit
* Removed waitFor
---------
Co-authored-by: Antonio Regadas <antonio.regadas@consensys.net>
Co-authored-by: António Regadas <apregadas@gmail.com>
2023-06-07 08:43:28 +02:00
Dhruv
2b95d7b242
Creating story for asset-list
( #19450 )
...
* Creating story for asset-list component
* lint fix
* lint-fix
2023-06-06 11:31:18 -07:00
David Walsh
7d7d09e469
UX: Multichain: Restore Flask support link and text ( #19198 )
...
* UX: Multichain: Restore Flask support link and text
* Update test
2023-06-06 11:02:00 -05:00
Niranjana Binoy
b5b3f67b4b
Using NetworkAccountBalanceHeader component on SIWE screen ( #19361 )
2023-06-06 09:53:28 -04:00
David Drazic
354788510e
[FLASK] Update UI (for audit) (UI facelift) ( #19388 )
...
* Update UI (for audit)
Revert yarn.lock change
Update e2e tests with new copy for a button
Make UI changes to custom Snap UI
Update UI on snap installation success page
Fix icon on installation success
Fix snap name font weight in installation page
Add UI changes for Snap installation failed page
Add new copy for snap installation screen
Update e2e tests OK button name
Update OK button names in e2e tests
Return previous functionality of update flow
Add error message handling for update screens
* Fix after rebase
* Fix messages.json update message
* Revert SCSS changes
* Refactor failed and success screen rendering
2023-06-06 12:15:20 +02:00
Frederik Bolding
c66d65921c
[FLASK] Limit notification count display to 99+ ( #19449 )
2023-06-06 11:00:42 +02:00
rohit kerkar
15bdb32bb6
replacing depricated constants ( #19448 )
...
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-06-06 14:21:27 +05:30
rohit kerkar
b40b4c6239
replacing depricated constants ( #19447 )
2023-06-06 14:20:45 +05:30
Nidhi Kumari
b64aa7f958
UX Multichain: Update settings title ( #19414 )
...
* update settings title
* fixed add contact button
2023-06-05 21:34:17 -07:00
Bernardo Garces Chapero
5355000202
Handle watch asset accept and reject using ApprovalController only ( #18829 )
2023-06-05 21:13:22 +01:00
Brad Decker
b5ef94b9f0
Revert "feature: Add legacy derivation path to Trezor ( #19443 )" ( #19451 )
...
This reverts commit 36de02ff69
.
2023-06-05 14:20:38 -04:00
Simon Males
36de02ff69
feature: Add legacy derivation path to Trezor ( #19443 )
2023-06-05 11:34:08 -05:00
Dhruv
61e952bad0
Replacing deprecated constants with enums ( #19242 )
2023-06-05 21:25:20 +05:30
Dhruv
5c5de03846
Updating component-library readme storybook render ( #19359 )
...
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-06-05 21:23:25 +05:30
rohit kerkar
3ec2c189b0
Part of #18714 : Replacing deprecated constants in Avatar-Base
folder ( #19408 )
...
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-06-05 10:43:23 -05:00