Project

General

Profile

action #151402

Updated by okurz 6 months ago

## Motivation 
 With openqa-investigate becoming more important the comments in jobs are more important and we should cover a search to find jobs by comment. Also an integration in UI can make such a feature more visible and convenient. As we already have a search field looking for multiple different things we can extend that to search for comments (or jobs by comment) as well. 

 ## Acceptance criteria 
 * **AC1:** Expert webUI users Search results can find openQA jobs by comment search terms show job comments as well 


 ## Suggestions 
 * Look into the existing search field on `/tests`, maybe just extend that See what had been done in #151402 to be able to search for tests jobs by comments content with a keyword "comment:<search_term>" or 
 * Extend the equivalent in `/search` #151402 existing search to search look for jobs by (job) comments as well 
 * See what we can reuse from Optional: Allow to *only* search for comments, e.g. with the test results overview page (which at this point is likley keyword "comment:<search_term>" in the most advanced search option for jobs we have) field 
 * Find out performance impact on the actual searching 
 * Find out the impact on displaying the results to the webUI user, e.g. will it always be way too many jobs 

 ## Further details  
 * We consider "expert webUI users" to be the ones that know the code and dare to adapt the URL manually, like with https://openqa.opensuse.org/tests?match=<search_term>

Back