-
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
NFTs: Use Unknown Collection instead of first NFT name #18388
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. |
@@ -34,7 +34,7 @@ export default function NftsTab({ onAddNFT }) { | |||
const dispatch = useDispatch(); | |||
|
|||
const { nftsLoading, collections, previouslyOwnedCollection } = | |||
useNftsCollections(); | |||
useNftsCollections(t('nftsPreviouslyOwned'), t('unknownCollection')); |
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.
I don't think we have a translation for 'nftsPreviouslyOwned'
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.
Fixed, that should've been in initial commit.
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 [405fc8f]
Page Load Metrics (1713 ± 47 ms)
Bundle size diffs
|
Codecov Report
@@ Coverage Diff @@
## develop #18388 +/- ##
========================================
Coverage 64.66% 64.67%
========================================
Files 925 925
Lines 35535 35538 +3
Branches 9130 9130
========================================
+ Hits 22978 22981 +3
Misses 12557 12557
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Explanation
Instead of using the first NFT in the collection as the collection name, when no name is available, we should use "Unknown collection"
Pre-merge author checklist
Pre-merge reviewer checklist
If further QA is required (e.g. new feature, complex testing steps, large refactor), add the
Extension QA Board
label.In this case, a QA Engineer approval will be be required.