Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 46F4BE0095D; Tue, 19 May 2015 09:26:22 -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 0BADFE0027F for ; Tue, 19 May 2015 09:26:17 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 19 May 2015 09:26:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,458,1427785200"; d="scan'208";a="495608485" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by FMSMGA003.fm.intel.com with ESMTP; 19 May 2015 09:26:15 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.124]) by IRSMSX104.ger.corp.intel.com ([169.254.3.49]) with mapi id 14.03.0224.002; Tue, 19 May 2015 17:25:57 +0100 From: "Barros Pena, Belen" To: "Wood, Michael G" , "toaster@yoctoproject.org" Thread-Topic: [Toaster] [review-request] michaelw/porting-layerdetails-tables Thread-Index: AQHQkaGhtw95fZmNZUOsgNJ9XVOtW52DLGUAgAABgYCAABNdgIAAGFcAgAAkFwA= Date: Tue, 19 May 2015 16:25:56 +0000 Message-ID: References: <555A3E94.8040603@intel.com> <555B2F33.5000400@intel.com> <555B53DC.9030902@intel.com> In-Reply-To: <555B53DC.9030902@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.5.0.150423 x-originating-ip: [10.237.224.81] MIME-Version: 1.0 Subject: Re: [review-request] michaelw/porting-layerdetails-tables 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: Tue, 19 May 2015 16:26:22 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: <4D9889745A3048499CDD90D75EBA7FFF@intel.com> Content-Transfer-Encoding: quoted-printable On 19/05/2015 16:16, "Michael Wood" wrote: >v2 pushed This looks good to me. Thanks! Bel=E9n > >Note I've fixed a caching issue I spotted > >Full list of commits for review: > >commit 096423c4375b6d628b4eb408bbdab6411bd16715 >Author: Michael Wood >Date: Tue May 19 16:10:19 2015 +0100 > > bitbake: toaster: Add an invalidate cache method on data update >signal > > Instead of relying on the cache expiring over an amount of time we >can > listen to the changed notification on the models to invalidate the > cache. Also fixes overlapping cache names. > > Signed-off-by: Michael Wood > >commit 17d07ac77e411de5c8dd4e6b216330d766bde34a >Author: Michael Wood >Date: Mon May 18 20:08:28 2015 +0100 > > bitbake: toaster: Port layerdetails to ToasterTables > > This ports the layerdetails page to using ToasterTables > Also some whitespace and strict clean ups in the existing >layerdetails > js and html template. > > Signed-off-by: Michael Wood > >commit 34a6159e14da621e356ccd6ec56059ef6a685583 >Author: Michael Wood >Date: Mon May 18 20:01:44 2015 +0100 > > bitbake: toaster: Add a simplified ToasterTable template > > This is like the normal ToasterTable template but with a number of > features removed such as edit columns and has a lower profile >compared > to the "main" tables. > > Signed-off-by: Michael Wood > >commit 48931980173e4f69ec24c246b6b8b6a9ee9b0ed8 >Author: Michael Wood >Date: Mon May 18 13:44:53 2015 +0100 > > bitbake: toaster: Fix toastertable header > > Fixes regression introduced by 'tables updates for HTML5 compliance' > > Signed-off-by: Michael Wood > > > > > >On 19/05/15 13:49, Barros Pena, Belen wrote: >> >> On 19/05/2015 13:40, "Michael Wood" wrote: >> >>> On 19/05/15 12:34, Barros Pena, Belen wrote: >>>> Looking pretty good. Only one comment: these tables should only show >>>> search and show rows menu if they have more than 10 entries. >>> Is that feature wanted for both kinds of the table? >> No, only the ones in the 'details' pages (recipe details, package >>details, >> layer details kind of thing). So this is not needed in the higher level >> tables (all layers, all packages, all recipes, all tasks, all compatible >> layers, all compatible recipes, all compatible machines and so on). >> Although the higher level tables pretty much always have more than 10 >> entries, so I guess if you implement the logic in both the practical >> implications are negligible. If that's easier, go for it. >> >>> And that's if a search or filter is not currently applied right? >> Yes, indeed. >> >>> >>>> Thanks! >>>> >>>> Bel=E9n >>>> >>>> On 18/05/2015 20:33, "Michael Wood" wrote: >>>> >>>>> Squeezed in a few clean ups into this as well. >>>>> >>>>> commit 347aa8fd766f5fa0bd720ba9528dc006a59f7a47 >>>>> Author: Michael Wood >>>>> Date: Mon May 18 20:08:28 2015 +0100 >>>>> >>>>> bitbake: toaster: Port layerdetails to ToasterTables >>>>> >>>>> This ports the layerdetails page to using ToasterTables >>>>> Also some whitespace and strict clean ups in the existing >>>>> layerdetails >>>>> js and html template. >>>>> >>>>> Signed-off-by: Michael Wood >>>>> >>>>> commit ebf6b73f4dcb1eeb6a77a3a921dd6dc2693f64f1 >>>>> Author: Michael Wood >>>>> Date: Mon May 18 20:01:44 2015 +0100 >>>>> >>>>> bitbake: toaster: Add a simplified ToasterTable template >>>>> >>>>> This is like the normal ToasterTable template but with a >>>>>number of >>>>> features removed such as edit columns and has a lower profile >>>>> compared >>>>> to the "main" tables. >>>>> >>>>> Signed-off-by: Michael Wood >>>>> >>>>> >>>>> >>>>> --=20 >>>>> _______________________________________________ >>>>> toaster mailing list >>>>> toaster@yoctoproject.org >>>>> https://lists.yoctoproject.org/listinfo/toaster >