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

Try @helia/verified-fetch for fetching NFT images from IPFS #2363

Merged
merged 7 commits into from
Nov 25, 2024

Conversation

tom2drum
Copy link
Collaborator

@tom2drum tom2drum commented Nov 5, 2024

Description and Related Issue(s)

Resolves #2356

Added NEXT_PUBLIC_HELIA_VERIFIED_FETCH_ENABLED to enable Helia verified fetch for retrieving content of NFT assets directly from IPFS network using trustless gateways.

Checklist for PR author

  • I have tested these changes locally.
  • I added tests to cover any new functionality, following this guide
  • Whenever I fix a bug, I include a regression test to ensure that the bug does not reappear silently.
  • If I have added, changed, renamed, or removed an environment variable
    • I updated the list of environment variables in the documentation
    • I made the necessary changes to the validator script according to the guide
    • I added "ENVs" label to this pull request

@tom2drum tom2drum added the skip checks For Pull Requests where the "Checks" workflow should not be run label Nov 5, 2024
@tom2drum tom2drum force-pushed the tom2drum/issue-2356 branch from 4e4a5bd to d3d0c1a Compare November 7, 2024 17:15
@tom2drum tom2drum added ENVs and removed skip checks For Pull Requests where the "Checks" workflow should not be run labels Nov 7, 2024
@tom2drum tom2drum marked this pull request as ready for review November 7, 2024 17:16
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I believe these screenshots are correct because the last two rows of the images are not in the viewport. We lazy load them once they come into view.

Comment on lines +121 to +123
<TabPanel padding={ 0 } key={ tab.id?.toString() || (typeof tab.title === 'string' ? tab.title : undefined) }>
{ tab.component }
</TabPanel>
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This fixes one of the warnings on the Token instance page.

@@ -39,7 +39,7 @@ const MetadataItemPrimitive = ({ name, value, isItem = true, isFlat, level }: Pr
})();

return (
<Component level={ level } isFlat={ isFlat }>
<Component level={ level } { ...(isItem ? { isFlat } : {}) }>
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

And this fixes another warning.

@tom2drum tom2drum requested a review from isstuev November 8, 2024 11:03
@tom2drum tom2drum merged commit c435980 into main Nov 25, 2024
1 check passed
@tom2drum tom2drum deleted the tom2drum/issue-2356 branch November 25, 2024 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Try @helia/verified-fetch for fetching NFT images from IPFS
1 participant