-
Notifications
You must be signed in to change notification settings - Fork 5.4k
fix: update Nft metadata when toggles are on #23293
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
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. |
|
update-policies |
| + * @param networkClientId - The networkClientId that can be used to identify the network client to use for this request. | ||
| + * @param userAddress - The current user address | ||
| + */ | ||
| + updateNftMetadata(nfts, networkClientId, userAddress = this.config.selectedAddress) { |
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.
Here are the steps how this file was generated:
1- Updated node-modules NftController.js (by adding my new fct)
2- yarn patch @metamask/assets-controllers --update
3- I updated the nftController.js file under /private/var/folders/j2/z5v3y5wd23z_9ldp7tkknszh0000gn/T/xfs-6b6a5943/user
4- yarn patch-commit -s /private/var/folders/j2/z5v3y5wd23z_9ldp7tkknszh0000gn/T/xfs-6b6a5943/user
Builds ready [82fab54]
Page Load Metrics (1405 ± 270 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #23293 +/- ##
===========================================
+ Coverage 68.45% 68.63% +0.19%
===========================================
Files 1141 1099 -42
Lines 43769 43387 -382
Branches 11729 11593 -136
===========================================
- Hits 29958 29778 -180
+ Misses 13811 13609 -202 ☔ View full report in Codecov by Sentry. |
Builds ready [c563892]
Page Load Metrics (1047 ± 382 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
c563892 to
590eb72
Compare
|
No dependency changes detected. Learn more about Socket for GitHub ↗︎ 👍 No dependency changes detected in pull request |
c38fe3e to
5e4bc8c
Compare
5e4bc8c to
9f2a51e
Compare
|
closing this in favor of this #23558 |
Description
Fetches NFT metadata when IPFS toggle or Display media toggle are on
Related issues
Core PR: MetaMask/core#4008
Manual testing steps
Screenshots/Recordings
Before
Screen.Recording.2024-03-04.at.14.31.31.mov
After
videoAfter.mov
Pre-merge author checklist
Pre-merge reviewer checklist