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
Bug 1854655: Bump to latest @patternfly/patternfly release (4.23.1) #5987
Bug 1854655: Bump to latest @patternfly/patternfly release (4.23.1) #5987
Conversation
Seeing failures for unit tests which reference
UPDATE: fixed, had to add |
@@ -37,7 +36,7 @@ type PopoverStatusProps = { | |||
title?: string; | |||
hideHeader?: boolean; | |||
isVisible?: boolean; | |||
shouldClose?: (tip: TippyInstance) => void; | |||
shouldClose?: (hideFnc: any) => void; |
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.
Can you improve the types here?
nit: I'd spell it out to make it more clear: hideFunction
(I'm assuming fnc means function)
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.
Fixed, changed to hideFunction
. Can you pls elaborate on how to improve types? Using what PF-React has for Popover
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.
Looking at the code it seems PF didn't update their types.
shouldClose?: (hideFnc: () => void) => void;
PatternFly team working on a PR ( patternfly/patternfly-react#4543) which will restore |
/hold |
@dtaylor113 do we really need to wait for that PR? It doesn't affect us. |
I'm restoring |
@christianvogt, I guess not as this PR makes the required changes to work with the latest Popover. /hold cancel |
/retest |
Ran PR and roamed the app. Tested topology tooltips. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: christianvogt, dtaylor113 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This indirectly fixes https://bugzilla.redhat.com/show_bug.cgi?id=1854655 |
@dtaylor113: All pull requests linked via external trackers have merged: . Bugzilla bug 1854655 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
tippyProps
in Tooltips