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 2104859: Add "Copy SSH command" to VM actions #822
Bug 2104859: Add "Copy SSH command" to VM actions #822
Conversation
@hstastna: This pull request references Bugzilla bug 2104859, 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
Requesting review from QA contact: 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. |
@hstastna: This pull request references Bugzilla bug 2104859, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
@hstastna: This pull request references Bugzilla bug 2104859, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
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 @hstastna the PR looks great 😄
in order for you to show the icon you need to go to here and add the line:
icon={action?.icon}
but the PF dropdown will show the icon before the rendered child as written in their docs, I think it's ok since it's coming from PF and I wouldn't try to change that (and not sure if it is possible 😆 )
Can I also ask of you please to move this directory to here as well in this PR? it makes more sense to me to have the actions compnent under the actions directory, I know you didn't made it like this, but it will be nice that it will be changed :)
Also make sure to apply needed changes to this unit-test to make our CI happy again :)
src/views/virtualmachines/actions/hooks/useVirtualMachineActionsProvider.ts
Outdated
Show resolved
Hide resolved
918b655
to
59bb1b3
Compare
@hstastna: This pull request references Bugzilla bug 2104859, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
2 similar comments
@hstastna: This pull request references Bugzilla bug 2104859, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
@hstastna: This pull request references Bugzilla bug 2104859, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
3c7137a
to
958ffa8
Compare
@avivtur Here's one another thing that bothers me: in the design doc for this, there's "Copy SSH command" using virtctl for the drop down item that was already implemented in the VM Overview tab. But when I check it, it does not seem to use virtctl. I'd expect to see some command like |
11351f1
to
d787d45
Compare
@hstastna: This pull request references Bugzilla bug 2104859, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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 |
@hstastna: This pull request references Bugzilla bug 2104859, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
287c27d
to
e8ed9f0
Compare
e8ed9f0
to
3aa48d1
Compare
@hstastna: This pull request references Bugzilla bug 2104859, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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 |
/lgtm cancel |
0e04bb3
to
cc33ddd
Compare
/lgtm |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
cc33ddd
to
a826ada
Compare
a826ada
to
63f1cc4
Compare
/lgtm |
Add "Copy SSH command" option to kebab menu for the actions in the VM list, also to Actions button in the VM details view/tabs (SSH using virtctl). Make editing SSH access field available in the VM Details tab, even when the VM is stopped. Add missing popovers for "SSH over NodePort" and "SSH using virtctl" in the VM Details tab according to the design doc. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2104859 Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2117803
63f1cc4
to
90fadef
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hstastna, vojtechszocs 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 |
@hstastna: All pull requests linked via external trackers have merged: Bugzilla bug 2104859 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. |
/cherry-pick release-4.11 |
@hstastna: #822 failed to apply on top of branch "release-4.11":
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. |
📝 Description
Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=2104859
https://bugzilla.redhat.com/show_bug.cgi?id=2117803
Add "Copy SSH command" option to kebab menu for the actions in the VM list, also to Actions button in the VM details view/tabs, to copy the command fast and comfortably.
Make editing SSH access field available in the VM Details tab, even when the VM is stopped.
Add missing popovers for "SSH over NodePort" and "SSH using virtctl" in the VM Details tab according to the design doc.
Design doc:
https://docs.google.com/document/d/1FyTSLtTBgl4wJn4BJO-lTeG7rGA9cq1eWlH-a5c0jHI/edit#heading=h.r9srzahlc6ei
🎥 Demo
Before:
The Actions menu before:
After:
"Copy SSH command" in the VM Overview tab:
"Copy SSH command" in the VM list view:
Popovers in the VM Details tab:
TODO: