Actions
action #53168
openmake "show only failures" change the URL to make that view shareable
Status:
Workable
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
QA (public, currently private due to #173521) - future
Start date:
2019-06-17
Due date:
% Done:
0%
Estimated time:
Description
Motivation¶
openQA has this nice feature to "show only failures" which many people do not know. Sharing a link with "show only failures" is not easily possible because clicking the checkbox does not change the address in the browser. Would be nice if it did :)
Acceptance criteria¶
- AC1: The adress bar of a browser is updated with a query parameter for "Show only failures" from a tests details page
- AC2: A URL to tests details with a query parameter for "Show only failures" enabled also enables the option to only show failures
Suggestions¶
- Understand how the checkbox on the page is controlled in https://github.com/os-autoinst/openQA/blob/df841464ef97659c5caa41b1598e00ceeab6ecec/templates/test/details.html.ep#L14 and the corresponding javascript code https://github.com/os-autoinst/openQA/blob/ea7f72d9a3548feb1c0687ae203f40cfde2d0c89/assets/javascripts/test_result.js#L460
- Apply a similar mechanisms as for the selected tab to add the query parameter for "Show only failures" when enabled
- Ensure the parameter is read out when the route to job details is followed
Updated by okurz almost 5 years ago
- Description updated (diff)
- Status changed from New to Workable
Updated by Xiaojing_liu almost 5 years ago
Do you mean when click the checkbox, we should update the URL address? and if we put a URL to show the failures, the checkbox should be enabled?
Actions