Project

General

Profile

Actions

action #169525

open

coordination #154768: [saga][epic][ux] State-of-art user experience for openQA

coordination #166556: [epic] Improved test reviewer user experience - Restart filtered jobs from /tests/overview

Improve progress indication on restart API

Added by ybonatakis about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2024-11-07
Due date:
% Done:

0%

Estimated time:

Description

Motivation

We need to provide a better progressIndication when we trigger a group of job restarts[0].
The expectation is that the frontend knows the status of jobs(scheduled, running, etc)

We use it in overview page (overview.html.ep) but the progressIndication is likely not accurate.

In order to provide proper indicator, the webUI needs to have some data from the API. Currently https://github.com/os-autoinst/openQA/blob/master/assets/javascripts/openqa.js#L241 is used from the UI to restart the jobs but it doesnt return such info, which the frontend can use.
This might need also changes on the API[1] as well

[0] https://github.com/os-autoinst/openQA/blob/master/assets/javascripts/overview.js#L306
[1] https://github.com/os-autoinst/openQA/blob/master/lib/OpenQA/WebAPI/Controller/API/V1/Job.pm#L810

Actions

Also available in: Atom PDF