Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id CD58FE00BE4; Fri, 19 Dec 2014 05:08:59 -0800 (PST) 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 CE3D5E00BC3 for ; Fri, 19 Dec 2014 05:08:56 -0800 (PST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 19 Dec 2014 05:08:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="431185098" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by FMSMGA003.fm.intel.com with ESMTP; 19 Dec 2014 04:57:23 -0800 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.55]) by IRSMSX152.ger.corp.intel.com ([169.254.6.56]) with mapi id 14.03.0195.001; Fri, 19 Dec 2014 13:08:38 +0000 From: "Barros Pena, Belen" To: "Wood, Michael G" Thread-Topic: [Toaster] [review-request] michaelw/toaster/layer-details Thread-Index: AQHQGvDwDj/2Z0heBkuQOLCIKDvVIpyXQDAA Date: Fri, 19 Dec 2014 13:08:36 +0000 Message-ID: References: <54931C27.3050408@intel.com> In-Reply-To: <54931C27.3050408@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.6.141106 x-originating-ip: [10.252.66.218] MIME-Version: 1.0 Cc: "toaster@yoctoproject.org" Subject: Re: [review-request] michaelw/toaster/layer-details 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, 19 Dec 2014 13:08:59 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-ID: <6EEFD1EE4FC40047A4106E330678B5EF@intel.com> Content-Transfer-Encoding: quoted-printable On 18/12/2014 23:55, "Michael Wood" wrote: >Review request for poky-contrib michaelw/toaster/layer-details Hi Michael, Thanks for this. Some comments about the interface: * The breadcrumb is missing the 'all layers' item and the name of the current layer. It says: all builds > project_name > Layer Details But is should say: all builds > project_name > All layers > layer_name (revision) * The layout is a bit messed up: the heading is not aligned properly. The structure should be:
* When the page heading shows the first 10 characters of the commit SHA, we are missing the tooltip on hover that shows you the complete SHA (see page 9 of the design document) NOT EDITABLE VERSION * Commit SHA is showing instead of the branch name. For example, if you select a layer that has a branch name in the 'branch, tag or commit' column in the all layers page, you will see that the layer details page is showing a commit in the page heading, instead of the branch name. * In the right hand column, the line height inside the
items is not quite right. It seems to be 25px instead of 20px, although I can see that it is set to 20px in default.css. If I change the span tag to a p tag, the line height is the correct one. * In the layer details tab, the Yocto Project compatibility list item can go.=20 * In the layer details tab, the "Last commit" information is missing * There is something funky going on with the information in the layer details tab. It might be related to empty information. If you select the meta-fsl-arm-extra layer, for example, that layer doesn't seem to have a subdirectory, so all other items of information shift up, so you see a commit next to the 'repository subdirectory' label, and the layer dependencies split between the Yocto Project compatibility and the Dependencies items. If a bit of information is empty, we remove the whole list item (both dt and dd tags), so if a layer does not have a subdirectory, we don't who the
Subdirectory
element either. * The 'Git repository URL' and the 'Subdirectory' values are missing the external links (see page 15 of the design document) * In the 'Targets' tab, when the layer is not added to the project and the number of targets is > 0, the big button above the table should say: "Add the layer to your project to enable these targets", and all the 'Build target' buttons in the table should be inactive * The targets table should be sorted by target name in ascending alphabetical order * In the targets table, the external link to the layer index next to the target name is missing (see page 21 of the design document) * In tables with more than 10 rows, the search is missing (see pages 25 to 27 of the design document) * In the targets tables with more than 10 rows, the number of entries displayed at the bottom of the table can go, the pagination should be left-aligned with the table and horizontally aligned to the show rows control. You can see what I mean at http://www.yoctoproject.org/toaster/layer-details-with-search.html * In the not editable version of the page, when the targets table is empty, the notification says: "The layer does not provide any targets". It is likely that the information coming from the layer source is correct, and there will never be any targets there. * In the 'Machines' tab, when the layer is not added to the project and the number of machines is > 0, the big button above the table should say: "Add the layer to your project to enable these machines", and all the 'Select machine' buttons in the table should be inactive * The help bubble next to the "Select machine" table heading can go * The machines table should be sorted by machine name in ascending alphabetical order * The machines table is missing the external link to the machine file (see page 23 of the design document) * In the machine tables with more than 10 items, we are missing the search, show rows and pagination controls * In the not editable version of the page, when the machines table is empty, the notification says: "The layer does not provide any machines". It is likely that the information coming from the layer source is correct, and there will never be any targets there. * When I add / delete a layer to the project from this page, the tooltip and the notification are missing (see pages 28 to 30 of the design document) * When I click the 'Select machine' buttons, nothing happens * Sometimes, the add layer button does nothing, other times it works. I am not sure, but it seems to work when the layer you are trying to add has unsatisfied dependencies, but not when the layer doesn't have any unsatisfied dependencies. EDITABLE VERSION * When a field is empty, it should say "not set" instead of "none" and should have the .muted class applied * In the editable state, the button labels should be 'save' and 'cancel', instead of 'change' and 'cancel'. I know this sounds crazy, but there is a reason why I set this to 'save'. I don't quite remember right now, but probably so that it makes sense in all contexts. * If a value is empty, when you click on the 'change' icon, the value of the input field is set to 'none'. In this case, the input field should be empty * When you are editing something, while the input field is empty, the 'save' button should be disabled. This is important because it is the way we make sure you don't set mandatory values, like the 'Git repo URL' to blank (something you can do right now). * Non-mandatory items like Summary and Description should have a 'delete' icon whenever they have a value (see page 13 of the design document). * In the right-hand column, the edit forms should have 20px of bottom margin, to separate them a bit from the rest of the definition list. You can see it at http://yoctoproject.org/toaster/layer-details-imported.html * the default.css file has 2 dd form declarations, one after the other. We should not have the 2 of them * In the layer details tab, we need to add 10px of top margin to the
element when you click the 'edit' button to make sure it correctly aligns horizontally with the form. You can check it out here http://yoctoproject.org/toaster/layer-details-imported.html > >commit 7f6b4a2f2d9b1e83593335be09801f7b2efa812a >Author: Michael Wood >Date: Thu Dec 11 18:32:54 2014 +0000 > > bitbake: toaster: Add layer details page feature > > This commit adds the layer details page which shows the metadata >for the > layer such as layer description, machines associated with the layer >as well > as the targets provided. > If the layer is an imported layer this page also allows you to update > the layer's configuration. > From this page you can add/remove the layer from the current project > > Signed-off-by: Michael Wood > > >Thanks, > >Michael >--=20 >_______________________________________________ >toaster mailing list >toaster@yoctoproject.org >https://lists.yoctoproject.org/listinfo/toaster