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
Bug 1798177: Add expand/collapse of operator groups, type icons #4190
Bug 1798177: Add expand/collapse of operator groups, type icons #4190
Conversation
@jeff-phillips-18: This pull request references Bugzilla bug 1798177, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/kind bug |
FYI @Veethika |
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.
Knative grouping border should be the same as other groupings (Operator backed groupings & helm groupings). Unsure if that's part of this bug or not, but providing the feedback.
Otherwise, the expand/collapse & associated type icons look good
ref={hoverRef} | ||
onClick={onSelect} | ||
className={classNames('odc-operator-backed-service', { | ||
'is-selected': selected, |
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.
On selecting expanded group, it is not adding the highlight which is added when the group is collapsed.
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.
Fixed
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.
You actually don't need this line because it is only needed on the __bg
node.
@serenamarie125 Updated to use the same styling for Helm, Knative, and Operator groups. |
@serenamarie125 |
ref={hoverRef} | ||
onClick={onSelect} | ||
className={classNames('odc-operator-backed-service', { | ||
'is-selected': selected, |
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.
You actually don't need this line because it is only needed on the __bg
node.
<SvgBoxedText | ||
className="odc-base-node__label" | ||
x={x + width / 2} | ||
y={y + height + 30} |
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.
Maybe we should update this to 24px now because the labels are overlapping the app group border. Or we add more padding to the app groups.
@abhi-kn I think it's worth raising an issue for discussion around the naming and not for this PR. |
6472e60
to
20ce393
Compare
/test analyze |
/lgtm |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
@abhi-kn I think this is a problem, IMO it should be KSVC if the Application Grouping has a Knative Service inside of it. Interesting, as I found something likely connected which I mentioned on the tmp-odc-topology channel today. |
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.
Jeff this looks great! I see both the operator backed grouping and Knative service groupings here, and noticed that the knative logo has also been removed from the revisions 👍
Approved from a UX perspective ( I know that some additional visual changes will happen based on Veethika's subsequent visual specs.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: christianvogt, jeff-phillips-18, serenamarie125 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 |
@jeff-phillips-18: All pull requests linked via external trackers have merged. Bugzilla bug 1798177 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Fixes:
https://issues.redhat.com/browse/ODC-2851
https://issues.redhat.com/browse/ODC-2894
Analysis / Root cause:
The expand/collapse groupings never took the Operator Groups into consideration so they were not expanded/collapsed when the filter was toggled.
Solution Description:
Add the necessary handling of the filter for the expand/collapse of operator groups. Allow operator groups to be selected, though there is no side panel for them at this time. To better distinguish the collapsed group types, add the grouping type icon to the upper left corner of collapsed groups.
Browser conformance:
Sample Screenshots:
cc @openshift/team-devconsole-ux