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:** Search results Expert webUI users can show job comments as well find openQA jobs by comment search terms
## Suggestions
* See what had been done in #151402 Look into the existing search field on `/tests`, maybe just extend that to be able to search for jobs tests by comments
content with a keyword "comment:<search_term>" or the equivalent in `/search`
* Extend That would be very confusing; the existing search fields on `/tests` are for table filtering
* Introducing syntax like "comment:…" leads to look complications (usage of quotes, escaping, …) - likely just using dedicated for (job) comments as well fields is better
* Optional: Allow to *only* Maybe add fancy search tabs for comments, e.g. with the keyword "comment:<search_term>" in different result types like you would see on Google for images and the like (make comments the first tab that is available?)
* See what we can reuse from the test results overview page (which at this point is likley the most advanced search field option for jobs we have)
* 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