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 1809797: In-Context No Application Fix #4615
Bug 1809797: In-Context No Application Fix #4615
Conversation
@andrewballantyne: This pull request references Bugzilla bug 1809797, 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. |
/cherry-pick release-4.4 |
@andrewballantyne: once the present PR merges, I will cherry-pick it on top of release-4.4 in a new PR and assign it to you. 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. |
@andrewballantyne: This pull request references Bugzilla bug 1809797, 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. |
/retest |
@parvathyvr please review! |
|
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.
@andrewballantyne This is not consistent with the dev catalog. If you right-click on graph and go to import from git you have context of Unaasigned
but if you go to dev-catalog there is no application context. Any resource created through the builder image gets one of the selected application.
Previously, We decided to not have any context on graph right click. That's why dev-catalog and database option wasn't removed from there.
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.
@andrewballantyne Pressing enter on the form redirects to the topology page. Notice that the Create button is disabled on the form and none of the field is filled. Steps:
|
Interesting... is this pre-existing? I'll check out and test once I get a moment. |
I tried on master as well. Not able to reproduce it on master. The only difference I see is that Application input field was not available on the form, Once we selected an application from the application dropdown. |
I think it makes sense to prioritize the URL param... as how would one ever be able to do anything but deploy in the application they are selected on. The UX in the Topology would need to prevent them from dropping outside of their application in order to respect it. Alternatively, I could reset it back to "all applications" for the life of the form (the logic when going from one application to another does retain the old one on completion). |
my mistake... added approval to wrong issue |
Interesting... I think this is pushing the "tab focus" to the I can reproduce this on |
@andrewballantyne Yes, I can reproduce it on master as well. Thanks 🙂 |
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
Verified locally, Works as expected.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andrewballantyne, sahil143 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 |
/retest |
@andrewballantyne: All pull requests linked via external trackers have merged. Bugzilla bug 1809797 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. |
@andrewballantyne: #4615 failed to apply on top of branch "release-4.4":
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-3100
Analysis / Root cause:
The issue was that when an application is provided while doing in-context it set the application selector in the secondary masthead. However, if you didn't pass an application the logic didn't assume "no application" it failed to load up an in-context scenario and just defaulted to the normal flow of the add-screen.
Solution Description:
Specify specifically we want a no-application. This is unique path because there is no "no application" in the secondary masthead's application selector.
Screen shots / Gifs for design review:
cc @openshift/team-devconsole-ux
Unit test coverage report:
No change
Test setup:
Trying to create a Knative Service as the target of an in-context action will cause this bug: https://issues.redhat.com/browse/ODC-3237
Browser conformance:
/kind bug