Actions
Refactor #24282
openImprove the show_html page for arf report
Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Description
We display the html report on our pages in iframe, but the current solution offers limited error handling. We use the src attribute of iframe to fetch the content and hide spinner on content load. This effectively means that anything received from server is rendered inside iframe, errors included. If the file is missing on proxy, we just respond with 200 and render error message as a text which is shown inside iframe with no styling at all.
We should create request to load the report in html ourselves and then handle response appropriately by either displaying the report or errors.
Updated by Ondřej Pražák over 6 years ago
- Blocks Tracker #20806: foreman_openscap UX enhancements added
Updated by Marek Hulán over 6 years ago
This would greatly improve the user experience I think
Actions