Actions
action #130381
opentracker for https://github.com/os-autoinst/openQA/issues/5180 "Stop displaying the latest image in 'Live View' after qemu has stopped" size:M
Start date:
2023-06-05
Due date:
% Done:
0%
Estimated time:
Tags:
Description
Motivation¶
Don't confuse the user by showing the last frame of the live view even after the VM was stopped.
Acceptance criteria¶
- AC1: Clear user feedback is provided if no live view data is available
Suggestions¶
- Can we use a spinner maybe with a text message and maybe a less big frame than 1024x768 white box that is replaced when there is content?
- dheidler should look up from ancient page or git tutorial where the static replacement image is
- Look at the current java script code and the live view template page, compare to the spinner we have on the index page of openQA where we use "fa fa-circle-o-notch fa-spin fa-4x" in https://github.com/os-autoinst/openQA/blob/master/templates/webapi/main/index.html.ep#L25
- A good starting point might be the SSE EventSource endpoint sending the PNG frames to the client
- When the test is finished it might be the easiest if os-autoinst deletes or replaces the last png with something stating that the machine is shut down so that openQA automatically picks it up correctly
Related¶
Updated by dheidler 10 months ago
- Subject changed from tracker for https://github.com/os-autoinst/openQA/issues/5180 "Stop displaying the latest image in 'Live View' after qemu has stopped" to tracker for https://github.com/os-autoinst/openQA/issues/5180 "Stop displaying the latest image in 'Live View' after qemu has stopped" size:M
- Description updated (diff)
- Status changed from New to Workable
Updated by dheidler 10 months ago
This is the old image used to indicate that a test already finished and is just moving data around:
https://github.com/Vogtinator/openQA/blob/master/public/images/suse-tested.png
Actions