-
Notifications
You must be signed in to change notification settings - Fork 419
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] Remove Drawer from mintTo form #5263
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. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5263 +/- ##
=======================================
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 📦
|
6fe0f24
to
b031c36
Compare
2f01ab1
to
cf3c54b
Compare
b031c36
to
bec6e9d
Compare
cf3c54b
to
aa57271
Compare
bec6e9d
to
0e78d34
Compare
aa57271
to
43d2a7f
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 `NFTMintButton` and `NFTMintForm` components to replace the `Drawer` component from `@chakra-ui/react` with a `Sheet` component for improved UI consistency and functionality. ### Detailed summary - Replaced `Drawer` with `Sheet` in `NFTMintButton`. - Updated `SheetContent` class properties for better responsiveness. - Changed `SheetTitle` to have `text-left` class. - Added `setOpen` prop to `NFTMintForm` to control visibility. - Enhanced error handling with `toast` notifications. - Refined form structure and validation messages in `NFTMintForm`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
0e78d34
to
21d794c
Compare
43d2a7f
to
9d1f75d
Compare
Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR focuses on refactoring the
NFTMintButton
andNFTMintForm
components to replace theDrawer
component with a newSheet
component for a better user interface. It also introduces state management for opening and closing theSheet
.Detailed summary
Drawer
withSheet
inNFTMintButton
.SheetContent
styling.onOpen
andonClose
touseState
for managing modal visibility.setOpen
prop toNFTMintForm
to control theSheet
.toast
notifications.