-
Notifications
You must be signed in to change notification settings - Fork 619
Dashboard: Migrate contract deployment UI from chakra to tailwind #7712
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: Migrate contract deployment UI from chakra to tailwind #7712
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
WalkthroughThe changes refactor form field components in contract deployment and module selection forms by replacing direct Chakra UI form controls with a custom Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
🚧 Files skipped from review as they are similar to previous changes (4)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
✨ Finishing Touches
🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7712 +/- ##
=======================================
Coverage 56.21% 56.21%
=======================================
Files 908 908
Lines 58236 58236
Branches 4205 4205
=======================================
Hits 32738 32738
Misses 25388 25388
Partials 110 110
🚀 New features to boost your workflow:
|
size-limit report 📦
|
3f8da59 to
031b59f
Compare
Merge activity
|
) <!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on refactoring the button components and form controls in the dashboard application, improving the UI consistency and structure by replacing `FormControl` with a custom `FormFieldSetup` component and adjusting button properties. ### Detailed summary - Changed the export of `ButtonProps` in `apps/dashboard/src/chakra/button.tsx` to remove the `export` keyword. - Updated button imports in `apps/dashboard/src/@/components/solidity-inputs/button.tsx` to use the new path. - Modified the `IpfsUploadButton` to use `variant="secondary"` and added a `disabled` state. - Replaced `FormControl` with `FormFieldSetup` in multiple components for better structure and error handling. - Adjusted the props passed to `FormFieldSetup` for improved clarity and functionality. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Unified form field presentation by replacing direct Chakra UI form controls with a custom, reusable form field component across contract deployment and module configuration forms. * Simplified error handling, labels, and helper text management for a more consistent user experience. * **Style** * Updated button styling and icon placement for IPFS upload actions, improving visual consistency and feedback during upload operations. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
031b59f to
c077f78
Compare

PR-Codex overview
This PR focuses on refactoring the button components and form controls in the dashboard, improving the UI elements by replacing
FormControlwithFormFieldSetup, and updating the button usage to enhance functionality and styling.Detailed summary
ButtonPropsinterface inapps/dashboard/src/chakra/button.tsxto remove export.apps/dashboard/src/@/components/solidity-inputs/button.tsx.IpfsUploadButtonfor better loading state and styling.FormControlwithFormFieldSetupinmodular-contract-default-modules-fieldset.tsxfor improved form handling.custom-contract.tsxfor consistency and better error handling.Summary by CodeRabbit
Refactor
Style