-
Notifications
You must be signed in to change notification settings - Fork 667
Convert dropdowns and related inputs to pf4 #1751
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
Convert dropdowns and related inputs to pf4 #1751
Conversation
|
cc @priley86 |
rhamilto
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.
Nice job, @sg00dwin. A few nits, suggestions.
frontend/public/components/cluster-settings/_cluster-settings.scss
Outdated
Show resolved
Hide resolved
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.
Moving these lines out of this file breaks our convention of putting overrides of third-party css in a single file and results in us having overrides throughout. I'm not opposed to that, but do favor consistency.
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.
Turns out we are not overriding existing react-tagsinput
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.
👍
|
these dropdowns look a lot more consistent to me now, nice work @sg00dwin! Just noting a few things after glancing at this and starting #1629 previously (not sure if they were already noted):
|
thanks @priley86 those dropdowns where missing a rule to control min-width. And I'll address those kebab overrides. |
35bab63 to
6f499c5
Compare
d2a0691 to
8910134
Compare
|
@rhamilto Addressed comments ptal Corrected Events and Search dropdown-menu widths |
8910134 to
47367da
Compare
|
/retest |
47367da to
222fca9
Compare
|
/retest |
rhamilto
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.
/lgtm
|
/retest Please review the full test history for this PR and help us cut down flakes. |
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.
What impact does this have if we change this globally to $font-size-base as we transition to PF4? Does it break the nav/masthead? The dev console team is looking at bringing in some other PF4 components and will have similar font-size issues.
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.
It would be nice if we can override --pf-global--FontSize--md and set it to 14px so that every new PF4 component we utilize doesn't need a separate font tweak.
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.
@spadgett Setting --pf-global--FontSize--md to $font-size-base: 14px globally still requires a few targeted overrides. Can we make those global font-size changes as a follow-on and go forward with merging this pf, so the font related changes can be easier tracked?
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.
@sg00dwin I was going to suggest a separate PR, yeah. Then we can get that merged separately to unblock the dev console team. It looks like you have some test failures to work through still in this one.
664ee32 to
4254de9
Compare
|
@sg00dwin LGTM! |
|
Very nice! FYI @matthewcarleton |
27d9f01 to
6d5b4ff
Compare
|
/retest |
|
looks great! |
d9a59f6 to
e0382c9
Compare
|
/retest |
a557961 to
c1b69e0
Compare
|
/lgtm |
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.
FYI, This will conflict with #1542
|
/retest Please review the full test history for this PR and help us cut down flakes. |
c1b69e0 to
ca935b2
Compare
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhamilto, sg00dwin The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest |
|
/retest Please review the full test history for this PR and help us cut down flakes. |





No description provided.