-
Notifications
You must be signed in to change notification settings - Fork 539
[Dashboard] replace chakra form with shadcn #7216
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
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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. |
WalkthroughThe Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant ApplyForOpCreditsForm
participant CustomUIComponents
User->>ApplyForOpCreditsForm: Interacts with form fields (input/select)
ApplyForOpCreditsForm->>CustomUIComponents: Renders Label, Select, MultiSelect, etc.
CustomUIComponents-->>ApplyForOpCreditsForm: Handle value changes/events
ApplyForOpCreditsForm-->>User: Updates form state and UI
Possibly related PRs
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (8)
🔇 Additional comments (7)
✨ Finishing Touches
🪧 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 ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7216 +/- ##
=======================================
Coverage 55.63% 55.63%
=======================================
Files 908 908
Lines 58546 58546
Branches 4127 4127
=======================================
Hits 32572 32572
Misses 25868 25868
Partials 106 106
🚀 New features to boost your workflow:
|
size-limit report 📦
|
Migrates the OP Credits form to use shadcn/ui primitives and Tailwind.
Fixes #0
PR-Codex overview
This PR updates the
ApplyForOpCreditsForm
component by replacingChakra UI
components with custom UI components, enhancing the layout and structure, and improving accessibility with proper form labels.Detailed summary
Flex
andFormControl
fromChakra UI
with a custom<form>
and<Label>
.<Input>
component.<Select>
component for industry selection.<MultiSelect>
component for chain selection.div
wrappers for better organization.FormHelperText
in favor of<p>
elements for instructions.Summary by CodeRabbit