[ 
https://issues.apache.org/jira/browse/AMBARI-11287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jaimin D Jetly reopened AMBARI-11287:
-------------------------------------

Reopening the issue as proceeding to 3rd ("Name & Description") page and then 
return back to 2nd ("Metrics & Expression") page, Metric select shows infinite 
spinner.

> 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)

Reply via email to