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
Nidhi Kumari
cde449925b
UX Multichain: updated margin top for assets tab ( #19071 )
...
* updated margin top for assets tab
* remove changes from yml file
* remove changes from yml file
2023-05-09 11:32:56 -05:00
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
António Regadas
7ebd561ff9
[MMI] adds mmi logic in home view ( #18960 )
...
* adds mmi logic to home container
* adds code fences to home component
* adds code fences to home component
* lint fix
* lint fix
* updates fences and runs prettier
* version bump
* clean up code fence
2023-05-08 15:09:00 +01:00
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
Nidhi Kumari
e8dd6a6ff1
UX Multichain: Added extra margin for native token ( #18988 )
...
* added extra margin for native token
* fixed lint errors
* added marginTop via css
* updated test
* added boxprops and margin bottom for tab component
* updated snapshot
* update asset list component
2023-05-08 19:17:45 +05:30
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
944d39ed3a
Part of #17670 : Replace Typography with Text component in smart-transaction-status.js ( #18743 )
...
* Update smart-transaction-status.js
* Update smart-transaction-status.js
* Update smart-transaction-status.js again.
* Update smart-transaction-status.js
* Update smart-transaction-status.js
* Update ui/pages/swaps/smart-transaction-status/smart-transaction-status.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update smart-transaction-status.js
---------
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
2023-05-05 12:15:39 +01: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
Guillaume Roux
f0fd1772ee
[FLASK] Don't show the title on Install/Update when it's loading ( #19012 )
2023-05-05 10:00:14 +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
Harsh Shukla
398b0cf452
Part of #17670 & #18714 : Replace Typography with Text component: token-allowance.js ( #18742 )
...
* Update token-allowance.js
* Remove fontWeight prop in: ui/pages/token-allowance/token-allowance.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update ui/pages/token-allowance/token-allowance.js
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
* Update token-allowance.js
* Update ui/pages/token-allowance/token-allowance.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
* Update ui/pages/token-allowance/token-allowance.js
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
---------
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-05-04 22:08:43 +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
António Regadas
c4e1edef19
[MMI] Don't group transactions by nonce if they are custodial Tx ( #18982 )
...
* adds mmi fence
* adds comment and casts variable to bool
* prettier
2023-05-03 17:00:38 +02:00
António Regadas
bf0a70dbba
adds custody page route to account routes ( #18985 )
2023-05-03 15:04:49 +01: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
Mark Stacey
28241b0592
Delete two unused selectors ( #18904 )
...
The selectors `getNumberOfAccounts` and `getMetricsNetworkIdentifier`
were unused, so they have been deleted.
2023-05-03 11:06:06 -02: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
Dominik Rudzki
b5a11857c4
[FLASK] Fix overflowing notification content ( #18881 )
...
* Fix overflowing notification content
* Wrap overflow
* Fix lint & remove unnecessary width
---------
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2023-05-03 11:27:01 +02: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