-
Notifications
You must be signed in to change notification settings - Fork 619
[Dashboard] Remove Drawer & cleanup marketplace listing form #5265
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
Conversation
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. |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5265 +/- ##
=======================================
Coverage 45.36% 45.36%
=======================================
Files 1067 1067
Lines 55449 55449
Branches 3989 3989
=======================================
Hits 25157 25157
Misses 29601 29601
Partials 691 691
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
7bc7ef5 to
9e70db2
Compare
ea33c47 to
1e517b9
Compare
9e70db2 to
aca761b
Compare
1e517b9 to
6ce4e43
Compare
aca761b to
c488825
Compare
6ce4e43 to
f2a7bad
Compare
Merge activity
|
## Problem solved
Short description of the bug fixed or feature added
<!-- start pr-codex -->
---
## PR-Codex overview
This PR focuses on refactoring the `CreateListingButton` and `CreateListingsForm` components to replace the `Drawer` component with a `Sheet` component for better user interface interaction in the marketplace.
### Detailed summary
- Replaced `Drawer` with `Sheet` in `CreateListingButton`.
- Updated state management for opening/closing the form.
- Modified button and form structure to align with `Sheet` component.
- Added `actionText` and `setOpen` props to `CreateListingsForm`.
- Introduced toast notifications for transaction promises in `CreateListingsForm`.
- Implemented a fixed button section for form submission and cancellation.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
c488825 to
5484075
Compare
f2a7bad to
c3f2404
Compare

Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR refactors the
CreateListingButtonandCreateListingsFormcomponents to replace theDrawerUI component with aSheetcomponent for better user experience. It also enhances form handling and error management.Detailed summary
DrawerwithSheetinCreateListingButton.CreateListingsFormto acceptactionTextandsetOpenprops.toast.promisefor async operations.