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
CONSOLE-2361: Conversion of bootstrap table column and visibility classes to similar PF4 classes #9440
CONSOLE-2361: Conversion of bootstrap table column and visibility classes to similar PF4 classes #9440
Conversation
sg00dwin
commented
Jul 7, 2021
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.
Hooray for less Bootstrap classes!
'pf-m-hidden pf-m-visible-on-md', | ||
'pf-m-hidden pf-m-visible-on-md', | ||
'pf-u-w-16-on-xl', | ||
'pf-u-w-33-on-2xl pf-m-hidden pf-m-visible-on-md', |
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 seems like in the other instances you are doing : hidden visible size
. Would be good to be consistent.
frontend/public/components/job.tsx
Outdated
'pf-m-hidden pf-m-visible-on-xl pf-u-w-16-on-xl', | ||
'pf-u-w-25-on-2xl', | ||
'pf-u-w-25-on-2xl', | ||
'pf-u-w-25-on-2xl pf-m-hidden pf-m-visible-on-md', |
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 seems like in the other instances you are doing : hidden visible size
. Would be good to be consistent.
'pf-m-hidden pf-m-visible-on-lg pf-u-w-16-on-lg', | ||
'', | ||
'pf-u-w-25-on-xl pf-m-hidden pf-m-visible-on-sm', | ||
'pf-u-w-10-on-2xl pf-u-w-16-on-xl pf-m-hidden pf-m-visible-on-lg', |
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 seems like in the other instances you are doing : hidden visible size
. Would be good to be consistent.
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.
Nit: extra space between pf-m-hidden
and pf-m-visible-on-lg
'pf-u-w-33-on-md pf-u-w-25-on-lg', | ||
'pf-u-w-25-on-lg pf-u-w-33-on-xl pf-m-hidden pf-m-visible-on-lg', | ||
'pf-u-w-10-on-xl', | ||
'pf-u-w-10-on-xl pf-m-hidden pf-m-visible-on-sm', |
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 seems like in the other instances you are doing : hidden visible size
. Would be good to be consistent.
'pf-m-hidden pf-m-visible-on-md pf-u-w-16-on-md pf-u-w-8-on-lg', | ||
'pf-m-hidden pf-m-visible-on-lg pf-u-w-8-on-lg', | ||
'pf-u-w-25-on-lg pf-u-w-33-on-sm pf-u-w-8-on-lg', | ||
'pf-u-w-33-on-md pf-u-w-25-on-lg', |
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 seems like other instances the sizes descend from largest to smallest. Would be good to be consistent.
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.
I updated the sizes to consistent. Going from sm > md > lg > xl >2xl since PF rules apply to *-on-{size}
and larger.
And pf-u-w-{width}
rule precedes pf-u-w-{width}-on-{size}
classNames('col-md-3', 'col-sm-4'), | ||
classNames('col-md-2', 'hidden-sm'), | ||
'pf-m-width-50 pf-u-w-33-on-sm', | ||
'pf-m-hidden pf-m-visible-on-sm pf-m-hidden-on-md pf-m-visible-on-lg', |
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 seems like other instances the sizes descend from largest to smallest. Would be good to be consistent.
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.
I updated the sizes to consistent. Going from sm > md > lg > xl >2xl since PF rules apply to *-on-{size}
and larger. And pf-u-w-{width}
rule precedes pf-u-w-{width}-on-{size}
816c798
to
c0d72ae
Compare
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.
[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
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/label qe-approved |
This PR has been verified on private build without any issue. below list the key checkpoint for this PR:
|
/hold cancel |
This PR has no user visible changes, and we have general docs and px approval for this epic. @ahardin-rh @sferich888 FYI /label docs-approved |