[Playground] Feature: Headless components#5535
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. |
size-limit report 📦
|
f0b150e to
1c90623
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5535 +/- ##
==========================================
+ Coverage 51.20% 51.23% +0.03%
==========================================
Files 1093 1092 -1
Lines 57364 57346 -18
Branches 4677 4677
==========================================
+ Hits 29374 29383 +9
+ Misses 27274 27247 -27
Partials 716 716
*This pull request uses carry forward flags. Click here to find out more.
|
4b66fbd to
5b02ff0
Compare
1c90623 to
16e3aa2
Compare
5f95189 to
b31951c
Compare
1a11ea7 to
4808d98
Compare
ebfc761 to
7beaa25
Compare
4808d98 to
bdbf2d3
Compare
a650e2f to
a5e6ce9
Compare
bdbf2d3 to
0148fd5
Compare
| /> | ||
| } | ||
| fallbackComponent={ | ||
| <AccountAddress |
There was a problem hiding this comment.
wonder if this should be the fallback by default. feels like most ppl would want that
There was a problem hiding this comment.
Does making it return a different component, makes it impure? Personally I'm happy with making things a bit redundant (or verbose, if you will) in return for what we call a true headless component
Merge activity
|
CNCT-2588 <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on enhancing the `playground-web` application by adding new components and improving existing ones related to NFT and account functionalities, showcasing headless UI components for better Web3 integration. ### Detailed summary - Added `ArticleCardIndex` in `page.tsx`. - Introduced new navigation link for "Headless UI". - Expanded `Account` and `NFT` components with detailed examples. - Improved `useQuery` parameters in `avatar.tsx` and `name.tsx`. - Created several new components in `nft-examples.tsx` and `account-examples.tsx` for displaying NFT and account information. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->

CNCT-2588
PR-Codex overview
This PR focuses on enhancing the
playground-webapplication by adding new components for NFT and account functionalities, improving user interface elements, and integrating headless UI components for seamless wallet interactions.Detailed summary
ArticleCardIndexfor displaying information aboutHeadless UI.Headless UI.AccountandNFTcomponents with additional features and examples.NFT ComponentsandAccount Components.useQueryin account-related components.NFTandAccountcomponents, showcasing usage and customization options.