Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EBDBB2009C6 for ; Tue, 31 May 2016 13:28:37 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EA988160A44; Tue, 31 May 2016 11:28:37 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3E1361602C5 for ; Tue, 31 May 2016 13:28:37 +0200 (CEST) Received: (qmail 33406 invoked by uid 500); 31 May 2016 11:28:36 -0000 Mailing-List: contact commits-help@zeppelin.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zeppelin.apache.org Delivered-To: mailing list commits@zeppelin.apache.org Received: (qmail 33397 invoked by uid 99); 31 May 2016 11:28:36 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 May 2016 11:28:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E5867C291E for ; Tue, 31 May 2016 11:28:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.646 X-Spam-Level: X-Spam-Status: No, score=-4.646 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id NqdZUMLRUJkf for ; Tue, 31 May 2016 11:28:34 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id B43E25FBA5 for ; Tue, 31 May 2016 11:28:33 +0000 (UTC) Received: (qmail 33390 invoked by uid 99); 31 May 2016 11:28:33 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 May 2016 11:28:33 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 13041DFB74; Tue, 31 May 2016 11:28:33 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bzz@apache.org To: commits@zeppelin.incubator.apache.org Message-Id: <4fe3a485de514da598648992d4a55ca5@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-zeppelin git commit: Hotfix - initial notebook name does not increase. Date: Tue, 31 May 2016 11:28:33 +0000 (UTC) archived-at: Tue, 31 May 2016 11:28:38 -0000 Repository: incubator-zeppelin Updated Branches: refs/heads/master 734c0ebb9 -> 29723676b Hotfix - initial notebook name does not increase. ### What is this PR for? To increase initial notebook name. ### What type of PR is it? Bug Fix ### How should this be tested? execute create new note. ### Screenshots (if appropriate) - before ![image](https://cloud.githubusercontent.com/assets/3348133/15640275/60d1b67e-2671-11e6-9a46-645f28b1a09a.png) - after ![image](https://cloud.githubusercontent.com/assets/3348133/15640270/47039e92-2671-11e6-9000-75bfaa5fa21a.png) ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: astroshim Closes #929 from astroshim/hotfix/notename and squashes the following commits: eb0defd [astroshim] list name has changed. Project: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/commit/29723676 Tree: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/tree/29723676 Diff: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/diff/29723676 Branch: refs/heads/master Commit: 29723676b18170c3c4ecd5ca9c66c74f91163ef9 Parents: 734c0eb Author: astroshim Authored: Mon May 30 14:13:57 2016 +0900 Committer: Alexander Bezzubov Committed: Tue May 31 20:28:22 2016 +0900 ---------------------------------------------------------------------- zeppelin-web/src/components/noteName-create/notename.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/29723676/zeppelin-web/src/components/noteName-create/notename.controller.js ---------------------------------------------------------------------- diff --git a/zeppelin-web/src/components/noteName-create/notename.controller.js b/zeppelin-web/src/components/noteName-create/notename.controller.js index 5c93053..6965134 100644 --- a/zeppelin-web/src/components/noteName-create/notename.controller.js +++ b/zeppelin-web/src/components/noteName-create/notename.controller.js @@ -44,7 +44,7 @@ angular.module('zeppelinWebApp').controller('NotenameCtrl', function($scope, not vm.newNoteName = function () { var newCount = 1; - angular.forEach(vm.notes.list, function (noteName) { + angular.forEach(vm.notes.flatList, function (noteName) { noteName = noteName.name; if (noteName.match(/^Untitled Note [0-9]*$/)) { var lastCount = noteName.substr(14) * 1;