-
Notifications
You must be signed in to change notification settings - Fork 72
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
Fix button visual issues #5386
Fix button visual issues #5386
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -28,7 +28,6 @@ const NewDataset: NextPage = () => { | |||
<Box> | |||
<Button | |||
onClick={() => setGenerateMethod("yaml")} | |||
ghost={generateMethod === "yaml"} |
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.
Prior to migrating, the button was in an "active"/pressed state while the YAML form was open on the page. Ant doesn't allow you to set the pressed state in props, but I'm not sure it's really necessary here anyway.
fides Run #10461
Run Properties:
|
Project |
fides
|
Run status |
Passed #10461
|
Run duration | 00m 39s |
Commit |
88d86fbbb2 ℹ️: Merge 7380694fe01579e46104b1c0a25644bee5d66818 into e55d71f66ed37d3980ff370ca908...
|
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. |
<Button onClick={onClear} className="bg-[#f5f5f5] hover:!bg-[#d9d9d9]"> | ||
Clear | ||
</Button> |
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.
Is this going to be common for search inputs? Can this component be reused outside of d&d? Maybe move this to a more common directory for sharing across the board if that's the case.
Overall looks good. Approved with one suggestion for future consideration. |
fides Run #10482
Run Properties:
|
Project |
fides
|
Run status |
Passed #10482
|
Run duration | 00m 37s |
Commit |
c050dd2ac5: Fix button visual issues (#5386)
|
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. |
Closes HJ-60
Description Of Changes
Fixes several visual issues introduced by Ant button migration.
Changes "default" button color from light gray to white:
Changes spacing between action buttons on privacy request manager page:
Adds space between buttons on integration detail view:
Fixes a bug where "upload a dataset YAML" button in add dataset view was in "ghost" state:
Tweaks colors on search input and clear button to differentiate more clearly:
Pre-Merge Checklist
CHANGELOG.md