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