-
Notifications
You must be signed in to change notification settings - Fork 74
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
Migrate radio buttons to Ant Design #5681
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
fides Run #11842
Run Properties:
|
Project |
fides
|
Branch Review |
refs/pull/5681/merge
|
Run status |
Passed #11842
|
Run duration | 00m 50s |
Commit |
3fbdc73f12 ℹ️: Merge ede125a3afdbc5bf8f1a4038c3616a1a8bb9929f into fdd8b4bcbaf910f4d5bc5b979d28...
|
Committer | jpople |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
4
|
Upgrade your plan to view test results. | |
View all changes introduced in this branch ↗︎ |
{ | ||
// console.log(system); | ||
return <Flex> </Flex>; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just commenting this out for now to make ESLint happy for CI purposes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry about that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<FormControl isInvalid={isInvalid}> | ||
<Flex className="w-fit"> | ||
{label ? ( | ||
<Label htmlFor={props.id || props.name}>{label}</Label> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This label doesn't actually tie to any form elements, so we should just leave off the htmlFor
altogether. It's mostly a decorative label.
Closes HJ-223
Description Of Changes
Migrates radio buttons and radio groups to Ant Design.
Code Changes
inputs.tsx
to its own fileSteps to Confirm
Test the radio buttons on the following pages and verify they look correct and work as intended:
/privacy-requests/configuration/messaging
/privacy-requests/configuration/storage
Pre-Merge Checklist
CHANGELOG.md
updatedmain
downgrade()
migration is correct and works