Skip to content
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

lib: Don't show icon unless 'icon' prop is passed #19252

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

skobyda
Copy link
Contributor

@skobyda skobyda commented Aug 28, 2023

As per patternfly guidelines [1], validation text (which is main use of FormHelper) should not have an icon

[1] https://www.patternfly.org/components/forms/form/design-guidelines/#errors-and-validation

As per patternfly guidelines [1], validation text (which is main use of
FormHelper) should not have an icon

[1] https://www.patternfly.org/components/forms/form/design-guidelines/#errors-and-validation
@skobyda skobyda marked this pull request as ready for review August 29, 2023 08:55
@martinpitt martinpitt changed the title lib: Don't show icon by default for FormHelper lib: Don't show icon unless 'icon' prop is passed Aug 29, 2023
Copy link
Member

@martinpitt martinpitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack, thanks -- that makes much more sense!

@skobyda skobyda merged commit 3a657a6 into cockpit-project:main Aug 29, 2023
33 checks passed
martinpitt pushed a commit to cockpit-project/cockpit-machines that referenced this pull request Aug 31, 2023
martinpitt pushed a commit to cockpit-project/cockpit-machines that referenced this pull request Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants