Skip to content
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

updated the previously owned state for nft #1082

Merged
merged 1 commit into from
Jan 27, 2023
Merged

Conversation

NidhiKJha
Copy link
Member

Fixes 17206

Ideally, when a user previously owned an NFT, and then received the same one back, we'd put that NFT back into its own group. With the current implementation, the NFT is always stuck in the Previously Owned category, even when imported again. This PR is to update the Nft Controllers to add the NFT back to its own group if we are re-importing it.

@NidhiKJha NidhiKJha requested a review from adonesky1 January 27, 2023 17:22
@NidhiKJha NidhiKJha requested a review from a team as a code owner January 27, 2023 17:22
@NidhiKJha NidhiKJha requested a review from darkwing January 27, 2023 17:22
@NidhiKJha NidhiKJha changed the title updated the previously owned config for nft updated the previously owned state for nft Jan 27, 2023
Copy link
Contributor

@adonesky1 adonesky1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@NidhiKJha NidhiKJha merged commit 0c91d25 into main Jan 27, 2023
@NidhiKJha NidhiKJha deleted the fix-extension-17206 branch January 27, 2023 18:26
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
Fixes
[17206](MetaMask/metamask-extension#17206)

Ideally, when a user previously owned an NFT, and then received the same
one back, we'd put that NFT back into its own group. With the current
implementation, the NFT is always stuck in the Previously Owned
category, even when imported again. This PR is to update the Nft
Controllers to add the NFT back to its own group if we are re-importing
it.
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
Fixes
[17206](MetaMask/metamask-extension#17206)

Ideally, when a user previously owned an NFT, and then received the same
one back, we'd put that NFT back into its own group. With the current
implementation, the NFT is always stuck in the Previously Owned
category, even when imported again. This PR is to update the Nft
Controllers to add the NFT back to its own group if we are re-importing
it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NFTs: Importing a previously sent NFT still displays NFT in the "Previously Owned" group
2 participants