Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 3E7ABE007C9 for ; Wed, 19 Feb 2014 06:25:32 -0800 (PST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 19 Feb 2014 06:25:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,505,1389772800"; d="scan'208";a="484065454" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by fmsmga002.fm.intel.com with ESMTP; 19 Feb 2014 06:25:18 -0800 Received: from irsmsx105.ger.corp.intel.com (163.33.3.28) by IRSMSX102.ger.corp.intel.com (163.33.3.155) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 19 Feb 2014 14:24:07 +0000 Received: from irsmsx106.ger.corp.intel.com ([169.254.8.96]) by IRSMSX105.ger.corp.intel.com ([169.254.7.202]) with mapi id 14.03.0123.003; Wed, 19 Feb 2014 14:24:08 +0000 From: "Barros Pena, Belen" To: "Reyna, David L (Wind River)" , "Damian, Alexandru" Thread-Topic: Fixing the design problems in the configuration page Thread-Index: AQHPLN3IDvUWBZBx8UKRl20DU/4HJ5q78GpAgACyWAA= Date: Wed, 19 Feb 2014 14:24:07 +0000 Message-ID: References: <5E53D14CE4667A45B9A06760DE5D13D055DCA824@ALA-MBB.corp.ad.wrs.com> In-Reply-To: <5E53D14CE4667A45B9A06760DE5D13D055DCA824@ALA-MBB.corp.ad.wrs.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.9.131030 x-originating-ip: [10.237.224.35] MIME-Version: 1.0 Cc: Paul Eggleton , "toaster@yoctoproject.org" Subject: Re: Fixing the design problems in the configuration page 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: Wed, 19 Feb 2014 14:25:35 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: <880DD99782B2A44E9AA31652A13D67D5@intel.com> Content-Transfer-Encoding: quoted-printable Hi David, Thanks for this: it is incredibly useful. It seems like we are pretty much in agreement. Some comments below: On 19/02/2014 04:24, "Reyna, David" wrote: >Hi Bel=E9n, > >I have been giving your document considerable thought. Here is my >response. > >1) "Showing history for all variables" > >Yes, this is an excellent idea! It makes for a clean interface, plus it >follows the established design workflow where the first column (at least) >is always an href to something pertinent and interesting. > > >2) "Searching and filtering" (Hidden file problem) > >Yes! This makes sense, in that the context of the filter and/or search >reveals what is interesting and pertinent to the user. > > >3) "Dealing with long values" > >I would make this counter proposal. > > (a) If the value is less than 150 characters, use the small text box to >show it. > (b) If the value is greater than 150 characters, use the larger text >box and the "|truncatechars:573" filter, and that is all. > >I am strongly arguing against the "expand" button for the following >reasons: > > (a) The point of the dialog is the file list, not the value, so >extra-long values are an unnecessary distraction. > (b) If the user really wants to see and/or copy the full value, it is >always available in the normal view. I am not sure I follow. It sounds simpler than my proposal, which is good, but can we discuss this today? It is probably much easier with the interface in front of us! >If I have convinced you yet, then here is what should be the killer >argument. > > (c) On smaller screens (in my case I use VNC), the dialog _fails_ when >the value part gets too big. This is because modal dialogs are special in >that they cannot be moved nor can they be scrolled, so it becomes >impossible to get to the file list (which is the whole point of the >dialog). Ah, we hit the responsive wall! :) The dialogs seem to cope ok in desktop browsers. If rendering in small screens (from 10 inches down) is something that is important to the project, then: 1. We should not use modal dialogs at all (neither for filters nor for the variable history) and use alternative interface elements instead. As you said, rendering of those dialogs is pretty bad on mobile browsers. This might involve some javascript messing around. Or 2. We use media queries to provide an alternative presentation for both filters and variable history in small screens. I must confess I have not been keeping small screens in mind in the design, apart from using the responsive layout that comes out of the box with Twitter Bootstrap and setting the viewport meta tag the right way. From a responsive standpoint, the current design has some big issues (from the tables to what happens to the left navigation when the content is linearised by the responsive layout to the modal dialogs you are pointing out). I am not saying the argument is not valid: to the contrary, I think this is very important, but somehow this was not a priority when it came to design work.=20 > >4) "What if a variable value is an empty string?" > >Yes! > > >5) "What do we do with the 613 B_* variables?" > >I understand what you are doing, but I am uncomfortable changing the >installation for the needs of the GUI. Plus, issues like this will come >up more and more as we develop and extend the interface, so I think a >general solution would be better. > >Let me make this counter proposal: > > * We should add an optional block in the table header as "{% block >preferences %}{% endblock %}". > > * When instantiated by a template, it would be a button titled >"Preferences" (or something), and be placed to the left of the "Edit >Columns" button. > > * For this page, we can then instantiate the button and dialog box to >pop up the following check-box: > > [ ] Show the bitbake "b_p*" core values > > * This checkbox would be defaulted to false, in other words it would >hide these values. > > * The view would then add this additional filter step when the >check-box value is true (probably as a queryset 'exclude'). > >This general solution to customize pages allows the user to easily >discover (in this case that) that there is hidden content, plus how to >reveal it if desired. You make a compelling argument here :) I struggle with the idea of an additional element in the interface just to set one parameter (exclude the B_p variables) in only one page (the BitBake variables table). Having said that, if everybody also agrees this is a better solution, I will happily go with it. =20 > >6) "Linking variables to the Yocto Project reference manual" > >Can you tell me: is it possible for commercial or customer layers to add >their definitions to the variables, in other words provide their own >"documentation.conf" files? I would think that professional layers would >always try to add such definitions. > >So, if there is an easy way to distinguish if the values are specifically >formal and pure Yocto values, then I think that the link is fine, else I >am worried that a simple filter on "documentation.conf" would fail >outside of the pure Yocto confines (e.g. in the real world). Excellent point, and something that Paul Eggleton also brought to my attention recently. Can we say yes, but not for 1.6? With this I mean we create the basic link to the YP manual for the moment, and we take some time to think about how we provide a customisation mechanism for the help information.=20 > > >Hope this is useful! Incredibly useful: thanks for taking the time to do this! >David > > >> -----Original Message----- >> From: Barros Pena, Belen [mailto:belen.barros.pena@intel.com] >> Sent: Tuesday, February 18, 2014 11:15 AM >> To: Reyna, David; Damian, Alexandru >> Cc: toaster@yoctoproject.org; Paul Eggleton >> Subject: Fixing the design problems in the configuration page >>=20 >> If you remember, in a previous thread I listed a whole bunch of problems >> with the design of the configuration page. I am sorry: I did not think >> this through. >>=20 >> I have identified possible solutions to all the issues. They are >>explained >> in this document: >>=20 >> https://bugzilla.yoctoproject.org/attachment.cgi?id=3D1779 >>=20 >> Would you mind having a look and tell me what you think? >>=20 >> Thanks! >>=20 >> Bel=E9n >>=20 >