Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 283F1E00C1D; Fri, 23 Sep 2016 04:42:50 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.93 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id BB6A0E00944 for ; Fri, 23 Sep 2016 04:42:48 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 23 Sep 2016 04:42:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,381,1470726000"; d="scan'208";a="1035150052" Received: from irsmsx107.ger.corp.intel.com ([163.33.3.99]) by orsmga001.jf.intel.com with ESMTP; 23 Sep 2016 04:42:47 -0700 Received: from irsmsx156.ger.corp.intel.com (10.108.20.68) by IRSMSX107.ger.corp.intel.com (163.33.3.99) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 23 Sep 2016 12:42:31 +0100 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.155]) by IRSMSX156.ger.corp.intel.com ([169.254.3.80]) with mapi id 14.03.0248.002; Fri, 23 Sep 2016 12:42:31 +0100 From: "Barros Pena, Belen" To: "Wood, Michael G" , "toaster@yoctoproject.org" Thread-Topic: [Toaster] [PATCH 00/10] delete builds,projects,recipes,layers Thread-Index: AQHSFPI9QOImBWfFq0+yQpBrYcrQdKCG9ToA Date: Fri, 23 Sep 2016 11:42:30 +0000 Message-ID: References: <1474563354-11878-1-git-send-email-michael.g.wood@intel.com> In-Reply-To: <1474563354-11878-1-git-send-email-michael.g.wood@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.6.7.160722 x-originating-ip: [10.252.21.236] MIME-Version: 1.0 Subject: Re: [PATCH 00/10] delete builds,projects,recipes,layers X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2016 11:42:50 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: <9CB2E594452E4D44BBD0CD0D4EBCB85C@intel.com> Content-Transfer-Encoding: quoted-printable Hi Michael, This all works. There are only a few small UI issues with the branch, which I've listed below. Thanks! Bel=E9n=09 On 22/09/2016 17:55, "toaster-bounces@yoctoproject.org on behalf of Michael Wood" wrote: >Work to implement deleting of builds projects recipes and layers. >Includes a number of clean ups in affected areas. * If a delete a build, I don't see the notification after the delete process completes * If I delete a custom image or a layer, the 'cancel' link still shows while the object is being deleted. All delete actions (for builds, projects, layers and custom images) should be modal, and we should remove the 'cancel' button from all delete dialogs once you click the 'delete' button. The idea being all deletions behave in exactly the same way. * If I have only one custom image and I delete it, for some reason the custom images page does not show the message we display for the empty state. It does show if I refresh the page though. The same happens when I delete the only project in toaster, which by the way is a case I forgot to design for :/ * When I delete a layer, I am still landing on the project configuration page. The idea would be to land on the 'all layers' page, so that once more all delete behaviours are equal, and deleting something always lands you in the parent node of the application structure (delete layer in all layers, delete custom image in all custom images, delete project in all projects, delete build in project builds). > >Obsoletes:=20 > -[PATCH 0/4] clean ups, buildinfohelper fix and delete project patches > -[PATCH v2 0/5] Couple of clean ups, fix for local layers in >buildinfohelper and api and implementation of delete a project. > >Branch available at poky-contrib michaelw/toaster/delete_buttons > >Michael Wood (10): > toaster: Clean up and convert to rest api project edit and get calls > toaster: move MostRecentBuildsView to its own widget > toaster: libtoaster Add a global notification set/show mechanism > toaster: project page Implement front end feature to delete project > toaster: alerts and modals Avoid modals and alerts overlaying each > other > toaster: Add backend API for deleting a build > toaster: Add front end controls for deleting a build > toaster: importlayer Convert success import to new notification system > toaster: customrecipe Add frontend feature to delete custom image > recipe > toaster: layerdetails Update implementation of delete imported layer > > bitbake/lib/toaster/toastergui/api.py | 312 >+++++++++++++-------- > .../toaster/toastergui/static/js/customrecipe.js | 32 +++ > .../toaster/toastergui/static/js/importlayer.js | 59 +++- > .../toaster/toastergui/static/js/layerDepsModal.js | 12 +- > .../toaster/toastergui/static/js/layerdetails.js | 7 +- > .../lib/toaster/toastergui/static/js/libtoaster.js | 42 ++- > .../toaster/toastergui/static/js/projectpage.js | 237 +++------------- > .../toaster/toastergui/static/js/projecttopbar.js | 6 +- > .../lib/toaster/toastergui/static/js/tests/test.js | 7 +- > bitbake/lib/toaster/toastergui/templates/base.html | 1 + > .../toastergui/templates/basebuildpage.html | 138 ++++++--- > .../toastergui/templates/baseprojectpage.html | 6 + > .../toastergui/templates/builddashboard.html | 2 +- > .../toaster/toastergui/templates/customrecipe.html | 35 ++- > .../toaster/toastergui/templates/layerdetails.html | 9 +- > .../lib/toaster/toastergui/templates/project.html | 35 ++- > .../toastergui/templates/projecttopbar.html | 2 +- > bitbake/lib/toaster/toastergui/urls.py | 11 +- > bitbake/lib/toaster/toastergui/views.py | 131 +-------- > bitbake/lib/toaster/toastergui/widgets.py | 141 ++++++++-- > 20 files changed, 679 insertions(+), 546 deletions(-) > >--=20 >2.7.4 > >--=20 >_______________________________________________ >toaster mailing list >toaster@yoctoproject.org >https://lists.yoctoproject.org/listinfo/toaster