Motivation
Running async actions in SUSE Manager lacks a user-friendly feedback. For instance, running a salt highstate on a system:
The example screenshots show the problem.
Firstly user clicks "schedule highstate" button
Then they get informed that the action has been scheduled together with the link to the action details
Going to action details reveals the status of the action (pending/completed/failed).
Except of clunky user experience (navigating through multiple screens), there is no real-time feedback.
Idea
Display the action status using a UI spinner after the action is performed.
The most naive implementation would be using a polling widget that asks the backend about the status of the action. More elaborate solution (maybe not so easy though) would be utilizing our existing websocket mechanism for notifications.
The spinner widget will be implemented either in the action button directly, or separately (next to the info text - see the second screenshot). This must be discussed with the UI people.
Impact
The feature is only useful for actions that aren't supposed to take too long and should be implemented for such only. Traditional clients without osad are out of game here: executing an action can take hours.
Examples of good candidates: - channel assignment - highstate - configuration file deploy - hardware refresh - package install/upgrade (tentative)
Looking for hackers with the skills:
This project is part of:
Hack Week 19
Activity
Comments
Be the first to comment!
Similar Projects