Skip to content

Conversation

@kien-ngo
Copy link
Contributor

@kien-ngo kien-ngo commented Nov 11, 2024

cnct-2137


PR-Codex overview

This PR introduces a new Account UI component suite, enhancing the existing functionality with components for displaying account information such as name, address, avatar, and balance. It also updates the documentation to reflect the new features and their usage.

Detailed summary

  • Added @beta tag to several NFT components.
  • Introduced new Account components: AccountAddress, AccountName, AccountAvatar, AccountBalance, and AccountBlobbie.
  • Updated AccountProvider to manage account state.
  • Enhanced documentation and examples for new components.
  • Added tests for each new Account component.

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

@changeset-bot
Copy link

changeset-bot bot commented Nov 11, 2024

🦋 Changeset detected

Latest commit: 901c3a1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
thirdweb Minor

Not sure what this means? Click here to learn what changesets are.

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

@vercel
Copy link

vercel bot commented Nov 11, 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 Nov 20, 2024 5:40am
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 20, 2024 5:40am
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 20, 2024 5:40am
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 20, 2024 5:40am

@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 11, 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.

@github-actions github-actions bot added Dashboard Involves changes to the Dashboard. Playground Changes involving the Playground codebase. packages labels Nov 11, 2024
Copy link
Contributor Author

kien-ngo commented Nov 11, 2024

@kien-ngo kien-ngo changed the title update [SDK] Feature: Account components (WIP) Nov 11, 2024
@kien-ngo kien-ngo marked this pull request as ready for review November 11, 2024 23:47
@kien-ngo kien-ngo force-pushed the kien/account-components branch from ffd5be4 to c81e314 Compare November 11, 2024 23:48
@github-actions
Copy link
Contributor

github-actions bot commented Nov 11, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 44.97 KB (0%) 900 ms (0%) 747 ms (+24.32% 🔺) 1.7 s
thirdweb (cjs) 105.01 KB (0%) 2.2 s (0%) 1.2 s (-18.68% 🔽) 3.3 s
thirdweb (minimal + tree-shaking) 5.6 KB (0%) 113 ms (0%) 102 ms (+36.7% 🔺) 214 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 14 ms (-59.88% 🔽) 24 ms
thirdweb/react (minimal + tree-shaking) 18.38 KB (0%) 368 ms (0%) 146 ms (-15.47% 🔽) 514 ms

Copy link
Contributor Author

kien-ngo commented Nov 20, 2024

Merge activity

  • Nov 19, 7:25 PM EST: Graphite disabled "merge when ready" on this PR due to: a merge conflict with the target branch; resolve the conflict and try again..
  • Nov 20, 12:36 AM EST: A user added this pull request to the Graphite merge queue.
  • Nov 20, 12:41 AM EST: A user merged this pull request with the Graphite merge queue.

cnct-2137

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new `Account` component suite to the `thirdweb` library, enhancing user account management with features like account name, address, avatar, and balance display. It also marks existing `NFT` components as `@beta`.

### Detailed summary
- Added `Account` components: `AccountName`, `AccountAddress`, `AccountAvatar`, `AccountBalance`, and `AccountBlobbie`.
- Updated existing `NFT` components to `@beta`.
- Introduced tests for new `Account` components.
- Enhanced `AccountProvider` for context management.
- Updated documentation for new components and props.

> ✨ 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

Dashboard Involves changes to the Dashboard. merge-queue Adds the pull request to Graphite's merge queue. packages Playground Changes involving the Playground codebase. Portal Involves changes to the Portal (docs) codebase. SDK Involves changes to the thirdweb SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants