Description of problem:
When looking at "Snapshots" of a VM in the Admin Portal, it can be confusing to see the "Remove" option at the top of the screen that removes the VM itself. One might interpret the option as removing the snapshot (which has a separate Delete option a bit lower in the screen).
Version-Release number of selected component (if applicable):
The "Remove" option to remove the VM is present when looking at a list of snapshots.
The option to remove the VM be hidden when looking at a list of snapshots to avoid accidentally removing the VM instead of a snapshot.
Screenshot will be attached soon for reference.
It looks to me as separated enough...Laura, thoughts?
This is a common issue in multiple different tabbed views in my opinion. I think actions like "Remove" should be added to the kebab menu since there are so many buttons surfaced already to the user and it's more of a secondary action.
Created attachment 1631041 [details]
Templates view - remove buttons
The issue is that there are other views without a kebab menu currently exists (no need since only few buttons) but still with "Remove" buttons duplication that might confuses the user, e.g. templates view - see https://bugzilla.redhat.com/attachment.cgi?id=1631041
So the question is if we solve the problem only for vms-snapshots or leave it as.
That's fine with me if it's a case by case fix.
(In reply to Laura Wright from comment #3)
> This is a common issue in multiple different tabbed views in my opinion. I
> think actions like "Remove" should be added to the kebab menu since there
> are so many buttons surfaced already to the user and it's more of a
> secondary action.
There's a confirmation dialog before removing the entity so it's unlikely that the user will accidentally remove a VM because of this.
But I agree with the above that remove-vm is a secondary action and if by moving it to the kebab menu we can also lower the chance of accidentally pressing the wrong button (even if this solution only applies to the VMs) - I think it worth doing it.
1. Open Virtual Machines screen, check if Remove option is in kebab menu, but not displayed as a button besides Run button.
2. Run a VM, check if the Remove option is disabled.
3. Shutdown a VM, check if the Remove option is enabled, and the VM can be deleted by it.
1. On Virtual Machines screen, the Remove option is in kebab menu, no Remove button besides Run button.
2. The Remove option in kebab menu is disabled when the VM is running.
3. The Remove option in kebab menu is enabled when the VM is down, and the VM can be deleted by it.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: Red Hat Virtualization security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.