You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The changes needed to justify the copy update in #20380 have not been made yet. See this comment for more details
We will make future fixes to the nft-controller to justify the copy changes that are being reverted here. After that, we can revert this revert.
Manual testing steps
In the "Security and Privacy" tab of settings, we should see a toggle with "Enable OpenSea API" as the label and "Use OpenSea's API to fetch NFT data. NFT auto-detection relies on OpenSea's API, and will not be available when this is turned off." as the description.
We should be able to search in settings for that toggle.
Switch to french, spanish and chinese languages, and the expected translations of the above copy should be present.
When the toggle is off, already imported NFTs from opensea should display no image. Also, when the toggle is off, you should not be able to click "Refresh List" to detect NFTs.
However, note that if the toggle is off and you manually import NFTs whose token metadata is stored on a server, a network request is still made to that server, and if the image of that NFT is stored on IPFS, it will be displayed. (This is what we will change in the future, before reverting this revert.
Screenshots/Recordings
If applicable, add screenshots and/or recordings to visualize the before and after of your change.
In case it's not yet "ready for review", I've set it to "draft".
In case it's "ready for review", I've changed it from "draft" to "non-draft".
Pre-merge reviewer checklist
I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This reverts commit 6c1b71b.
Description
This is a temporary fix to https://github.com/MetaMask/MetaMask-planning/issues/1380
The changes needed to justify the copy update in #20380 have not been made yet. See this comment for more details
We will make future fixes to the nft-controller to justify the copy changes that are being reverted here. After that, we can revert this revert.
Manual testing steps
In the "Security and Privacy" tab of settings, we should see a toggle with
"Enable OpenSea API"
as the label and"Use OpenSea's API to fetch NFT data. NFT auto-detection relies on OpenSea's API, and will not be available when this is turned off."
as the description.We should be able to search in settings for that toggle.
Switch to french, spanish and chinese languages, and the expected translations of the above copy should be present.
When the toggle is off, already imported NFTs from opensea should display no image. Also, when the toggle is off, you should not be able to click "Refresh List" to detect NFTs.
However, note that if the toggle is off and you manually import NFTs whose token metadata is stored on a server, a network request is still made to that server, and if the image of that NFT is stored on IPFS, it will be displayed. (This is what we will change in the future, before reverting this revert.
Screenshots/Recordings
If applicable, add screenshots and/or recordings to visualize the before and after of your change.
After
Before
Pre-merge author checklist
Pre-merge reviewer checklist