-
Notifications
You must be signed in to change notification settings - Fork 476
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
[Dashboard] Add a form to let user manually input data for Marketplace listings #5654
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. |
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
492f096
to
4912d38
Compare
...pp/(dashboard)/(chain)/[chain_id]/[contractAddress]/(marketplace)/components/list-button.tsx
Outdated
Show resolved
Hide resolved
...pp/(dashboard)/(chain)/[chain_id]/[contractAddress]/(marketplace)/components/list-button.tsx
Outdated
Show resolved
Hide resolved
...d)/(chain)/[chain_id]/[contractAddress]/(marketplace)/components/list-form-manual.client.tsx
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5654 +/- ##
=======================================
Coverage 53.01% 53.01%
=======================================
Files 1101 1101
Lines 59079 59079
Branches 4806 4806
=======================================
Hits 31318 31318
Misses 27043 27043
Partials 718 718
*This pull request uses carry forward flags. Click here to find out more. |
4912d38
to
f5ae55d
Compare
size-limit report 📦
|
...pp/(dashboard)/(chain)/[chain_id]/[contractAddress]/(marketplace)/components/list-button.tsx
Outdated
Show resolved
Hide resolved
...pp/(dashboard)/(chain)/[chain_id]/[contractAddress]/(marketplace)/components/list-button.tsx
Outdated
Show resolved
Hide resolved
...pp/(dashboard)/(chain)/[chain_id]/[contractAddress]/(marketplace)/components/list-button.tsx
Outdated
Show resolved
Hide resolved
f3b16f7
to
1427f09
Compare
1427f09
to
1f405ce
Compare
1f405ce
to
d8f9575
Compare
Merge activity
|
…e listings (#5654) ## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR enhances the `CreateListingButton` and `CreateListingsForm` components by adding support for multiple listing modes (automatic and manual) and improving NFT validation logic, ensuring users can list NFTs more effectively based on the selected mode. ### Detailed summary - Introduced `LISTING_MODES` for "Select NFT" and "Manual" modes. - Added logic to toggle between automatic and manual listing modes. - Enhanced NFT validation for manual mode, including contract address and token ID checks. - Updated NFT approval checks based on listing mode. - Modified form controls and error handling for improved user experience. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
d8f9575
to
7819e1e
Compare
Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR enhances the
CreateListingButton
andCreateListingsForm
components to support different listing modes for NFTs. It introduces manual input for NFT contract addresses and token IDs, and integrates checks for supported chains and NFT types.Detailed summary
TabButtons
for listing modes: "Select NFT" and "Manual".listingMode
inCreateListingButton
.CreateListingsForm
based onlistingMode
.CreateListingsForm
to handle manual NFT entry.ERC721
orERC1155
) in manual mode.