Skip to content

Conversation

@kien-ngo
Copy link
Contributor

@kien-ngo kien-ngo commented Dec 10, 2024

Problem solved

Short description of the bug fixed or feature added


PR-Codex overview

This PR focuses on organizing and refining the context and components related to Account, NFT, and Token functionalities in the thirdweb package.

Detailed summary

  • Added useAccountContext import in Account/blobbie.tsx.
  • Introduced ThirdwebContract type in NFT/provider.tsx, NFT/name.tsx, and NFT/media.tsx.
  • Maintained useQuery and getChainMetadata imports across Chain/icon.tsx, Token/icon.tsx, and NFT/name.tsx.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@vercel
Copy link

vercel bot commented Dec 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 11, 2024 0:39am
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 11, 2024 0:39am
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 11, 2024 0:39am
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 11, 2024 0:39am

@linear
Copy link

linear bot commented Dec 10, 2024

@changeset-bot
Copy link

changeset-bot bot commented Dec 10, 2024

⚠️ No Changeset found

Latest commit: a9dd26c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@kien-ngo kien-ngo marked this pull request as ready for review December 10, 2024 11:30
@graphite-app
Copy link
Contributor

graphite-app bot commented Dec 10, 2024

Your org has enabled the Graphite merge queue for merging into main

Add 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.

Copy link
Contributor Author

kien-ngo commented Dec 10, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 10, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 44.93 KB (0%) 899 ms (0%) 2.5 s (+35.74% 🔺) 3.4 s
thirdweb (cjs) 110.71 KB (0%) 2.3 s (0%) 6.1 s (+20.57% 🔺) 8.3 s
thirdweb (minimal + tree-shaking) 5.58 KB (0%) 112 ms (0%) 278 ms (+163.11% 🔺) 389 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 81 ms (+6.27% 🔺) 91 ms
thirdweb/react (minimal + tree-shaking) 19.01 KB (0%) 381 ms (0%) 889 ms (+93.46% 🔺) 1.3 s

@codecov
Copy link

codecov bot commented Dec 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.27%. Comparing base (5b24faf) to head (a9dd26c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5676      +/-   ##
==========================================
- Coverage   51.27%   51.27%   -0.01%     
==========================================
  Files        1092     1092              
  Lines       57346    57346              
  Branches     4686     4685       -1     
==========================================
- Hits        29406    29404       -2     
- Misses      27224    27226       +2     
  Partials      716      716              
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 5b24faf
packages 47.90% <100.00%> (-0.01%) ⬇️

*This pull request uses carry forward flags. Click here to find out more.

Files with missing lines Coverage Δ
...dweb/src/react/web/ui/prebuilt/Account/blobbie.tsx 100.00% <100.00%> (ø)
...web/src/react/web/ui/prebuilt/Account/provider.tsx 80.00% <ø> (ø)
...s/thirdweb/src/react/web/ui/prebuilt/NFT/media.tsx 70.00% <100.00%> (ø)
...es/thirdweb/src/react/web/ui/prebuilt/NFT/name.tsx 77.35% <100.00%> (ø)
...hirdweb/src/react/web/ui/prebuilt/NFT/provider.tsx 100.00% <100.00%> (ø)

... and 4 files with indirect coverage changes

@graphite-app
Copy link
Contributor

graphite-app bot commented Dec 11, 2024

Merge activity

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on updating various components in the `thirdweb` package, specifically related to `Account`, `NFT`, `Chain`, and `Token` functionalities. It introduces new imports and ensures that the components are utilizing the necessary contexts and types.

### Detailed summary
- In `Account/provider.tsx`: Added import for `Address`.
- In `NFT/provider.tsx`: Added import for `ThirdwebContract`.
- In `Account/blobbie.tsx`: Imported `Blobbie` and `useAccountContext`.
- In `Chain/icon.tsx`, `Token/icon.tsx`, `NFT/name.tsx`, and `NFT/media.tsx`: Imported `UseQueryOptions`, `useQuery`, and `getChainMetadata`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

packages SDK Involves changes to the thirdweb SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants