-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 invalid property types #19505
Merged
Merged
Fix invalid property types #19505
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
martinpitt
added
the
no-test
For doc/workflow changes, or experiments which don't need a full CI run,
label
Oct 19, 2023
martinpitt
force-pushed
the
prop-types
branch
from
October 19, 2023 07:49
2d21ac9
to
e634b41
Compare
martinpitt
removed
the
no-test
For doc/workflow changes, or experiments which don't need a full CI run,
label
Oct 19, 2023
martinpitt
force-pushed
the
prop-types
branch
from
October 19, 2023 08:25
e634b41
to
a4352b0
Compare
In `Dialog`, the `error` property is always a string, as `show_modal_dialog()`'s `set_error` call already stringifies objects. Hence they can never actually have a `.details` field, and our code also does not set this anywhere. This fixes a lot of property type warnings.
martinpitt
force-pushed
the
prop-types
branch
from
October 19, 2023 09:21
a4352b0
to
cedf22e
Compare
jelly
requested changes
Oct 19, 2023
martinpitt
force-pushed
the
prop-types
branch
from
October 19, 2023 12:43
cedf22e
to
3f6004a
Compare
martinpitt
temporarily deployed
to
gh-cockpituous
October 19, 2023 12:43 — with
GitHub Actions
Inactive
Dialog.title must be a `string`. PatternFly's modal has a `titleIconVariant` property for this use case, which is exposed by our Dialog component. Use that instead. Adjust the pixel references for the slightly changed title layout.
The previous commits fix all of them.
This slightly changes the dialog, pushed updated pixels. |
martinpitt
force-pushed
the
prop-types
branch
from
October 19, 2023 13:21
3f6004a
to
60e36c6
Compare
martinpitt
temporarily deployed
to
gh-cockpituous
October 19, 2023 13:21 — with
GitHub Actions
Inactive
jelly
approved these changes
Oct 19, 2023
mvollmer
approved these changes
Oct 19, 2023
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.
Oh, our dialog even already exposed titleIconVariant! Thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.