-
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
lib: Port us away from deprecated Select variant "checkbox" #21373
lib: Port us away from deprecated Select variant "checkbox" #21373
Conversation
860f19b
to
0ea56f3
Compare
0ea56f3
to
fcab3a0
Compare
fcab3a0
to
fbab4c0
Compare
37773f5
to
b23372d
Compare
@mvollmer removing from my review queue as this is still red. I rather dislike that we have to take on more and more PF code with what should be generic upstream components, but alas.. 🤷♂️ Thanks for working on this! |
From 3b857f8b06440bccc8e7979cf686f4e3261ff4df
Let's wait for the #services-list element to be there before looking into it.
b23372d
to
27a0d5f
Compare
const { content, value, key, ...props } = option; | ||
const isSelected = selected.includes(value); | ||
return ( | ||
<SelectOption value={value} key={key !== undefined ? key : `${value}`} |
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 added line is not executed by any test.
}); | ||
|
||
const onToggleClick = () => { | ||
onToggle && onToggle(!isOpen); |
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 added line is not executed by any test.
selected={selected} | ||
onSelect={_onSelect} | ||
onOpenChange={(isOpen) => { | ||
onToggle && onToggle(isOpen); |
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 added line is not executed by any test.
I think the remaining failures are flakes, amplified by repeating agffected tests: I can't reproduce them locally... |
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.
Cheers!
No description provided.