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 6A92A1804C for ; Thu, 21 May 2015 01:14:00 +0000 (UTC) Received: (qmail 41301 invoked by uid 500); 21 May 2015 01:14:00 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 41268 invoked by uid 500); 21 May 2015 01:14:00 -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 40939 invoked by uid 99); 21 May 2015 01:14:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 May 2015 01:14:00 +0000 Date: Thu, 21 May 2015 01:14:00 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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: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)