Bug 4256

Summary: builds: Search the content of the builds table
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED FIXED QA Contact: Yuan Sun <Yuan.Sun2>
Severity: enhancement    
Priority: Medium CC: alexandru.damian, david.reyna, jessica.zhang, Yuan.Sun2
Version: unspecified   
Target Milestone: 1.6 M4   
Hardware: All   
OS: Multiple   
Whiteboard: GUI design available
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 4697    
Attachments:
Description Flags
Searching the "All builds" table
none
Searching the "All builds" table
none
Searching the "All builds" table
none
Searching the "All builds" table
none
Searching the "All builds" table
none
Searching the "All builds" table none

Description Belen Barros Pena 2013-04-11 13:51:49 UTC
I should be able to search the full content of the builds table by typing a free text search query. The table should respond to the search query by updating its content as the query is typed. 

The specifics of the search behaviour are TBC.
Comment 1 Belen Barros Pena 2013-07-25 16:25:51 UTC
Created attachment 1358 [details]
Searching the "All builds" table
Comment 2 Belen Barros Pena 2013-07-26 11:17:02 UTC
Created attachment 1371 [details]
Searching the "All builds" table
Comment 3 Belen Barros Pena 2013-07-26 11:32:29 UTC
Created attachment 1373 [details]
Searching the "All builds" table
Comment 4 Belen Barros Pena 2013-07-29 15:06:17 UTC
Created attachment 1385 [details]
Searching the "All builds" table
Comment 5 Belen Barros Pena 2013-07-29 15:28:44 UTC
Created attachment 1386 [details]
Searching the "All builds" table
Comment 6 Belen Barros Pena 2014-01-15 13:49:24 UTC
Created attachment 1729 [details]
Searching the "All builds" table
Comment 7 Belen Barros Pena 2014-02-21 11:39:24 UTC
This is almost there. There is only problem:

* Search by output is searching the value of IMAGE_FSTYPES, which is populated for all builds in the database, but are only displayed in the GUI when the build target is an image. This makes the search results a bit confusing, because if I search for a certain output value, for example ‘live’, I will get results that are not showing ‘live’ anywhere: builds that had the ‘live’ value in the IMAGE_FSTYPES variable, but did not produce any images because they either failed or their target was not an image recipe. We need to make sure that, when the search string is included in the output, we only show those builds where we actually display that output.

However, this might be solved by bug 5453
Comment 8 Yuan Sun 2014-03-13 03:44:05 UTC
A test case is created for the feature.
https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=902
Comment 9 Yuan Sun 2014-03-20 07:50:18 UTC
Verified in 1f16ca9fba325f5ddbb1edad5bbad78d990de5e0.