-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Update asset-list
to Typescript, remove PropTypes
#26952
chore: Update asset-list
to Typescript, remove PropTypes
#26952
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
asset-list
to Typescript, remove PropTypes
ui/components/app/assets/token-cell/__snapshots__/token-cell.test.js.snap
Outdated
Show resolved
Hide resolved
…ub.com:MetaMask/metamask-extension into feat/mmassets-356_sort-import-tokens-extension
…ub.com:MetaMask/metamask-extension into feat/mmassets-356_sort-import-tokens-extension
…ub.com:MetaMask/metamask-extension into feat/mmassets-356_sort-import-tokens-extension
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #26952 +/- ##
========================================
Coverage 69.95% 69.96%
========================================
Files 1441 1441
Lines 50099 50102 +3
Branches 14007 14012 +5
========================================
+ Hits 35046 35049 +3
Misses 15053 15053 ☔ View full report in Codecov by Sentry. |
Builds ready [5c5b22e]
Page Load Metrics (1802 ± 92 ms)
Bundle size diffs
|
Builds ready [6fd9aa1]
Page Load Metrics (1974 ± 93 ms)
Bundle size diffs
|
LGTM! Thnx! 🚀 |
@@ -150,6 +169,7 @@ const AssetList = ({ onClickAsset, showTokensLinks }) => { | |||
{detectedTokens.length > 0 && | |||
!isTokenDetectionInactiveOnNonMainnetSupportedNetwork && ( | |||
<DetectedTokensBanner | |||
className="" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we make className
not required if passing it an empty string is the solution?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will need to converted detected-token-banner.js
to Typescript as well in order to do this properly. Do you think it's worth it to also handle this refactor in this PR?
ui/components/multichain/token-list-item/token-list-item.test.tsx
Outdated
Show resolved
Hide resolved
…ub.com:MetaMask/metamask-extension into feat/mmassets-356_sort-import-tokens-extension
aa566e4
Quality Gate passedIssues Measures |
Builds ready [822caf4]
Page Load Metrics (1476 ± 54 ms)
Bundle size diffs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Builds ready [aa566e4]
Page Load Metrics (1776 ± 78 ms)
Bundle size diffs
|
Description
I'm working on Token sorting, and since I was in the area, I took the opportunity to update the components I was touching to Typescript. This PR handles those changes, and I'll work on the actual sorting logic in a separate branch that I will merge with this one.
Related issues
First step of: https://consensyssoftware.atlassian.net/browse/MMASSETS-356
Manual testing steps
Nothing should be different visually or functionally.
I left a comment on a suspicious snapshot test where I can't explain the diff, other than the original snapshot not being accurate based on the mocks👈 no longer relevant.Screenshots/Recordings
Pre-merge author checklist
Pre-merge reviewer checklist