[Toaster] Questions on Recipe Summary page

Reyna, David david.reyna at windriver.com
Tue Jan 21 18:48:35 PST 2014


Hi Belen,

I have some design questions on the Recipe Summary page, while I work out the layer re-referencing and column enablement.

1) Your pulldown for "Edit Columns" is in sorted order, but this is driven by "tablecols", which is presumably in "layout" order and _not_ in sorted order. Should "Edit Columns" be sorted on the fly by the template?

2) When (and/or how) would you sort the table by the fields "Version", "Depends", "Brought in by", or "Layer commit"? I would think that we would suppress sorting by these columns.

3) What styles should I use for the "Depends" dropdown lists? 

This is my placeholder code. I could not find a style in "default.css" that made the "Depends On" bold and the background tinted (and "bold" is evidently not a good guess for a style name). I found that I had to use "<span>" because otherwise the "href" would be greedy and take a whole line by itself.

<li class="bold" ><span> <a class="get-info" name="{{recipe.name}}" href="{% url "recipe" build.pk recipe.pk %}">{{recipe.name}}</a> Depends On</span></li>

4) Speaking of which, the design document indicates that the "Depends" and "Brought in by" should be displayed in sorted order, but that is not how they are iterated by "r_dependencies_depends". Should they also be sorted on the fly, or is there an alternate technique with the database?

Thanks,
David



More information about the toaster mailing list