-
Notifications
You must be signed in to change notification settings - Fork 377
feat(Select): Deprecated old select and promoted select next #8825
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
Conversation
|
Preview: https://patternfly-react-pr-8825.surge.sh A11y report: https://patternfly-react-pr-8825-a11y.surge.sh |
21620bc to
15747c6
Compare
15747c6 to
c1facc6
Compare
packages/react-core/src/components/LoginPage/examples/LoginPageLanguageSelect.tsx
Show resolved
Hide resolved
packages/react-core/src/components/Toolbar/examples/ToolbarWithFilters.tsx
Show resolved
Hide resolved
packages/react-core/src/components/Toolbar/examples/ToolbarWithFilters.tsx
Show resolved
Hide resolved
packages/react-core/src/components/Toolbar/examples/ToolbarCustomChipGroupContent.tsx
Show resolved
Hide resolved
packages/react-core/src/components/Toolbar/examples/ToolbarCustomChipGroupContent.tsx
Show resolved
Hide resolved
packages/react-core/src/components/CalendarMonth/CalendarMonth.tsx
Outdated
Show resolved
Hide resolved
5a3ea36 to
29d52da
Compare
29d52da to
040a539
Compare
wise-king-sullyman
left a comment
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.
Everything looks good to me once the CI issues are resolved.
thatblindgeye
left a comment
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.
Same as ☝🏼 , only have one comment below that isn't a blocker if we're able to get it in today
packages/react-core/src/components/Toolbar/examples/ToolbarWithFilters.tsx
Outdated
Show resolved
Hide resolved
b0295f3 to
c0bfc1c
Compare
mcarrano
left a comment
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.
@nicolethoen @tlabaj The problem I have with this is that if I look at this from a consumer's perspective, it looks like we've taken a step back. The new default Select implementation has no documentation and on the surface looks to have very limited capability. I understand that the objective was to not reproduce all existing examples here and encourage use of the composable approach, but how would I know that here? I'm willing to help document and define additional examples that we should expose if you agree.
@mcarrano Yes, we can add more documentation here. What examples are we looking to add? |
c5dc602 to
83bd509
Compare
I'm OK with that if you prefer, @nicolethoen . I can open an issue. |
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.
@nicolethoen I found two issue in my UX review:
- For the Card demos with a plain select in the upper left of the card, the down caret is missing.
- You notes that in the Filterable Table demo, the tool buttons misalign. That's true. But what I'm also seeing is that the Filter icon is incorrect. It should be like the one below. This seems to be consistently wrong everplace this icon is used. Not sure if that's what's also causing the misalignment, but the icon mismatch is concerning. Any idea what's going on there?
Here's what this looks like in the PR preview:
|
@mcarrano when i look at patternfly.org's icons page, I see that there are two filter icons: https://www.patternfly.org/v4/guidelines/icons. One is the pf-icon filter, which is the one you see in the core and react workspaces's lists of icons. the one you're referring to is the font awesome filter icon, which I don't know how to specifically use rather than the pf icon. |
|
@nicolethoen according to what's on the Icons page, we should be replacing using of This was correct previously when using FilterIcon from React, so what changed? @mcoker any idea? |
|
@mcarrano i've opened the following issue to note the discrepancy so we don't hold up this PR |
|
@nicolethoen put up a fix for the filter icon here - #8920 It's a small change so if you prefer to add it to this PR and close out mine go for it, otherwise my PR can compliment this one to fix the issue - it's unrelated to your changes here and comes from a prior Core bump PR. |
fb70532 to
54dcf1e
Compare
|
@evwilkin I'll leave your changes in your PR |
54dcf1e to
2fbb89b
Compare
2fbb89b to
98643ff
Compare
mcarrano
left a comment
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.
Whatever can be going on here? https://patternfly-react-pr-8825.surge.sh/components/card/react-demos/#utilization-card-3
@mcarrano this issue was introduced prior to this PR. We can you open a separate issue to look into it |
|
That sounds good @tlabaj . If you can open that issue, I will go ahead and approve this as it otherwise looks good. |
mcarrano
left a comment
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.
@tlabaj thanks for opening the issue. In that case, this PR looks good to go.
98643ff to
9e62e40
Compare
|
Your changes have been released in:
Thanks for your contribution! 🎉 |





What: Closes #8073
hopefully to aid in review, the components, examples, and demos updated are linked below:
More updated examples after rebasing:
Table examples/demos:
A few additional notes: