UX required for destroyed models and the action of destroying a model #1581

Closed
frankban opened this Issue Apr 21, 2016 · 8 comments

Comments

Projects
None yet
4 participants
Member

frankban commented Apr 21, 2016

We need:

  • a button to destroy the current model. Note that only the current model can be destroyed via the Juju API, and also we want users to switch to the model the want to destroy, so that they double check before proceeding with exterminating every units and services;
  • a confirmation dialog like "are you sure you want to destroy the "foo" model?;
  • something that shows that the model is being destroyed in the profile page: after removing a model, it takes a while for really going away, and in the meanwhile we want to show that "the model is being destroyed" and prevent users from switching to zombie models.
Collaborator

Lucapaulina commented Apr 21, 2016

@frankban we've been working on https://github.com/CanonicalLtd/juju-design/issues/65, it would solve issues 1 and 2 in your list above. In issue one it sort of seems like a user can only destroy a model from within the canvas, is that true? I think it would be better from the profile page.

We'll work on the third point.

Owner

hatched commented Apr 21, 2016

@Lucapaulina due to technical limitations the user has to be connected to the model that they want to destroy. So if the user clicks the destroy button in the profile page we have to switch them into that model, show a confirmation dialogue and then destroy it.

Collaborator

Lucapaulina commented Apr 21, 2016

Ok, thats not a bad compromise. I guess we would have to have a permanent notification in the canvas to notify users that the model is being destroyed too.

Can we show progress on the destroy? Is it based on number of units?

Owner

hatched commented Apr 21, 2016

The deltas come in as Juju cleans up so we'll know that the model is being destroyed and the deltas will be removing things.

Collaborator

Lucapaulina commented Apr 21, 2016

So, we can do a progress bar?

Owner

hatched commented Apr 21, 2016

We....could.... :)

@huwshimi huwshimi added this to the 2.2.0 milestone Apr 29, 2016

@huwshimi huwshimi assigned huwshimi and unassigned huwshimi Apr 29, 2016

@huwshimi huwshimi removed this from the 2.2.0 milestone Apr 29, 2016

Member

huwshimi commented May 16, 2016

Awaiting JEM to provide the model lifecycle.

@huwshimi huwshimi added the blocked label May 16, 2016

@huwshimi huwshimi removed the blocked label Oct 4, 2016

Member

huwshimi commented Oct 4, 2016

The new controller API has implemented the lifecycle methods and this is now complete.

@huwshimi huwshimi closed this Oct 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment