Closed rawagner closed 4 years ago
@rawagner Definitely. We did some thinking on a similar workflow for oVirt where is the user makes a change that won't be applied until after a restart.
Do you think something like this would work where we let the user know that this change won't be applied until after a restart and then maybe some sort of notification above the table view?
oVirt Example confirmation modal:
oVirt Example inline notification:
@andybraren - What do you think?
Sorry I'm late to this discussion. Good question, and I agree this is something we need to design for.
Here's the current NIC editor, for those following:
@lizsurette In oVirt that confirmation modal seems to appear immediately after clicking the blue confirm button. I'm mostly okay with that, but if users click "Save Changes" and continue modifying other NICs/Disks I wouldn't want that modal to appear again. If it did there's a high likelihood they'd accidentally click the primary action (restart) while moving too quickly in annoyance.
I'd rather provide ambient indicators, like the inline notification, but also something more persistent. I think the VM's Status should change from "Running" with a green pficon-on-running
icon to something slightly less positive, like an orange icon with an asterisk next to "Running", or maybe "Pending" if that's more appropriate. This feels like a use case PatternFly/OKD should have an icon for, but I'm not finding any that quite fit this scenario.
Here's a mockup of some Status ideas:
Clicking the status could either bring the user to a log message describing the need to restart (similar to the way actual errors work) or display a tooltip with a brief message.
Does this make sense? I can get started mocking up the inline notification in the meanwhile.
Does this make sense? I can get started mocking up the inline notification in the meanwhile.
@andybraren I think a combination of the icon/state change and an inline notification would make it clear. You're right that we could probably avoid the pop-up and just let the user know that the changes haven't taken place yet and provide a quick way to restart via a link in the notification.
I've proposed a new status icon in the design repo. It looks like this:
And here's what an inline notification could look like immediately after a NIC is added/modified. I think it should persist across all tab views, including the Overview, until the VM has been restarted.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
/lifecycle rotten
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen
.
Mark the issue as fresh with /remove-lifecycle rotten
.
/close
@kubevirt-bot: Closing this issue.
/remove-lifecycle rotten /reopen
@rawagner: Reopened this issue.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
/lifecycle rotten
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen
.
Mark the issue as fresh with /remove-lifecycle rotten
.
/close
@kubevirt-bot: Closing this issue.
@lizsurette If I delete (and in the future edit) NIC or Disk from VM ( https://github.com/kubevirt/web-ui/pull/91 ) and the VM is running, the changes will not affect the running instance. Should we show warning or info that the changes will be applied to the new instance ?