-
Notifications
You must be signed in to change notification settings - Fork 619
fix: resolve ecosystem image URL using thirdweb storage #5120
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
fix: resolve ecosystem image URL using thirdweb storage #5120
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
|
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @joaquim-verges and the rest of your teammates on |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5120 +/- ##
=======================================
Coverage 45.29% 45.29%
=======================================
Files 1059 1059
Lines 54754 54754
Branches 3959 3959
=======================================
Hits 24803 24803
Misses 29260 29260
Partials 691 691
*This pull request uses carry forward flags. Click here to find out more. |
Merge activity
|
## Problem solved Fixes CNCT-2087 <!-- start pr-codex --> --- ## PR-Codex overview This PR enhances the `Layout` component in the `layout.tsx` file by improving the way the ecosystem image URL is resolved using `resolveScheme`, ensuring proper handling of the image source. ### Detailed summary - Added import for `resolveScheme` from `thirdweb/storage`. - Added import for `client` from `../../../lib/client`. - Updated the `src` attribute of the `<img>` tag to use `resolveScheme({ uri: ecosystem.imageUrl, client })` instead of directly using `ecosystem.imageUrl`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
95315d9 to
0e26a88
Compare
size-limit report 📦
|

Problem solved
Fixes CNCT-2087
PR-Codex overview
This PR focuses on enhancing the
Layoutcomponent in thewallet-uiapplication by improving how the ecosystem image is resolved, leveraging theresolveSchemefunction from thethirdweb/storagelibrary.Detailed summary
resolveSchemefromthirdweb/storage.clientfrom../../../lib/client.srcattribute of theimgtag to useresolveScheme({ uri: ecosystem.imageUrl, client })instead of directly usingecosystem.imageUrl.