Bug 7177 - "Most built targets" feature not working as designed
Summary: "Most built targets" feature not working as designed
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Low normal
Target Milestone: 1.8 M4
Assignee: Dave Lerner
QA Contact: Alexandru Roman
URL:
Whiteboard: project configuration page
Depends on:
Blocks:
 
Reported: 2015-01-16 18:13 UTC by Belen Barros Pena
Modified: 2015-11-26 15:13 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Design - Most built targets (798.28 KB, application/pdf)
2015-01-16 18:13 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 Belen Barros Pena 2015-01-16 18:13:53 UTC
Created attachment 2330 [details]
Design - Most built targets

The "Most built targets" in the project page should:

* Show the 5 most built targets (right now we show more than 5)
* Sorted by the number of times they have been built (can't work out what's the sorting criteria right now)

All details about this feature are explained in the attached design document.
Comment 1 Belen Barros Pena 2015-03-12 18:03:55 UTC
We have a couple of issues with the 'Most built targets' at the moment. 

1. It shows all the targets you have built in a project, but should be showing only 5

2. When there are no layers in the project, the target checkboxes are still active. If I delete all my layers in the project, any targets on that list have to become disabled, and so should the 'Built selected targets' button. See the bottom image in the attached design document. 

If the sorting of the most built targets by the number of times they have been built is too hard to do right now, we could do the following instead: display the latest 5 targets built (most recent on top). If we do this, we need to change the heading from "Most built targets" to "Latest targets".

Let me know if you have any questions.
Comment 2 Belen Barros Pena 2015-03-25 10:38:14 UTC
This should be 'in progress review'. The patch is still not merged upstream.
Comment 3 Alexandru Roman 2015-11-26 15:13:17 UTC
Verified.