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
ODC-6064: Update PatternFly to fix unexpected spacing below topology toolbar #9453
Conversation
I think we should wait for UX feedback if the perspective switch change is a bug or a feature... It is at least the default behavior of a PatternFly dropdown https://www.patternfly.org/v4/components/dropdown /hold |
I noticed this as well and reported it at patternfly/patternfly#4155 (comment) (which I now realize wasn't the offending PR, but the issue links to the offending PR). I worked around the issue with https://github.com/openshift/console/pull/9419/files#diff-8f2141c9b030221e65e6a3c024604a13181de9046fdc1f54c60e23b6a10c045eR14-R18 |
Fix for the breaking PatternFly change coming. See patternfly/patternfly#4155 (comment) |
@rhamilto thanks for these links. For this PR I removed the border also from for the I remove the hold as I don't know any visual blocker at the moment. I also updated PF again and rebased this PR. |
PatternFly is to revert the changes requiring you to add |
OK. Waiting for
/hold |
@rhamilto patternfly/patternfly#4213 is merged and released. I updated this PR again to the latest PF releases. The topology toolbar is still fine with this PR, the perspective switch looks good again (without any CSS change in this PR anymore). And I could not find any other UI glitch at the moment. From my side we could update PF now. Look good to you as well? Are you fine with adding such a /hold cancel |
Yep!
I'll defer to the @spadgett and @christianvogt on that one. |
If you want to deliver a script because it makes the task easier. go for it. |
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
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
Sorry, @jerolimov. It looks like my PR landed before yours did, and now you need to rebase. |
No problem. Rebased, re-run the script and done. ;) |
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: jerolimov, rhamilto 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 |
Fixes:
https://issues.redhat.com/browse/ODC-6064
Analysis / Root cause:
With one of the latest
@patternfly/react-core
theToolbar
component renders an unexpceted spacing. See before screenshots below.Solution Description:
Update
@patternfly/patternfly
and@patternfly/react-core
to the latest version which includes the bugfixSee also
Screen shots / Gifs for design review:
Broken topology toolbar before:
Topology toolbar now (again without spacing):
Search for other UI changes.
The only differences I noticed yet is that the perspective dropdown shows now a gray bottom-border line which changes to blue if the user hovers it.Before:After (without the change in_nav_header.scss
, with the change there is no visual change to the old version):With the latest
@patternfly/patternfly
update this issue is fixed again. I don't find any other layout issues yet.Unit test coverage report:
Untouched
Test setup:
Just open the developer perspective > topology.
Browser conformance:
/kind bug