No instant feedback when performing an action in the UI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Richard McCartney |
Bug Description
When performing a bulk action such as commissioning a bunch of nodes or an individual action such as commissioning just one node, there is no *instant* feedback after clicking the "Go" button.
As soon as the server starts processing the websocket requests there is feedback (the node's status are updated) but, especially over a slow network, this can take several seconds. During that time, it's easy to be confused about whether or not the action is being processed. What I'd like to see is a client-side feedback that would tell me that the action is being processed: the button could change its color, a spinning cog could appear, anything as long as there is a visual cue that something is happening behind the scenes. I think the user experience would be vastly improved by something as simple as this because it would fell much more responsive.
Related branches
- Raphaël Badin (community): Approve
-
Diff: 404 lines (+223/-12)5 files modifiedsrc/maasserver/static/css/maas-styles.css (+1/-1)
src/maasserver/static/js/angular/controllers/nodes_list.js (+50/-4)
src/maasserver/static/js/angular/controllers/tests/test_nodes_list.js (+125/-0)
src/maasserver/static/partials/nodes-list.html (+42/-7)
src/maasserver/static/scss/maas/components/_forms.scss (+5/-0)
Changed in maas: | |
status: | New → Confirmed |
assignee: | nobody → Carla Berkers (carlaberkers) |
Changed in maas: | |
assignee: | Carla Berkers (carlaberkers) → nobody |
Changed in maas: | |
milestone: | next → 1.8.0 |
Changed in maas: | |
status: | Confirmed → In Progress |
assignee: | nobody → Blake Rouse (blake-rouse) |
Changed in maas: | |
assignee: | Blake Rouse (blake-rouse) → Richard McCartney (ricgard) |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Hi Raphael,
I'm not an expert on websockets, can you let me know if my wording is correct:
CASE: when user clicks "Go"
MESSAGE: "Connecting to region controller" (do we have to say "through websocket" or is this implied?)
CASE: if MAAS isn't able to establish a connection
"Unable to [name of action] as connection to region controller cannot be established. Make sure your port configuration is correct "
When connection to server is established, the node status should change and the "connecting... " message should disappear
Can this all happen at the same time or can there be a delay between feedback from the websocket and the status of the node changing?
Thanks,
Carla