You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/01/05 06:58:58 UTC

[jira] [Commented] (CLOUDSTACK-9718) Revamp the dropdown showing lists of hosts available for migration in a Zone

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-9718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15800554#comment-15800554 ] 

ASF GitHub Bot commented on CLOUDSTACK-9718:
--------------------------------------------

GitHub user rashmidixit opened a pull request:

    https://github.com/apache/cloudstack/pull/1889

    CLOUDSTACK-9718: Revamp the dropdown showing lists of hosts available for migration in a Zone

    Refer to [CLOUDSTACK-9718](https://issues.apache.org/jira/browse/CLOUDSTACK-9718) for more details.
    
    Problem: All the hosts suitable for VM Migration are not shown in the UI. This could
    confuse the user as the target host might never be shown in the UI.
    
    Root Cause: The API (findHostsForMigration) always returned page 1 results which would
    be always <= default.page.size global parameter. Therefore, in case of large
    no. of hosts where the result can map to multiple pages, this issue would arise.
    
    Solution: 1. Replace drop-down with listView widget.
    2. Allow lazy-loading of records on listView's scroll.
    3. Show additional parameters (CPU/Memory used) to assist admin in decision making.
    4. Provide 'Search by host name' to limit the results.
    
    Conflicts:
    	client/WEB-INF/classes/resources/messages.properties
    	client/WEB-INF/classes/resources/messages_ja_JP.properties
    	client/WEB-INF/classes/resources/messages_zh_CN.properties
    	ui/css/cloudstack3.css
    	ui/dictionary2.jsp

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Accelerite/cloudstack CLOUDSTACK-9718

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/1889.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1889
    
----
commit dfb595bdfebc38ae1561584030e62c40cdbd46a5
Author: radhika grover <ra...@accelerite.com>
Date:   2016-05-06T12:57:41Z

    CLOUDSTACK-9718: Revamp the dropdown showing lists of hosts available for migration in a Zone
    
    Reviewed-By: Rashmi Dixit
    
    Problem: All the hosts suitable for VM Migration are not shown in the UI. This could
    confuse the user as the target host might never be shown in the UI.
    
    Root Cause: The API (findHostsForMigration) always returned page 1 results which would
    be always <= default.page.size global parameter. Therefore, in case of large
    no. of hosts where the result can map to multiple pages, this issue would arise.
    
    Solution: 1. Replace drop-down with listView widget.
    2. Allow lazy-loading of records on listView's scroll.
    3. Show additional parameters (CPU/Memory used) to assist admin in decision making.
    4. Provide 'Search by host name' to limit the results.
    
    Conflicts:
    	client/WEB-INF/classes/resources/messages.properties
    	client/WEB-INF/classes/resources/messages_ja_JP.properties
    	client/WEB-INF/classes/resources/messages_zh_CN.properties
    	ui/css/cloudstack3.css
    	ui/dictionary2.jsp

----


> Revamp the dropdown showing lists of hosts available for migration in a Zone
> ----------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9718
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9718
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: UI
>    Affects Versions: 4.7.0, 4.8.0, 4.9.0
>            Reporter: Rashmi Dixit
>            Assignee: Rashmi Dixit
>             Fix For: 4.10.0.0
>
>
> There are a couple of issues:
> 1. When looking for the possible hosts for migration, not all are displayed.
> 2. If there is a large number of hosts, then the drop down showing is not easy to use.
> To fix this, propose to change the view to a list view which will show the hosts in a list view with radio button. Additionally have a search option where the hostname can be searched in this list to make it more usable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)