-
Notifications
You must be signed in to change notification settings - Fork 667
Migrate <HintBlock> from PF3
#2718
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
Migrate <HintBlock> from PF3
#2718
Conversation
|
/hold |
|
This looks pretty similar to |
44f4843 to
faa02d3
Compare
spadgett
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.
Changes LGTM, but I noticed some out-of-date help for Chargeback. We should fix that in a separate PR for 4.2.
|
Actually I don't think this hint block will ever display for Chargeback since we hide the nav item when the flag isn't set. We can probably just remove it. |
faa02d3 to
5354c1d
Compare
e9cca3a to
7d6a0fa
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.
i think we can remove this check as well
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.
Done.
|
/hold cancel |
7d6a0fa to
e13f7c6
Compare
|
/retest |
e13f7c6 to
28749d3
Compare
|
/retest |
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 we consider making this children instead? I know this was the original API from Patternfly, but I don't see a reason this needs to be a special prop.
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.
Yeah, we can. Was going for minimal changes...
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.
Updated. PTAL @spadgett
28749d3 to
0e265ca
Compare
0e265ca to
198ed08
Compare
spadgett
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
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhamilto, spadgett 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 |
Resolves https://jira.coreos.com/browse/CONSOLE-1759
<HintBlock>doesn't exist in PF4, is pretty specific as far as components go, and contains PF3-specific styling that cannot be changed, so it makes the most sense to migrate the component over to the console code base directly. Note the migrated version does not obtain feature parity with the PF3 version it replaces as there was no need to migrate functionality that was not in use.