Nidhi Kumari
bdb26b04fc
updated components with Multichain Prefix ( #19593 )
2023-06-14 21:21:19 +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
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
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
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
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
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
Frederik Bolding
3b9e2eb5e5
[FLASK] Update snap tweaks ( #19410 )
...
* Sort revoked permissions before existing permissions
* Simplify update screen logic and update copy
* Remove approve and update copy
* Reduce nesting
2023-06-05 14:31:11 +02:00
vthomas13
1726fb3fd0
Remove MULTICHAIN flag for NFT badges ( #19416 )
2023-06-04 12:28:48 -04:00
David Walsh
931b126831
UX: Multichain: Make MetaFox logo more accessible ( #19395 )
...
* UX: Multichain: Make MetaFox logo more accessible
* Fix jest snapshots
2023-06-02 11:43:20 -05:00
vthomas13
4f8c4820d2
Multichain NFT network badges ( #19029 )
...
* adding badges for nfts
* fixing default nft styling issue
* adding multichain flag, making borderRadius inline
* Apply suggestions from code review
Co-authored-by: George Marshall <george.marshall@consensys.net>
* fixing imports
* removing nullcheck for guaranteed fields
* moving badgewrapper UI into multichain component
* using Box for button, removing inline style, border-radius for NFT default image
* adding nft badges to NFT Details page
* nits, snap update
* fixing/refactoring nftdefaultimage display, adding clickable, removing handleimageclick, refactor NFTItem, required props
* editing nft-default-image story, test, and snap
* Updating to fix positioning, use Box props to reduce CSS and BEM naming conventions
* moving minor styling to Box props, adding comment
* display block typo
---------
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-06-02 11:01:51 -04:00
Jyoti Puri
f1de905be7
Fix details when transferring NFT not added to wallet ( #19045 )
2023-06-02 18:33:10 +05:30
Pedro Pablo Aste Kompen
37af04374a
feature(on-ramp): update supported networks ( #19268 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-06-02 08:19:03 -04:00
David Walsh
b89630fdd2
Release MultiChain 0.5 ( #18903 )
...
* Show portfolio icon in ETH overview
* Show new copy button in QR code modal
* Show address copy button in wallet overview
* Update connected status component
* Remove legacy MenuBar
* Remove legacy ImportTokenLink
* Remove AssetListItem
* Remove DetectedTokensLink
* Remove legacy AppHeader
* Remove MULTICHAIN flag from builds.yml
* Remove legacy AccountMenu
* FIX: Token cell snapshot
* Add data-testid for Account Picker
* Remove multichain check in LoadingNetworkScreen
* Remove MULTICHAIN check for AccountDetailsModal
* Remove MULTICHAIN check for AssetList
* Update QR dimensions
* Remove MULTICHAIN declaration from metamaskrc.dist
* Implement PickerNetwork and NetworkListMenu in onboarding
* Remove legacy NetworkDropdown and Dropdown
* Remove documentation about legacy account menu
* FIX: Fixes route tests for missing data-testid=network-display
* Fix account-menu-icon data-testid
* Fix TokenCell test
* FIX Onboarding Flow tests
* Remove unused locales from AccountMenu removal
* E2E: Fix Import Secret Recovery Phrase: logs out of the vault
* E2E: Fix Show account details: should show the QR code for the account
* E2E: Fix add-account.spec.js
* E2E: Fix state-logs.spec.js
* E2E: Fix lock-account.spec.js
* E2E: Fix settings-general.spec.js
* E2E: Fix advanced-settings.spec.js
* E2E: Fix auto-lock.spec.js
* E2E: Fix backup-restore.spec.js
* E2E: Fix clear-activity.spec.js
* E2E: Fix settings-search.spec.js
* E2E: Fix encrypt-decrypt.spec.js
* E2E: Fix dapp-interactions.spec.js
* E2E: Fix test-snap-management.spec.js
* E2E: Fix add-custom-network.spec.js
* E2E: Fix from-import-ui.spec.js
* E2E: Fix provider-api.spec.js
* E2E: Fix chain-interactions.spec.js
* E2E: Fix custom-rpc-history.spec.js
* Remove network icon from overview components
* E2E: Fix user-actions-benchmark.js
* E2E: Fix benchmark.js
* E2E: Fix add-hide-token.spec.js
* E2E: Fix address-book.spec.js
* E2E: Fix custom-token-add-approve.spec.js
* E2E: Fix incremental-security.spec.js
* E2E: Fix metamask-responsive-ui.spec.js
* E2E: Onboarding.spec.js
* E2E: Fix permissions.spec.js
* E2E: Fix send-hex-address.spec.js
* E2E: Fix send-to-contract.spec.js
* Remove dead AccountOptionsMenu test
* E2E: Fix token-details.spec.js
* E2E: Fix switch-custom-network.spec.js
* E2E: Fix metamask-ui.spec.js
* Revert "UX Multichain: updated border top for activity list (#19176 )"
This reverts commit 15598f2a23
.
* E2Es: Fix test-snap-management.spec.js and test-snap-notification.spec.js
* E2Es: Fix add-account.spec.js after flaky test fixes
* e2e flaky test
* adds back the mmi options
* scss fix
* test fix
* removes unnecessary double quotes
* Prevent double logos on login screen
* Update ui/components/ui/list-item/index.scss
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
---------
Co-authored-by: seaona <mariona@gmx.es>
Co-authored-by: Antonio Regadas <antonio.regadas@consensys.net>
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-06-01 16:14:38 -05:00
rohit kerkar
2a227c4646
Part of #18714 : Replacing deprecated constants in Avatar-Favicon
folder ( #19332 )
...
* sda
* sad
* replacing depricated constants
---------
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-06-01 10:09:08 -07:00
rohit kerkar
ee9f7949f9
Replacing Deprecated Constants ( #19333 )
2023-06-01 09:33:11 -07:00
Binij Shrestha
33cd2c7c18
added deprecation message above SiteIcon ( #19256 )
...
* added deprecation message above SiteIcon
* fix eslint
* Some small updates to show correct code formatting and removing params
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-06-01 09:32:10 -07:00
Ariella Vu
8d79e28560
Clean ConfirmTransaction page related code ( #19208 )
...
* fix typo: uncofirmedTransactions -> unconfirmedTransactions
* txHelper: reorganize lines and improve test
* ConfirmTx: rn unconfirmedTxs->unconfirmedTxsSorted
* ConfirmTx: rn unconfirmedMessages-> unconfirmedTxs
2023-06-01 16:10:26 +02:00
rohit kerkar
80de5ceed4
Part of #18714 : Replacing deprecated constants in Modal-Header
folder ( #19339 )
...
* replacing deprecated
* replacing deprecated
---------
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-05-31 10:12:21 -07:00
David Drazic
f788121c3b
[FLASK] Add Snaps privacy warning on snap install ( #18835 )
...
* Add Snaps privacy warning on snap install
Add snap install warning status to storage
Add storybook
Add test for snap-privacy-warning
Resolve button type issue
Fix popup display logic
Update fixture
Update popup information and read more handling
Replace deprecated button
Update unit test
* Update buttons and add cancel flow
* Refactoring (review 1)
* Add more unit tests
2023-05-31 14:43:39 +02:00
Dhruv
cdaa21b3cb
Changes to Popover folder ( #19245 )
2023-05-29 16:16:11 -07:00
Dhruv
744dfc9e38
Part of #18714 : Replacing deprecated constants in Icon
folder ( #19250 )
...
* Replacing deprecated constants in Icon folder
* Requested changes
---------
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-05-25 13:53:31 -07:00
Dhruv
26bd689b44
Fixed Text Docs not rendering issue in Storybook ( #19248 )
2023-05-25 10:35:38 -07:00
Nidhi Kumari
f0be1c3dba
added tooltip ( #19269 )
2023-05-25 08:30:01 -05:00
David Walsh
68e1958005
Fix #19139 - Allow user to switch network when loading networking fails ( #19175 )
2023-05-24 09:40:12 -02:30
Albert Olivé
057188d155
[MMI] Add code fences in signature-request ( #18770 )
...
* Started adding code fences in signature-request
* Finished code fencing
* Improving code
* Fixed storybook and code fences bundle
* Added missing dependency
* Fixed yarn.lock
* Fixing policies
* Updated package.json
* updating lavamoat
* lavamoat fix
* adds missing package
* runs yarn dedupe
* updates method name
* run lavamoat:auto again
* Added more code fences
* updates snapshot
* snapshot updates
* updates mmi packages to lighter versions
* updates mmi packages
* runs lavamoat auto
* updates yarn lock and runs lavamoat auto
* updates yarn lock
* updates targets file
* Removed console log and added tests
---------
Co-authored-by: António Regadas <apregadas@gmail.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: Antonio Regadas <antonio.regadas@consensys.net>
2023-05-24 13:41:21 +02:00
Albert Olivé
00bad7b8a8
[MMI] Added code fencing in transaction list ( #18071 )
...
* Added code fencing in transaction list
* Fixed import
* Fixed tests
* Fixed indentation
* Fixed code fences
* Removed custody icon in favor of svg
* Fix prettier
* lint
* Fixed prettier issue
* adds check before set state with variable _mounted
* lint
* check for address in selectedIdentity
* review fix
* lint
* updates test
* lint
* clean up
* prettier
* adds missing locale
* Added tests and improved code
* Fixed code
---------
Co-authored-by: Antonio Regadas <antonio.regadas@consensys.net>
2023-05-24 13:40:58 +02:00
Garrett Bear
53acfe271d
TEXT_ALIGN to TextAlign in UI folder ( #19235 )
2023-05-23 13:57:07 -07:00
David Walsh
c5a35b70c7
UX: Multichain: Only show the account picker with a selected identity ( #19236 )
2023-05-23 14:44:24 -05:00
David Walsh
627ff3c0ad
Multichain: UX: Snaps: Add Notifications to Global Menu ( #19204 )
...
* Multichain: UX: Snaps: Add Notifications to Global Menu
* Fix lint
* Move notification count after text
2023-05-23 14:44:05 -05:00
Garrett Bear
ba90e57663
Feat/18444/text align update app folder ( #19216 )
...
* Update TEXT_ALIGN const to TextAlign enum
* update TEXT_ALIGN to TextAlign in app folder
2023-05-23 12:29:14 -07:00
Nidhi Kumari
9db971768b
UX Multichain: updated ui for settings page ( #19167 )
...
* updated ui for settings page
* lint fix
* resolved errors
* fixed search bar css
* fixed css
* lint fix
* fixed tests
* fixed indentation
* updated settings aria label
2023-05-23 23:59:00 +05:30
Garrett Bear
415798876c
update TEXT_ALIGN to TextAlign in component-library folder ( #19237 )
2023-05-23 11:05:50 -07:00
Dhruv
49b8dcb25d
Moving RESIZE
constant to textarea component folder ( #19240 )
...
* Moving RESIZE constant
* fixinf linting errors
2023-05-23 23:10:34 +05:30
Nidhi Kumari
15598f2a23
UX Multichain: updated border top for activity list ( #19176 )
...
* updated border top for activity list
* updated border css via prop
* fixed symbol
* fixed lint errors
* fix conditions
* updated snapshot
2023-05-23 22:54:17 +05:30
Hassan Malik
a9429c5c0d
[FLASK] Fix classnames for snaps components ( #19234 )
...
* renamed classnames according to BEM, removed unnecessary scss file
* remove plurality in classnames
2023-05-23 09:07:44 -04:00
Albert Olivé
dfb2c0e0e8
[MMI] Added code fencing in app menu bar ( #18069 )
...
* Added code fencing in app me nu bar
* Fixed lint issues
* Fixed yarn.lock
* Fixed issue
* Fixed tests
* Fixed yarn.lock
* Fixing policies
* Fixing lavamoat
* fixed yarn.lock
* Fixed storybook
* clean up and adds test
* lint
* typo
* adds test
---------
Co-authored-by: Antonio Regadas <antonio.regadas@consensys.net>
2023-05-23 14:51:39 +02:00
George Marshall
9d38e537fc
Adding Modal and updating ModalContent component ( #19020 )
2023-05-19 13:20:15 -07:00
Garrett Bear
2326195324
Add DS Popover component ( #18805 )
...
* Add DS Popover component
* Update to Popover story
* make role a prop with PopoverRole enum
* update to Hiro design changes
* fix snapshot
* Update ui/components/component-library/popover/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/component-library/popover/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* small story changes and removal of unused forwardRef
* add more test coverage
* add more story demos
* add more popover demos
* if escKeyClose is passed then it will add event listener
* isPortal story
* add if statement
* replace Text with Box for now
* add esc test coverage
* add README docs
* fix readme and onEscKeyClose
* onEscKeyClose to onPressEscKey
* Update ui/components/component-library/popover/README.mdx
Co-authored-by: George Marshall <george.marshall@consensys.net>
* change conditional on useEffect
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-05-19 11:49:53 -07:00
George Marshall
8437d0491f
Deprecated Icon and ButtonIcon clean up ( #19220 )
...
* Updating all deprecated instances of Icon and ButtonIcon
* Removing unused deprecated components and scripts
2023-05-19 10:33:02 -07:00
Ariella Vu
ab4ef4f744
[Bug]: Updating and Adding ConfirmPageContainer Tests ( #19149 )
...
* updating the tokenBalance fetch and Token standard type to enable the Total in setSetApproveForAllWarning
* updating the base-10 for the BN.toString() conversion
* updating review comments
* adding string conversion to tokenBalance
* ConfirmPageContainer: mv props to the top
* ConfirmPageContainer: deprecate sinon
* updating coverage-targets
* updating the conversion base
* ConfirmPageContainer: add test for warning modal
---------
Co-authored-by: Niranjana Binoy <43930900+NiranjanaBinoy@users.noreply.github.com>
2023-05-19 01:22:43 +03:00
Niranjana Binoy
56440a84db
Cleanup PR: Renaming getNetworkName and moving that to utils file ( #19160 )
2023-05-18 09:53:11 -04:00
Niranjana Binoy
3fe5d3fc4c
[Bug]: Enabling the display of token total in SetApprovalForAll ( #18863 )
2023-05-18 09:51:38 -04:00
legobeat
8675c7863e
devDeps: storybook@7 ( #19092 )
...
* devDeps: pin @babel/core and @babel/runtime in resulotions
Without this: misses patch, lavamoat error
* storybook 6 to 7 migration
* devDeps: add @storybook/addon-mdx-gfm
* fix lint deps
* devDeps: remove unused require-from-string
* devDeps/resolutions: @types/react@^16.9.53
* devDeps: add @storybook/cli
* storybook: new-frameworks migration
* iyarc: remove resolved dependency advisory
* deps: set globalthis@1.0.1 in resolutions
This is required since a file is copied over from a set path in the dist
package subdirectory as of d13aabde23
(#10014 ).
A future update should either vendor the shim, or update to
compatibility with a maintained upstream version.
* mdx2 migration fixes
* chore: bump ljharb packages
* devDeps: @storybook/*@^7.0.10->^7.0.11
* storybook: update preview.js to use v7 addon api
* ci/test/storybook: echo between storybook build&test
* ci/circleci: resources tweak
* info-tab: handle undefined global.platform
* update lavamoat build policy
* update lavamoat browserify policies
2023-05-18 11:07:42 +09:00
Nazrul Hassan
9ef9327507
Adding design-system enums and deprecating consts ( #19133 )
...
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-05-17 17:44:51 -05:00
David Walsh
577e4cba0b
UX: Multichain: Don't filter out custom mainnet RPCs ( #19150 )
2023-05-17 12:26:15 -05:00
David Walsh
556d3d82cc
UX: Multichain: Fix prop error from invalid Box prop ( #19188 )
2023-05-17 12:25:41 -05:00
David Walsh
724c69ea7c
UX: Multichain: Ensure percentage of account name always shown ( #18976 )
...
* UX: Multichain: Ensure percentage of account name always shown
* Remove extra spacing between value and menu, use proposed widths
* Setup widths via storybook and props
* Remove spacing between avatar and asset value
* WIP: Setup customization for Sara, update hard-coded font sizes
* Implement final widths
* Cleanup CSS
2023-05-17 11:53:54 -05:00
Albert Olivé
ebc887021e
[MMI] Added code fences for account menu ( #17965 )
...
* Added code fences for account menu
* updates test and messages json
* clean up
* icons
* icons color correct
* icon size fix
* icon size fix
* adds mmi entries and updates to the new IconName
* clean up
* lint
* clean up
* prettier
* prettier
* camel case
---------
Co-authored-by: Antonio Regadas <antonio.regadas@consensys.net>
Co-authored-by: António Regadas <apregadas@gmail.com>
2023-05-17 16:58:00 +02:00
Albert Olivé
804d352d58
[MMI] Add MMI modals with their styles to the app/modals ( #18621 )
...
* Added code fences
* Fixing code fences
* Fixed paths
* Fixing issues
* Fixed imports
* removes fences in scss file and un-needed prop
---------
Co-authored-by: Antonio Regadas <antonio.regadas@consensys.net>
Co-authored-by: António Regadas <apregadas@gmail.com>
2023-05-17 16:57:46 +02:00
George Marshall
e3eec3a43d
Fixes clear button size TextFieldSearch ( #19153 )
...
* Fixing broken prop
* Adding translations and hopefully fixing the display of the native search icon on mobile
2023-05-16 13:15:13 -07:00
Albert Olivé
a017a1bae0
[MMI] Added note to trader code fencing ( #18051 )
...
* Added note to trader code fencing
* Started adding code fences in signature-request
* Finished code fencing
* Improving code
* adds check and runs prettier
* Fixed storybook and code fences bundle
* Added missing dependency
* updates fences
* fewer lines
* undo previously merged PR
* ran lavamoat auto
* adds test
* prettier
---------
Co-authored-by: António Regadas <apregadas@gmail.com>
Co-authored-by: Antonio Regadas <antonio.regadas@consensys.net>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-05-16 16:44:08 +01:00
António Regadas
b982bea130
[MMI] adds wrong network notification ( #19168 )
...
* adds component and test
* adds correct icon and story file
* lint
* typo fix
2023-05-16 16:59:42 +02:00
Dhruv
488f212d28
Part of #18714 and #17670:set-approval-for-all-warnings ( #19115 )
...
* Changes to set-approval-for-all-warnings
* Suggested changes
* Updating deprecated components, improving semantic html and fixing text css strong tag styles
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-05-15 15:40:00 -07:00
Mark Stacey
4bd74c5059
Fix lint error ( #19157 )
...
Fix a lint error recently introduced by a merge conflict.
2023-05-15 18:37:20 -02:30
Dhruv
5135b80de7
Part of #18714 and #17670 : Changes to nfts-detection-notice.js ( #19051 )
...
* Changes to nfts-detection-notice.js
* Adding story
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-05-15 11:08:48 -07:00
Dhruv
c9f420234f
Changes to gas-items-details ( #19075 )
2023-05-15 10:56:20 -07:00
Harsh Shukla
8a8c8fad10
Part of ##18714 Replace deprecated design system typography consts with enums in: confirm-page-container.component.js ( #19065 )
2023-05-15 10:50:49 -07:00
Harsh Shukla
1c346674df
Part of #18714 Replace deprecated design system typography consts with enums in: 'srp-input' ( #19040 )
...
* Part of #18714 Replace deprecated design system typography consts with enums in: 'srp-input'
* Update ui/components/app/srp-input/srp-input.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update srp-input.js
---------
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
2023-05-15 09:52:02 -07:00
Albert Olivé
f95320d03e
[MMI] Started adding styles imports with code fences ( #17943 )
...
* Started adding styles imports with code fences
* FIxed prettier issues
* removed fences since they dont do anything
* Update ui/components/ui/ui-components.scss
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
---------
Co-authored-by: Antonio Regadas <antonio.regadas@consensys.net>
Co-authored-by: António Regadas <apregadas@gmail.com>
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2023-05-15 12:38:54 +01:00
Ariella Vu
aa9ee8af6c
Update useDraftTransactionGasValues ( #19105 )
...
* useDraftTransactionGasValues: update return value
* rn useDraftTransactionGasValues
-> useDraftTransactionWithTxParams
2023-05-12 13:27:25 -05:00
Dan J Miller
578f73b2ea
Ensure the GasDetailsItem component can handle a tx with a maxPriorityFee of 0 ( #19102 )
...
* Ensure the GasDetailsItem component can handle a tx with a maxPriorityFee of 0
* Clean up code
* Update ui/components/app/gas-details-item/gas-details-item.js
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
---------
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2023-05-12 12:31:15 -02:30
Nidhi Kumari
46c2f1cc56
removed mmi fencing from copy icon in header ( #19087 )
...
* removed mmi fencing from copy icon
* updated snapshot
2023-05-10 15:41:03 +02:00
Vinicius Stevam
df3db6e559
Adopt ApprovalType from core ( #18567 )
2023-05-10 06:36:01 +01:00
Dhruv
490e0770c7
Changes to edit-gas-display.component.js ( #19037 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-05-09 17:52:16 -07:00
George Marshall
32688c2e3c
Adding ModalFocus component ( #18979 )
2023-05-09 14:33:29 -07:00
George Marshall
62ffd8022a
Some style, accessibility and sematic html updates to modal sub components ( #19034 )
2023-05-09 14:09:10 -07:00
Nidhi Kumari
6535e34943
Replaced all fa-icon-circle with INFO icon ( #17539 )
...
* replace all fa-icon-circle with INFO icon
* updated classnames
* updated classnames
* updated snapshots
* updated colors
* resolved errors
* fixed relative import
* fixed lint errors
* added story for alerts tab
* update snapshot
* updated info-circle
* updated enum for iconName
* removed classnames
* updated iconName in settings
* fixed lint errors and snapshots
2023-05-09 23:04:58 +05:30
Dominik Rudzki
4cb3284136
Fix popover scroll button WhatsNewPopup hiding ( #19017 )
...
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2023-05-09 11:32:29 -05:00
David Walsh
09b113e0df
Fix #19060 - Ensure there's multiple accounts before focusing search ( #19062 )
2023-05-09 07:38:36 -05:00
David Walsh
124678e701
Fix #19059 - Show network picker when locked ( #19063 )
2023-05-09 01:06:54 -07:00
David Walsh
ecea162b10
UX: Multichain: Update deprecated variables ( #19058 )
2023-05-09 01:05:47 -07:00
David Walsh
b981377304
UX: Multichain: Disable network and account picker when necessary ( #18909 )
2023-05-08 12:32:39 -05:00
Dhruv
c4e7b5532d
Changes to custody-labels.js ( #19038 )
2023-05-08 12:28:46 -05:00
David Walsh
995887aa92
UX: Multichain: Ensure network picker renders properly for long and short names ( #18974 )
...
* UX: Multichain: Ensure network picker renders properly for long and short network names
* Updatte ui/components/multichain/app-header/app-header.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/multichain/app-header/app-header.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/multichain/app-header/app-header.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/multichain/app-header/app-header.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/multichain/app-header/app-header.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/multichain/app-header/app-header.scss
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/multichain/app-header/app-header.scss
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Fix jest issue
---------
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-05-08 09:50:13 -05:00
David Walsh
90630edef7
Fix #18916 - UX: Multichain: Network picker design updates ( #18962 )
...
* Remove border radius from network menu list
* Provide background color for test network avatars
* Make button size large
* Update ui/components/multichain/network-list-item/network-list-item.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Fix lint
---------
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-05-08 09:50:04 -05:00
Harsh Shukla
4ad281c806
Part of #17670 & #18714 : Replace Typography with Text component: nft-details.js ( #18771 )
...
* Update nft-details.js
* Update nft-details.test.js.snap
* Update nft-details.js
* Update ui/components/app/nft-details/nft-details.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update ui/components/app/nft-details/nft-details.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update ui/components/app/nft-details/nft-details.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update ui/components/app/nft-details/nft-details.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update ui/components/app/nft-details/nft-details.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update ui/components/app/nft-details/nft-details.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update ui/components/app/nft-details/nft-details.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update ui/components/app/nft-details/nft-details.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update ui/components/app/nft-details/nft-details.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update ui/components/app/nft-details/nft-details.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update ui/components/app/nft-details/nft-details.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update ui/components/app/nft-details/nft-details.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update ui/components/app/nft-details/nft-details.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update ui/components/app/nft-details/nft-details.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update nft-details.test.js.snap
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-05-08 19:52:33 +05:30
David Walsh
a5494fc637
UX: Multichain: Account Details Fixes ( #18999 )
...
* Fix account details editable label
* Fix font-weight of the password label
* Remove duplicate error
* Hide password warning on first screen after bad password, autofocus password field
* Fix jest failure
* Restore className
2023-05-08 09:03:34 -05:00
Harsh Shukla
dd04913e7e
Working on some lint issues in 2 files. ( #18633 )
...
* Addressed some lint issues.
* Worked on the mentioned lint issue.
* Worked on the CRLF lint issues.
---------
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-05-08 08:55:25 -05:00
Dhruv
50f2d06223
Changes to confirm-data and confirm-hexdata ( #19041 )
2023-05-08 08:36:40 -05:00
Harsh Shukla
46f717feef
Update slider.component.js ( #19035 )
2023-05-08 08:34:24 -05:00
Monte Lai
0306422bbf
Add reveal to export private key ( #18170 )
...
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
Co-authored-by: Howard Braham <howrad@gmail.com>
* change js to tsx
* update to typescript
* add labels to circle animation
* add willHide prop to hold to reveal modal
* add test
* convert to design system
* fix lint
* fix type
* bump coverage
* rename
* remove comments
* remove ts comment and add fix exhuastive dep check
* update coverage
* add hide modal test
* use banneralert
* update label
* remove unused
* fix text
* update aria label messages
* change exportAccountAndGetPrivateKey to be async
* fix lint
* update coverage target
* update coverage
* update input component
* update coverage
* update coverage
* fix blank line
* use &&
* move plainKey to under !privateKeyInput
* update hold modal to display srp and private key message
* fix styling
* fix lint and test
* fix unused locales
* remove redundent check
* update storybook
* fix text alignment
* fix lint
* update snapshot
* fix test
* update coverage
* fix merge conflict
* refactor
* fix variant
* update snapshot
* fix test after merge
* fix test after merge conflict
* fix label text
* update to use label component
2023-05-06 17:04:20 -04:00
Brad Decker
b60b9f441f
Bundle size reduction: Upgrading ethereumjs/tx and ethereumjs/common ( #18302 )
...
* upgrade ethereumjs/tx and deps
* Yarn dedupe
---------
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-05-05 10:55:41 -05:00
David Walsh
67dbac6b0d
Fix #18984 - UX: Multichain - Network connection fixes ( #19000 )
2023-05-05 09:02:28 -05:00
Dhruv
69132e7785
Part of #18714 : Replacing Typography consts with enums ( #19013 )
...
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-05-05 13:17:22 +01:00
Albert Olivé
319696b4ef
[MMI] Added compliance details modal and compliance details component ( #18118 )
...
* Added compliance details modal and compliance details component
* Finished component
* Fixed test name
2023-05-05 14:07:51 +02:00
Harsh Shukla
9fae71505c
Part of #17670 Replace Typography with Text component for 4 files. ( #18793 )
...
* Worked on issue #17670 & #18714 for 4 other files.
* Updated snapshots.
* Update index.test.js.snap
* Update customize-nonce.test.js.snap
* Update signature-request.component.test.js.snap
---------
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-05-05 12:14:09 +01:00
Harsh Shukla
36c4ff15b2
Update interactive-replacement-token-modal.js ( #19003 )
2023-05-05 12:09:13 +01:00
Albert Olivé
c7bb906b03
[MMI] Added code fencing in account details modal and selected accounts ( #18070 )
...
* Added code fencing in account details modal and selected accounts
* Fixed pipeline issues
* Remove one code fence
2023-05-05 11:28:27 +02:00
Nidhi Kumari
6f15795c33
UX Multichain: Fixed UI updates for header ( #19006 )
...
* Fixed UI updates for header
* updated padding
* replaced grey avatar border with white color and updated snapshots
---------
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2023-05-05 10:51:10 +05:30
David Walsh
5793dd0193
UX: Multichain: Focus on test networks when setting is flipped on ( #18996 )
2023-05-04 15:52:57 -05:00
Jyoti Puri
9c63dfca89
Changes in blockaid texts ( #19001 )
2023-05-04 23:51:46 +05:30
António Regadas
229906d09a
clean up and adds a code fence ( #19005 )
2023-05-04 15:57:12 +01:00
David Walsh
c5954e73ec
Fix #18990 - UX: Multichain - Copy Address Fixes ( #18993 )
2023-05-04 09:15:37 -05:00
Nidhi Kumari
cfc653ada6
eth_sign toggle Update in advanced settings ( #18848 )
...
* added eth sign first step
* added modal
* added validation for form
* updated width with block
* added state trigger for toggle
* updated Eth sign modal text changes
* added eth sign toggle tex
* removed unnecessary code
* fixed form validation text
* updated eth toggle text
* added test
* added analytics
* updated design changes
* lint fix
* updated error text
* updated changes
2023-05-04 16:44:07 +05:30
Suryansh Anand
c92d7380df
Migrates avatar base to TypeScript ( #18494 )
...
* Converted file extension from .js to .tsx
* Updated README docs to match the enums. Resolved type errors
* Updated AvatarBaseSizes enum values to string literals
* Added TEXT_TRANSFORM.UPPERCASE as default value of textTransform in base file
* lint fix
* Solved liniting errors in avatar-base
* Made enum more consistent, added desc for AvatarBaseProps
* Updated snapshots of AvatarBase and exported AvatarBaseProps in index.ts
* Made textTransform property accept right values in avatar-base.tsx
* Adding temporary changed extensions
* Reverted files back to tsx and resolved conflicts
* Solved linting errors
* AvatarBaseProps now extends TextProps
* Changing extension to resolve conflict
* Reverted extensions back to tsx after resolving conflicts
* Added forwardRef in AvatarBase
* Updated import name of AvatarBaseSize in README.mdx. Removed empty children attribute from AvatarBase storybook file
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-05-03 17:30:07 -07:00
Dominik Rudzki
9a583635c2
Fix popover hiding ( #18843 )
...
* Fix popover hiding
* Fix popover hiding
* Add debounce to scroll event
---------
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2023-05-03 13:32:29 -05:00
David Walsh
ab4843f06b
UX: Multichain: Implement Account Details Popover ( #18811 )
...
* UX: Multichain: Implement Account Details Popover
* Styling account details popover
* using ButtonSecondary with variant, removing Text
* adding account-details jest test
* Close popover when outside area clicked
* Move all export functionality into the popover
* Improve jest tests
* Implement new design for export key screens
* Hide warning when popover is closed
* Vertically align the copy button
* Move AccountDetailsDisplay to its own file
* Move authentication to its own file
* Move private key to its own component
* Fix misalignment of avatar on display screen
* Move private key to its own component
* Update ui/components/multichain/account-details/account-details-authenticate.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Update ui/components/multichain/account-details/account-details.test.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Prevent account name overflow, update text size
* Use FormTextField
* Add analytics
* Move location of accountDetailsAddress
* Ensure passsword input is used
---------
Co-authored-by: Victor Thomas <10986371+vthomas13@users.noreply.github.com>
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-05-03 12:09:13 -05:00
Nidhi Kumari
c078807c72
UX Multichain: Account List Search Fix ( #18963 )
...
* fix for account-list-menu search bar
* updated title
* implemented event capturing
2023-05-03 22:23:42 +05:30
Nidhi Kumari
1eaba66631
removed top border from list item ( #18959 )
2023-05-03 22:22:57 +05:30
Nidhi Kumari
d9f67e403d
UX Multichain: Fixed NaN USD issue under Eth when using Fiat ( #18981 )
...
* updated fiat value
* updated primary value in storybook
2023-05-03 22:21:12 +05:30
Monte Lai
a3cf0036ad
Feat/srp metrics ( #18015 )
...
* add srp metrics
* add event names
* fix text
* add test
* add event test to hold to reveal modal
* fix lint
* add event test to reveal seed
* update coverage target
* revert willHide
* add more tests
* fix lint
* update coverage
* git commit -m "fix comments"
* fix merge conflict
* fixed the merge conflicts with #18353
* fix text
* update deprecated import
* alphabetize metametrics enums
* update coverage
* update coverage
---------
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: Howard Braham <howrad@gmail.com>
2023-05-03 11:26:45 -05:00
Dhruv
28b3490e7c
Fixes the cancel-speedup-popover.js ( #18948 )
...
Co-authored-by: Danica Shen <zhaodanica@gmail.com>
2023-05-03 19:32:03 +05:30
Dhruv
657b94cd47
Part of #17670 : Replace Typography with Text component in beta-header/index.js ( #18964 )
...
* Changes to beta-header/index.js
* Updated-snapshot
* Suggested changes
* Changes to the text color enum
2023-05-03 19:20:06 +05:30
George Marshall
56e48a7e55
Fixing broken responsive box background color prop and color fix ( #18978 )
2023-05-03 08:18:56 -05:00
Harsh Shukla
98cb3381e6
Part of #17670 : Replace Typography with Text component in: detected-token-values.js ( #18977 )
...
* Update detected-token-values.js
* Update ui/components/app/detected-token/detected-token-values/detected-token-values.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
---------
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
2023-05-03 08:17:49 -05:00
Frederik Bolding
c716592fd1
Clean up some code fencing around snaps ( #18802 )
...
* Clean up some code fencing around snaps
* Fix code fencing
* Fix more fencing issues
2023-05-03 10:53:58 +02:00
David Walsh
120dfcdf32
UX: Multichain: Add maximum width for network picker in full screen mode ( #18879 )
2023-05-02 12:15:00 -05:00
David Walsh
57e90196cc
UX: Multichain: Provide localization for the network menu ( #18880 )
2023-05-02 12:14:48 -05:00
Mark Stacey
d1cea85f33
Rename provider
to providerConfig
( #18907 )
...
* Rename `provider` to `providerConfig`
The network controller `provider` state has been renamed to
`providerConfig`. This better reflects what this state is, and makes
this controller more closely aligned with the core network controller.
All references to the provider configuration have been updated to
prefer `providerConfig` over `provider`, to make the distinction clear
between a provider and provider config.
Closes #18902
* Add migration
2023-05-02 13:23:20 -02:30
George Marshall
abd6df72c6
Improving code formatting in component-library readme ( #18910 )
2023-05-02 09:50:37 -05:00
Mark Stacey
88ae10418b
Expand usage of getProviderConfig
selector ( #18906 )
...
The `getProviderConfig` selector is now used anywhere the `provider`
state was previously referenced directly. This was done to simplify
renaming this state from `provider` to `providerConfig` in a later PR.
Note that there are many opportunities left to use more-specific
selectors (e.g. `getChainId()` over `getProviderConfig().chainId`), but
that was intentionally omitted from this PR to reduce the size. I
started going down this path and it quickly exploded in scope.
Relates to #18902
2023-05-02 10:06:24 -02:30
George Marshall
2face84177
Adding deprecation notice to old Button component ( #18908 )
2023-05-02 03:05:08 -07:00
Harsh Shukla
1478e83b08
Part of #17670 : Replace Typography with Text component for 'review-spending-cap' & 'tooltip.stories'. ( #18839 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-05-02 15:17:00 +05:30
Ariella Vu
a5d7cf3319
Transaction cleanup and fix TransactionDetailItem key not unique bug ( #18899 )
...
* TransactionDetailItem: allow empty detailText
* TxDetailItem: fix keys; ensure unique keys
2023-05-02 00:42:59 -03:00
Harsh Shukla
36092571c6
Part of #17670 Replace Typography with Text component in: signature-request-siwe-tag\index.js ( #18898 )
2023-05-01 17:51:24 -07:00
Harsh Shukla
f5f2e2e35f
Part of #17670 , #18714 & #18651 for 3 files. ( #18752 )
...
* Adding strong tag support for Text component
* Update build-quote.js
* Update awaiting-signatures.js
* Used <strong> tag in a better way.
* Remove <strong> tag from file: awaiting-signatures.js
Co-authored-by: Danica Shen <zhaodanica@gmail.com>
* Update awaiting-signatures.js
* Update ui/components/component-library/text/text.scss
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update ui/pages/swaps/build-quote/build-quote.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Removing unintended UI and strong css from Text component
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: Danica Shen <zhaodanica@gmail.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-05-01 17:48:58 -07:00
Harsh Shukla
262a291185
Part of #17670 Replace Typography with Text component in: nft-default-image.js ( #18894 )
...
* Update nft-default-image.js
* Update nft-default-image.test.js.snap
2023-05-01 17:35:44 -07:00
Mark Stacey
f765b8c9b9
Refactor provider config selector ( #18905 )
...
The provider configuration selector has been renamed from `getProvider`
to `getProviderConfig`, and it has been moved from the selectors module
into the MetaMask slice. A JSDoc description has been added as well.
This refactor was done to make a future PR simpler, and to make this
selector better aligned with best practices.
This relates to #18902
2023-05-01 21:04:43 -02:30
Jyoti Puri
4bad30c94d
Show gas warning for legacy networks also ( #18871 )
2023-05-01 20:33:32 +05:30
Harsh Shukla
7b323b8a30
Part of #17670 : Replace Typography with Text component for 11 files. ( #18837 )
...
* Part of #17670 : Replace Typography with Text component for 10 files.
* Update radio-group.component.js
* Update create-password.test.js.snap
* Update custom-spending-cap.test.js.snap
* Update add-network-modal.test.js.snap
* Update recovery-phrase-reminder.js
2023-04-28 16:18:46 -07:00
George Marshall
1ff437d356
Adding new icons ( #18870 )
2023-04-28 12:29:58 -07:00
David Walsh
27b2993cae
UX: Multichain: Set a maximum width on the network picker ( #18731 )
...
* UX: Multichain: Set a maximum width on the network picker
* Fix jest
* Document the max-width
* Adding code example to README
---------
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-04-28 12:20:55 -05:00
Albert Olivé
26f0cbe293
[MMI] Adds custodian icon next to metafox ( #18851 )
...
* Finished adding custodian icon next to metafox
* Fixed image path
* Fixed comments in PR
2023-04-28 14:23:56 +02:00
Albert Olivé
b695901ff4
[MMI] Add the custody status text in the transaction status ( #18797 )
...
* Added code fences
* Added code fencing
* Improved code readable and added more tests
* Improved tests
* Remove code from other PR
* Fixing code fences
2023-04-28 09:11:16 -02:30
Albert Olivé
49f01406c4
[MMI] Added confirm-remove-jwt component ( #18186 )
...
* Added confirm-remove-jwt component
* changing folder directory
* Fixed lint issues
* Added story
* Fixed confirm remove jwt imports
* Fixed import
* Finished implementing component
* Fixed capitalize eslint problem
* Fixed PR suggestions
* Changed CustodyAccountList import
* updated snapshot
* Fixed typo
* Moved folder to confirm-remove-jwt-modal
* added index
* Adding filter first
2023-04-28 11:01:40 +02:00
Garrett Bear
89d4038351
deprecation notice ( #18859 )
2023-04-27 16:28:39 -07:00
Niranjana Binoy
94a2325ae0
Adding price checker deactivation for Optimism ( #18833 )
2023-04-27 13:18:32 -04:00
f6210927dd
Part of #17670 : Replace Typography with Text component in RecoveryPhraseReminder ( #18639 )
...
* add story
* replace Typograhy with Text
* import ordering
* FONT_WEIGHT → FontWeight
---------
Co-authored-by: Danica Shen <zhaodanica@gmail.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-27 17:06:49 +01:00
Nidhi Kumari
f7e7ff96c0
Ux Multichain: Hide search input for single account ( #18798 )
...
* hide search input for single account
* updated test for single account with no search
* nit fix
* nit fix
* added search test for more than one account
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-27 10:45:11 -05:00
David Walsh
e339afce7a
UX: Multichain: Analytics ( #18674 )
2023-04-27 09:28:08 -05:00
António Regadas
e6455e92ae
[MMI] custody page component ( #18688 )
2023-04-27 12:27:31 +02:00
Albert Olivé
4c9bf40688
[MMI] Add interactive-replacement-token-page ( #18683 )
...
* Initial commit
* converted the component from class-based to functional.
* Refactored component
* Improved code and tests
* Finished adding tests
* Fixed eslint problems
* Added back custodyLabels component
* Fixed eslint problems
* fixed ts lint problem
* Fixed eslint problems
* Added more tests and improved code
* Added comments
* Fixed eslint problems
* Fixed eslint problems
2023-04-27 10:45:37 +02:00
Garrett Bear
70ee78757b
Strong tag support in Text component ( #18816 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-26 14:46:03 -05:00
Hakeemullah J. Yousufzai
1f0c0d041c
Update Button prop name type to variant ( #18774 )
...
* Update Button prop name type to variant
* fix: lint errors on running test cases
* change remaining files
* change typo: BUTTON_VARIANTS to BUTTON_VARIANT
* fix: button.test.js lint errors
* update: button instances & import in remaing files
* fix: prettier warnings
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-26 11:17:25 -05:00
Harsh Shukla
a6d7c436bc
Part of #17670 for file: detected-token-ignored-popover.js ( #18738 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-26 10:25:18 -05:00
Digvijay Pundir (DJ)
d428a4895f
Update knobs to control: MetamaskTemplateRenderer ( #18677 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-26 10:13:14 -05:00
David Walsh
062a8b376f
UX: Multichain: Fix Network Picker when Test Networks Disabled ( #18694 )
2023-04-26 08:22:18 -05:00
David Walsh
15d64b6467
UX: Multichain: Focus on account search when menu appears ( #18705 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-26 08:18:48 -05:00
Jyoti Puri
82a64195a2
Enable editing L2 gas on optimism ( #18217 )
2023-04-26 05:43:38 +05:30
George Marshall
6a78592af6
Adding ModalHeader component and updating PopoverHeader stories ( #18311 )
2023-04-25 14:27:54 -07:00
David Walsh
ea872946cd
UX: Multichain: App header cleanups ( #18627 )
...
* UX: Multichain: App header cleanups
* Fix snapshot
---------
Co-authored-by: David Walsh <davidwalsh83@gmail>
2023-04-25 13:39:54 -07:00
David Walsh
c9336a2ab5
UX: Multichain: Use correct blockie or jazzicon in the account menu ( #18782 )
2023-04-25 15:01:56 -05:00
Guillaume Roux
6126c156ea
[FLASK] Expanded Snap authorship ( #18775 )
2023-04-25 19:20:37 +02:00
Olaf Tomalka
95c37e1ba3
feat: add yaml feature management ( #18125 )
...
* feat: add yaml feature management
Add yaml feature file per build type.
Also add method to parse yaml and set
enabled features env to true. The build
process will then replace any process.env[feature]
that exists on the config by its value
* chore: add example for desktop
* Added initial draft of build features
* [TMP] Sync between computers
* Is able to succesfully build stable extension with snaps feature
* Removing var context from builds.yml
* Add asssets to builds.yml
* Minor bug fixes and removing debug logs
* [WIP] Test changes
* Removed TODOs
* Fix regession bug
Also
* remove debug logs
* merge Variables.set and Variables.setMany with an overload
* Fix build, lint and a bunch of issues
* Update LavaMoat policies
* Re-add desktop build type
* Fix some tests
* Fix desktop build
* Define some env variables used by MV3
* Fix lint
* Fix remove-fenced-code tests
* Fix README typo
* Move new code
* Fix missing asset copy
* Move Jest env setup
* Fix path for test after rebase
* Fix code fences
* Fix fencing and LavaMoat policies
* Fix MMI code-fencing after rebase
* Fix MMI code fencing after merge
* Fix more MMI code fencing
---------
Co-authored-by: cryptotavares <joao.tavares@consensys.net>
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-25 16:32:51 +02:00
Albert Olivé
4df363b251
[MMI] Created custody-confirm-link-modal component ( #18632 )
...
* Created custody-confirm-link component
* Removed selector
* Finished component
* Changed button to use design system
* Fixed eslint issue
* updated snapshot
* fixed eslint problems
* Added more tests and added color design systems
* Fixed comments
* Removed unnecessary code
* Removed unneeded code and fixed eslint issues
2023-04-25 08:39:16 -05:00
Harsh Shukla
d403219210
Part of #17670 for file network-statistics.js ( #18644 )
...
* Part of #17670 Replace Typography with Text component.
* Worked on the mentioned lint issues.
* Upgrading to enum version.
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Upgrading to enum version.
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
---------
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-04-25 08:28:22 -05:00
Harsh Shukla
9967b50015
Worked on #17670 & #18714 for 7 files. ( #18789 )
...
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-25 08:26:58 -05:00
Shane T
16dabdf802
[MMI] Adds a warning if message signing account mismatches selected account ( #18659 )
...
* [MMI] Adds a warning if message signing account mismatches selected account
* chore: fix code fencing
* chore: remove render method to simplify
* chore: remove renderMethods
2023-04-25 12:47:12 +02:00
legobeat
64d4bfbbe9
Use SIWE origin validation logic from @metamask/controller-utils ( #18518 )
...
* feat: use SIWE origin domain validation from @metamask/controller-utils
* deps: @metamask/controller-utils@3.2.0->3.3.0
2023-04-25 17:25:58 +09:00
Thomas Huang
e65b955b19
Unit tests for various modals ( #18115 )
...
* Unit tests for Hide Token Confirmation modal
* Unit test for Export Private Key modal
* Unit test for Customize Nonce modal
* Bump coverage targets
---------
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-24 09:55:32 -07:00
Harsh Shukla
9fcbc554b0
Some linting issues in the file custom spending cap tooltip.js ( #18687 )
...
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-04-24 10:52:57 -05:00
Garrett Bear
3e520214c9
update icons to ts enum version ( #18698 )
...
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-24 09:19:19 -05:00
David Drazic
05dcff85a6
[FLASK] Fix text selection bug in snap ui ( #18719 )
...
* Fix text selection bug in snap ui
* Fix template mapping calls in other places
* Fix template mapping calls in snap-prompt
2023-04-24 12:56:44 +02:00
David Drazic
ff96836871
[FLASK] Add updated version of the Snaps settings UI ( #18438 )
...
* Add updated version of the Snaps list UI
Add more changes to match the designs of snaps list
Add next design iteration for snaps list
Update icons, sizes and pointer behaviour
Add redesign for snap settings page
Refactor and improve designs
Fix unit tests and refactor code
Fix e2e test
Fix lint
Update margin values
Add CSS override for connected sites list and update margins
Update paddings as requested
Fix vertical alignment of links
Fix tooltip position on the enable button
Add usage of getSnapName function for displaying snap names
Fix e2e tests and update date format for snap install date
Improve unit test for snap-settings-card
Change installation info logic
Update mocked state for snap
Add tests for ViewSnap component, refactor and update mocked state
Add check for version info
Change Snaps icon in Settings
Refactor Snaps list to use selector
Add handling in case of missing version history
* Fix icon ref
* Remove console logs
* Remove onClick from selector
* Add code fencing for imports in selectors.js
2023-04-24 12:21:37 +02:00
Ananyamadhu08
b53d335b2c
Part of 17670: Replace Typography with Text in detected-token-address.js ( #18435 )
...
* feat: replaced typography with text comp
* fix: changed h7 to h6
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-24 14:49:35 +05:30
Ariella Vu
8bfcd5b11e
Sign-in With Ethereum SIWE cleanup ( #18230 )
...
* signature-req: replace Typography w/ Text
- this does update styles slightly
* siwe: extract showSecurityProviderBanner
* siwe: rn -> hasAgreedToDomainWarning
* siwe: update snapshot for updated Text usage
2023-04-21 16:36:27 -03:00
Albert Olivé
4f64e3d6c3
[MMI] Add-compliance-details component ( #18575 )
...
Co-authored-by: Antonio Regadas <antonio.regadas@consensys.net>
Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
2023-04-21 13:28:26 -05:00
George Marshall
d2779c9ef1
Updating Avatar components to forward refs ( #18678 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-21 08:51:34 -07:00
Nidhi Kumari
0efd00b755
UX Multichain: Added product tour component ( #18571 )
...
* adding product tour component
* updated control for prevIcon
* updated app-header and product tour
* updated css
* updated message strings
* updated tests
* removed console statement
* added selector for product tour
* updated test
* updated test
* updated state with steps
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.js
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* Update ui/components/multichain/product-tour-popover/product-tour-popover.scss
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
* fixed lint errors
* updated lint error
* added changes for rtl support
* added changes for rtl support
* fixed lint errors
* Some suggestions (#18676 )
* updated messages and indentation
* fixed popup close on my final step
* updated rtl classname condition
---------
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-04-21 20:58:18 +05:30
Albert Olivé
48a61610af
[MMI] Add transaction-failed functional component ( #18623 )
...
* Finished component
* Fixed test mock variable
* Using design system colors
* Using design system icons
* removed uneeded css
2023-04-21 15:53:02 +02:00
David Walsh
4e3c08aba4
UX: Multichain: Network Menu: Set Focus on Selected Network ( #18706 )
2023-04-21 08:37:51 -05:00
António Regadas
4f4e9fb29c
[MMI] update eth overview component ( #18625 )
...
* wip
* adds mmi stake button and portfolio
* removes unnecessary js icon
* prettier
2023-04-21 12:16:09 +01:00
António Regadas
290353da9b
[MMI] interactive replacement token notification ( #18620 )
...
* adds the component and styles
* adds tests
* story file update
* clean up
* lint and prettier
* lint & prettier fix
* adds review changes
* adds necessary dependencies
* runs lint and prettier
2023-04-21 09:58:03 +01:00
flexa-rob
3c01011ffe
17873 ledger instruction banner ( #17937 )
...
* switched to use banner alert and added story
* enabled dismiss functionality
* remove close button
* bump global branches coverage target
* replace Typography with Text and (link) Button with ButtonLink
* unit test for component rendering
* left-align button links to match text
* update copy to reflect figma mock ups
* update unit test snapshot
* bump coverage threshold
* update snapshot to reflect button component changes
* update snapshot to reflect box changes
2023-04-21 13:21:31 +10:00
micaelae
a144b75fe8
Show Bridge button in TokenOverview component ( #18630 )
...
* Show Bridge button in TokenOverview component
* Hide Swap button in token overview page when network is not supported
2023-04-20 23:57:18 -02:30
George Marshall
c38cd21629
Adding deprecation notice to javascript version of Icon ( #18680 )
...
* Adding deprecation notice to javascript version of Icon
* Fixing lint issue
2023-04-20 11:09:55 -07:00
Thomas Huang
9b724d1032
Create New Vault test improvements ( #18259 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-20 06:36:03 -07:00
George Marshall
e96c0b6963
Update to component-library readme ( #18501 )
...
* Update to component-library readme
* Update ui/components/component-library/README.md
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-19 19:30:29 -07:00
Monte Lai
fa6e26744d
18566 firefox ledger u2f message ( #18570 )
...
* check for user agent
* fix regex
* fix lint
* update link
* add test
* update message
* update coverage
* fix test names
* update text
* add whats new notification for firefox and ledger users
* update action button link
* update notification text
* update viewed notification
* update coverage
* update coverage
2023-04-19 19:23:07 -02:30
Garrett Bear
34c1e5a2a1
Fix/18492/update icon ts app folder ( #18645 )
2023-04-19 14:16:49 -07:00
Garrett Bear
4e1a96b4ef
Feat/18308/ds popover header component ( #18489 )
...
* add popover component
popperjs init
popperjs hook init
popper arrow styles
fix popover story
add popover positions constant
story testing
popover structure
popper placement
make forwardref
fix popover with TS updates
modifiers
createPortal
add useClickAway hook
newer popover component build
simplifed popperjs with toggle to show/hide
toggle popover
modal version
popover progress 65%
add hover functionality
hide folder
storybook demo
add close button props
working popover with arrow
title prop breaking
popover TS conversion
TS updates
update test
add test
add arrow test
add stories
remove unused hook
fix docs
add popoverheader
types fix
Fix typo: detetcted-tokens-link -> detected-tokens-link (#18408 )
Typography to text (#18382 )
* Typography to text
* Update README.md
* Update README.md
* minor changes in custom file
* minor change
* Resolved Conflict issues
---------
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
fix: Pass correct optimism chain id to gas estimation (#18478 )
removes unnecessary images (#18484 )
Fix firsttimeloaded logic (#18344 )
* use session storage, instead of chrome.runtime.onStartup and globalThis, for firstTimeLoaded architecture
* Ensure account tracker accounts remain defined upon service worker restart
* lint fix
* Simplify code
* Only call browser.storage.session in mv3
* Only call browser.storage.session.set after resetStates in mv3
* fix metamask controller reset states unit tests
* fix test
* fix test
* Actually fix tests
* lint fix
[FLASK] More Snaps E2E Optimization and Delay Reductions (#18245 )
* bip32 delay reduction
* asserts changed to waitFors in 32/44
* scrollTo change
* replaced delay for firefox flake
* more reduced delays
* more delay reductions and changes
* raise paralellism to 4 for snaps tests
* additional delay changes
* fixed update code
* removed comment
* removed another comment
Fix switch-ethereum-chain handler by passing configuration id to setA… (#18483 )
* Fix switch-ethereum-chain handler by passing configuration id to setActiveNetwork
* fix e2e test
* Fix e2e tests
* Update test/e2e/tests/switch-custom-network.spec.js
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
* Revert "Update test/e2e/tests/switch-custom-network.spec.js"
This reverts commit be533ff7f25e1fd42e951d9b817b8438035ae256.
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Bumping notification id's to 18 & 19 (#18460 )
* Popover header update with TS ButtonIcon
* update PopoverHeader types
* update using new Text enums
* readme fix
* direct file import
* remove forwardRef and add action argtypes
* remove console.logs
* add arg types and fix TS on HeaderBase
* george nits
* popover header snapshot update
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-19 10:36:01 -07:00
Nidhi Kumari
cb6223b75f
removed portfolio icon from eth overview ( #18662 )
2023-04-19 22:22:53 +05:30
Nidhi Kumari
d362dbfacb
UX Multichain: updated ethereum logo icon ( #18528 )
...
* updated ethereum logo icon
* Updating eth logo (#18631 )
* Updating eth logo
* Removing border from eth logo identicon
* Removing old eth logo
* updated snapshot and lint errors
* updated eth logo from svg to png
---------
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-04-19 20:55:19 +05:30
Jyoti Puri
5892acab81
Update gas limit on token allowance change ( #18524 )
...
* Update gas limit on token allowance change
* Fix unit test case
* lint: remove unused var txParams
* fix
* fix
* fix e2e
* fix e2e
* fix e2e
* fix e2e
* fix e2e
* fix build
* fix build
* fix build
* fix
* fix
* fix
* fix
* fix
---------
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: legobt <6wbvkn0j@anonaddy.me>
2023-04-18 20:53:45 -02:30
Garrett Bear
13f4295287
update Icon to TS version in UI Folder ( #18551 )
...
* update Icon to TS version and using proper Enums
* Update ui/components/ui/menu/menu.stories.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Update ui/components/ui/nickname-popover/nickname-popover.component.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
---------
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-04-18 09:48:34 -07:00