action #162218
Updated by mkittler about 1 month ago
## Motivation openQA test reviewers work with logs like https://openqa.opensuse.org/tests/4270404/logfile?filename=autoinst-log.txt often. The log viewer should provide features to ease common reviewing tasks. We already provide separate downloads of the raw file so now we can enhance the in-place log viewer. We should start with generic filtering to only show lines matching a search expression similar to how we filter table rows in pages like /admin/products based on expressions in the search field. Based on a discussion of okurz with asmorodskyi. ## Acceptance criteria * **AC1:** Users can filter matching lines of autoinst-log.txt text interactively on /tests/$id/logfile?filename=autoinst-log.txt * **AC2:** By default no filter is applied and all text is shown * **AC3:** The URL can be shared applying the same filter ## Suggestions * Consider discussing the use case and possibilities and alternatives with asmorodskyi who came up with this approach * Maybe ace-editor can be used for that as we already use it for the code display? * Take look how we filter in data tables on other pages, e.g. /admin/products or /tests, and apply an equivalent approach on the logfile page * Provide a text field in the row next to "< Back to job …" and "Raw" with explanation text in the box when no text is there yet * Update the URL dynamically with the applied filter