Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 700341072B for ; Tue, 26 May 2015 22:22:52 +0000 (UTC) Received: (qmail 12677 invoked by uid 500); 26 May 2015 22:22:17 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 12637 invoked by uid 500); 26 May 2015 22:22:17 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 12456 invoked by uid 99); 26 May 2015 22:22:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 May 2015 22:22:17 +0000 Date: Tue, 26 May 2015 22:22:17 +0000 (UTC) From: "Jaimin D Jetly (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (AMBARI-11287) Create Widget -> Add metric popup: Select component dropdown should show spinner if data is not loaded MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)