On 08/18/2014 10:04 PM, Wen Wang wrote:

On 8/19/2014 12:57 AM, Aline Manera wrote:

On 08/18/2014 02:57 AM, Yu Xin Huo wrote:
On 8/15/2014 5:39 PM, Wen Wang wrote:
Hi all,

Here is the new design of the "Edit" function. We are going to enable user viewing VM details when VMs are running and "Permission" is always available whether a VM is running or not.

Here's the detail of the design:
1) Enable "Edit" in "Action" whether VM is running or not.
2) Delete "Manage Media" button and move it to a tab in "Edit"
3) Enable "Permission" & "Manage Media" and provide read-only privilege of "General", "Storage", "Interface" when a VM is running.
4) Enable "General", "Storage", "Interface", "Permission" and provide read-only privilege of "Manage Media"when a VM is not running.

Mocks are added below:

Delete "Manage Media" and enable "Edit" all the time.

When a VM is running, tabs are presented:


Per my understanding:
1. 'hdc' in 'Storage' tab is just the 'Media' in 'Manage Media' tab, so 'Manage Media' tab can be omitted.
    and this entry can be updated when both VM is up or down.
2. 'Permission' tab will be enabled when both vm is up or down.
3. 'General', 'Storage(except hdc)', 'Interface' tabs are enabled only when vm is down.

Yeap. That is correct.

"Manage media" option was available to allow user change the "cdrom" path.
As it is already in the Storage tag, we don't need the "Manage media" anymore.

While loading the "Storage" tab, check if the storage is has type == *cdrom*, and if so enable it for edit. Otherwise, keep it only for view.

ACK. So the "Edit" tab should look somewhat like below:

hdc is editable and we no longer have the manage media tab

Exactly. =)






When a VM is not running, tabs are presented all like what is right now only with a new tab of "Manage Media" read-only:


Any comment is welcomed

Best Regards

Wang Wen



_______________________________________________
Kimchi-devel mailing list
Kimchi-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel



_______________________________________________
Kimchi-devel mailing list
Kimchi-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel