-
Notifications
You must be signed in to change notification settings - Fork 565
Dashboard: Migrate various components from chakra to tailwind #7743
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 various components from chakra to tailwind #7743
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ 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 (
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7743 +/- ##
=======================================
Coverage 56.42% 56.42%
=======================================
Files 904 904
Lines 58665 58665
Branches 4135 4135
=======================================
Hits 33100 33100
Misses 25460 25460
Partials 105 105
🚀 New features to boost your workflow:
|
485846b
to
f699eb3
Compare
size-limit report 📦
|
f699eb3
to
66f939f
Compare
98d08e0
to
c05f22e
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 primarily focuses on refactoring and enhancing forms in various components by replacing `@chakra-ui/react` form elements with a custom UI form system. It also introduces new validation schemas using `zod` for improved form handling and user feedback. ### Detailed summary - Replaced `FormControl`, `FormLabel`, and related components from `@chakra-ui/react` with custom UI components in multiple files. - Introduced `FormFieldSetup` and `FormField` components for better form structure. - Added `zod` validation schemas for form data validation in `ClaimTab` and `NFTClaimButton`. - Updated form submission logic to use the new form handling approach. - Enhanced user feedback through improved error handling and notifications. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
c05f22e
to
0426fe5
Compare
66f939f
to
66cba85
Compare
PR-Codex overview
This PR focuses on refactoring forms in various components to enhance code consistency, improve user experience, and utilize a new form handling library. It replaces
@chakra-ui/react
form elements with a custom form library, streamlining validation and submission processes.Detailed summary
Link
inpartners-table.tsx
.Skeleton
from@chakra-ui/react
with a customSkeleton
component.@chakra-ui/react
to a custom form library across multiple components.zod
inclaim-tab.tsx
andclaim-button.tsx
.BurnTab
,TransferTab
, andModuleForm
to utilize new form components and improve readability.