Bug 7177

Summary: "Most built targets" feature not working as designed
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Dave Lerner <dave.lerner>
Status: VERIFIED FIXED QA Contact: Alexandru Roman <alexandru.costinx.roman>
Severity: normal    
Priority: Low CC: alexandru.costinx.roman, alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu, dave.lerner
Version: unspecified   
Target Milestone: 1.8 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: project configuration page
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Design - Most built targets none

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.