Bug 2195 - [Hob2] 'Recipes' and 'Packages' tables design
Summary: [Hob2] 'Recipes' and 'Packages' tables design
Status: VERIFIED FIXED
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: 1.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3 M5
Assignee: Cristian Iorga
QA Contact:
URL:
Whiteboard: 4a3b0d7287ba7ce223021d33895bf5c953f1e4dc
Depends on:
Blocks: 2346
  Show dependency tree
 
Reported: 2012-03-29 14:58 UTC by Giulia
Modified: 2012-10-25 11:56 UTC (History)
11 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
example of table design when rows are grouped in clusters (105.41 KB, image/png)
2012-03-29 14:58 UTC, Giulia
no flags Details
example of tables with no groups (191.84 KB, image/jpeg)
2012-03-29 14:59 UTC, Giulia
no flags Details
add the 40px padding in 'name' column (549.71 KB, image/png)
2012-05-10 04:17 UTC, anliming
no flags Details
Recipes and packages tables (744.86 KB, application/pdf)
2012-08-29 10:56 UTC, Belen Barros Pena
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Giulia 2012-03-29 14:58:23 UTC
Created attachment 415 [details]
example of table design when rows are grouped in clusters

Tables should be implemented as for visual design specification (see attachment).
When tables include 'groups' like in 'Recipe by packages', please make sure all groups are collapsed when users open the tab for the first time. Groups will expand and collapse when users click on the row. It won't be possible to select a group of packages but users will be required to select packages one by one.

Table headings and content display rules:

- Column titles and their content should always be aligned to the left of the column (with 40 px padding)
- When a row is selected the text should become bold (if what is selected belongs to a group, also the group row becomes bold to indicate something has been selected inside the group).
- Column size depends on the maximum size of a content. For example the 'included' column should be small as it will only display checkboxes. Make it as big as the title but with 40px padding both on the left and right. The same is valid for the 'size' column. The 'Included' and 'Size' columns should always be aligned on the right of the table as in the design.
- The 'Name' column should always be the wider one as names can be long. As for 'Brought in by', the size will depend on whether we are only displaying only one recipe/package or more (relates to bug 2182, comment 6)
Comment 1 Giulia 2012-03-29 14:59:30 UTC
Created attachment 416 [details]
example of tables with no groups
Comment 2 Belen Barros Pena 2012-03-30 09:17:21 UTC
Just a quick note on the attached images: the package size always displays (we display the size for both included and not included packages). If the size of a package is '0' we display '0 KB'.

In the case of packages grouped by recipe, the size displayed for the recipe is the sum of the sizes of the included packages within that recipe. If no packages from a recipe are included in the image, then no size is displayed.

I hope this makes sense.

Belen
Comment 3 anliming 2012-05-10 04:17:37 UTC
Created attachment 505 [details]
add the 40px padding in 'name' column
Comment 4 anliming 2012-05-10 04:24:03 UTC
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=71b277acb12353eac21fddc2531c8bac886b058b
something is not followed your design, such as the padding,
because I have no idea to make the showed page more pretty, so not change it, please to refer to that snapshort which be attached.
Comment 5 Belen Barros Pena 2012-05-14 13:42:58 UTC
Hi Liming,

The idea is that the tables in the Recipes and Packages screens should follow the design shown in pages 14 to 18 of this document:

https://wiki.yoctoproject.org/wiki/images/1/1d/Hob_1.2_screens_inventory.pdf

To get to that, I'll probably need to break down this bug into several, more specific bugs. For the moment, I'll use this one as a way to keep track of the need to fix those tables. 

Belen

(In reply to comment #4)
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/
> ?id=71b277acb12353eac21fddc2531c8bac886b058b
> something is not followed your design, such as the padding,
> because I have no idea to make the showed page more pretty, so not change
> it, please to refer to that snapshort which be attached.
Comment 7 Laurentiu Serban 2012-08-18 15:08:42 UTC
Hello,
I am reopening this as the design does not follow the document https://wiki.yoctoproject.org/wiki/images/1/1d/Hob_1.2_screens_inventory.pdf
All the other requirements in the description seem ok.


If the current design is the correct one I ask Belen to confirm, so I can set the bug to verified.

Thank you.
Comment 8 anliming 2012-08-21 01:13:30 UTC
Belen had explained the design in the mail 'Hob and image groups: feedback wanted'(yocto community), I no other advice.
Comment 9 Belen Barros Pena 2012-08-21 14:18:20 UTC
Just a quick note: that email is not about this bug: it's about 2345.

Cheers

Belen

(In reply to comment #8)
> Belen had explained the design in the mail 'Hob and image groups: feedback
> wanted'(yocto community), I no other advice.
Comment 10 Belen Barros Pena 2012-08-29 10:56:02 UTC
Created attachment 747 [details]
Recipes and packages tables

Suggested changes to the recipes and packages tables. Let me know what you think.

Belen
Comment 11 anliming 2012-09-04 12:07:53 UTC
Hi Belen,I had changed the ui as your design, but the packages tree is organized by group list, so it difficult to modify the group item, because the tree mode will be as the basic source for other function, such as depends and others. Thanks!
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=limx/hob-bug-fixes-another
Comment 12 anliming 2012-09-11 10:11:57 UTC
Hi Belen, it's merged to poky, please to review.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=95ae927dfc8cbb0b1b8a60edb5af7c448cbc9a9e
Thanks!
Comment 13 Belen Barros Pena 2012-09-13 14:57:25 UTC
Hi Liming,

Thanks for the good work. Just a couple of things:

1. The 'Brought in by' column is not working as designed. The number displayed between the parenthesis should be equal to the total number - 1 (i.e. minus the one that we show on the table column). For example, in the packages table, update-rc.d should be brought by udev (+4), which are:
 
modutils-initscripts
busybox
netbase and 
keymaps

So 5 in total minus udev (which we are already showing on the table) it would give us udev (+4), not udev(+5) as it is shown now.

2. I understand this might be hard to implement, but the existing packages table is just not good enough. It is really difficult to read: we have to find a way of showing a straightforward list of packages, without the groupings getting on the way.

Everything else looking good :)

Thanks!

Belen
Comment 14 Jessica 2012-09-14 16:22:30 UTC
Hi Belen,

For the 2nd issue,can we resolve it with 2346 since we're really limited on resources to have it fixed by 1.3 timeframe?

Liming,

For the 1st issue, can you have a quick fix per Belen's feedback?

Thanks,
Jessica
Comment 15 Belen Barros Pena 2012-09-18 08:52:17 UTC
Sure. I'll add a note to 2346 about it.

Belen

(In reply to comment #14)
> Hi Belen,
> 
> For the 2nd issue,can we resolve it with 2346 since we're really limited on
> resources to have it fixed by 1.3 timeframe?
> 
> Liming,
> 
> For the 1st issue, can you have a quick fix per Belen's feedback?
> 
> Thanks,
> Jessica
Comment 16 anliming 2012-09-18 10:51:28 UTC
Yes I had read the 2346,and changed it as the design. Thanks!
Comment 17 Jessica 2012-10-11 22:02:03 UTC
Hi Belen,

Per Liming's last note, can you verify it' inline with your design or it's still off? 

Thanks,
Jessica
Comment 18 Belen Barros Pena 2012-10-12 09:11:03 UTC
Hi Jessica,

Issue number 1 in comment 13 is still not fixed.

Cheers

Belen

(In reply to comment #17)
> Hi Belen,
> 
> Per Liming's last note, can you verify it' inline with your design or it's
> still off? 
> 
> Thanks,
> Jessica
Comment 19 Jessica 2012-10-12 15:31:39 UTC
Please fix the remaining item issue per Belen's comments in the hob sprint.  thx! - JZ
Comment 20 Cristian Iorga 2012-10-15 11:03:46 UTC
Part of HOB improvement sprint for 1.4
Comment 21 Cristian Iorga 2012-10-15 13:38:36 UTC
In development.
Comment 22 Cristian Iorga 2012-10-16 08:54:25 UTC
Patch submitted for review.
Comment 23 Cristian Iorga 2012-10-25 08:24:56 UTC
Fixed with commit 4a3b0d7287ba7ce223021d33895bf5c953f1e4dc.
Comment 24 Belen Barros Pena 2012-10-25 11:56:21 UTC
verified 33440ee70623394d06a4b214c2be10788cba6d08