-
Notifications
You must be signed in to change notification settings - Fork 24
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
CNV-33531: Fix broken Diagnostics link in VM Overview Details card #1570
CNV-33531: Fix broken Diagnostics link in VM Overview Details card #1570
Conversation
Make "View diagnostic" broken link displayed in VM Overview Details card Status popover lead to Diagnostics tab successfully, in case of some VM status error. make the link work by using createUrl to generate the url for the page correctly. Fixes https://issues.redhat.com/browse/CNV-33531
@hstastna: This pull request references CNV-33531 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.15.0" version, but no target version was set. 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. |
@avivtur @metalice @pcbailey @upalatucci @vojtechszocs please review |
@hstastna: This pull request references CNV-33531 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.15.0" version, but no target version was set. 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. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hstastna, pcbailey 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 |
📝 Description
Fixes:
https://issues.redhat.com/browse/CNV-33531
Make View diagnostic broken link, displayed in VM Overview Details card Status popover, lead to Diagnostics tab successfully, in case of some VM status error. Make the link work by using
createUrl
util to generate the url for the page correctly.Note that when finding and then investigating this bug, I've found that all other links present in the VM Overview tab were created by use of
createUrl
. It seems it was just forgotten to use it also for that broken link hidden in the popover of one field in that page.Also note that you must click on Overview tab to be able to always reproduce the bug. When accessing Overview tab from VM list page and not clicking on the tab name explicitly, you won't be able to reproduce the bug, because the url string will be missing "/" at its end.
🎥 Demo
Before:
diag_before.mp4
After:
diag_after.mp4