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 1870636: Add ability to select unassigned as application filter in topology #6343
Bug 1870636: Add ability to select unassigned as application filter in topology #6343
Conversation
@jeff-phillips-18 import from GIT workflow still creates resources in an application instead of being unassigned. |
@christianvogt I see. If unassigned is selected, it should create unassigned resources, thanks. |
Please change 'Unassigned' to be 'unassigned' in the dropdown, as well as the other locations we discussed. |
f6487ec
to
4dd4085
Compare
@christianvogt Resources are now created as unassigned if the unassigned filter is set. @bgliwa01 Changed Updated screenshots above. |
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.
Hi @jeff-phillips-18 there are 2 points to change:
- As per https://issues.redhat.com/browse/DTUX-84, we should have 'unassigned' after 'all applications' in the Applications dropdown in the secondary masthead.
- Also in the General section of the forms,in the Application dropdown we should have the unassigned only once above the separator along with create application. We need not show it again in the application names after the separator.
4dd4085
to
fd46d22
Compare
@parvathyvr I have made those changes, updated the screenshots above |
/assign |
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-phillips-18 Even if i go to git import form with application selected as unassigned
, the app gets created in application name context. After digging into the code it seems this is happening due to GitSection
using duplicate/wrong constant UNASSIGNED_KEY
instead of UNASSIGNED_APPLICATIONS_KEY
.
@jeff-phillips-18: This pull request references Bugzilla bug 1870636, 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. 3 validation(s) were run on this bug
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. |
/bugzilla refresh |
@jeff-phillips-18: This pull request references Bugzilla bug 1870636, which is invalid:
Comment 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. |
/bugzilla refresh |
@jeff-phillips-18: This pull request references Bugzilla bug 1870636, which is valid. 3 validation(s) were run on this bug
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. |
4b8ed9f
to
8e7467b
Compare
@christianvogt Thanks. Fixed. |
@jeff-phillips-18 When selecting Topology from the sidebar the application dropdown shows the right entries: But when I'm already on the Topology graph and refresh the browser (with cmd-r or F5 or when entering the URL and press enter again), the application filter menu keeps empty also when the graph shows some applications: When selecting another navigation entry and Topology again it works fine again. edit: I noticed now that this bug already exist on the master. So this is not caused by your changes. Everything else lgtm. Should I create a new ticket for this finding Jeff? Btw: Is it possible to show entry only if there is any node without assigned application? |
I don't believe we intended the application filter to persist thru sessions as it is not part of the URL. That would be a request for change. |
/retest |
Oh, I do not expected that the selection was saved. But sometimes the dropdown was not filled and I could not can select the app or your new "unassigned" (see 2nd screenshot above). On the new cluster it works now. I expect that there is an race condition that the application dropdown select was not updated always. As written in my "edit" note above this happen also on master so this does not block this issue here. I will keep an eye on this. |
The only way to do this would be to load up the resources in the same manner as the topology view. Currently we retrieve all resources that could have the |
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
/assign @rohitkrai03
@jeff-phillips-18 Got merge conflicts on this one. |
8e7467b
to
afcab1b
Compare
@jerolimov Rebased, no other changes. |
@jeff-phillips-18 Unfortunately I found another small issue while re-testing, sorry. When I right click on a Deployment with an app name and select Edit Application Grouping and select "unassigned" in the modal (which was Unassigned before, but I think thats ok), the app name was changed to this name instead of 'none' app name. |
UX asked for it to be lowercased consistently during discussions about #6343 (comment) |
afcab1b
to
4fdf3d8
Compare
Could verify "Edit Application Grouping" fix /lgtm |
/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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jeff-phillips-18, jerolimov, rohitkrai03 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 1870636 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-4447
Description
Add the
Unassigned
group to the list of filters for application groupings.Screenshots
Browser conformance:
/kind bug
/cc @bgliwa01