You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/05/21 03:14:00 UTC

[jira] [Commented] (AMBARI-11287) Create Widget -> Add metric popup: Select component dropdown should show spinner if data is not loaded

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

Hudson commented on AMBARI-11287:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #2663 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2663/])
AMBARI-11287. Create Widget -> Add metric popup: Select component dropdown should show spinner if data is not loaded. (jaimin) (jaimin: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e733b72ddad169987f88c465161738949e24ac26)
* ambari-web/app/controllers/main/service/widgets/edit_controller.js
* ambari-web/app/controllers/main/service/widgets/create/wizard_controller.js
* ambari-web/app/templates/main/service/widgets/create/step2_add_metric.hbs


> Create Widget -> Add metric popup: Select component dropdown should show spinner if data is not loaded
> ------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-11287
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11287
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.1.0
>            Reporter: Jaimin D Jetly
>            Assignee: Jaimin D Jetly
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-11287.patch
>
>
>  we are using async call to load all metrics while landing on "Metrics & Expression" page ([code link | https://github.com/apache/ambari/blob/trunk/ambari-web/app/controllers/main/service/widgets/create/wizard_controller.js#L122]). Thus "Get all metrics" API call does not delay loading of the page itself. But on a slow network if a user lands on the page and subsequently clicks on "Add metrics" button, then nothing appears until the "Get all metrics" API call is completed.



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