{"action":"created","issue":{"url":"https://api.github.com/repos/juju/juju-gui/issues/1581","repository_url":"https://api.github.com/repos/juju/juju-gui","labels_url":"https://api.github.com/repos/juju/juju-gui/issues/1581/labels{/name}","comments_url":"https://api.github.com/repos/juju/juju-gui/issues/1581/comments","events_url":"https://api.github.com/repos/juju/juju-gui/issues/1581/events","html_url":"https://github.com/juju/juju-gui/issues/1581","id":150114037,"number":1581,"title":"UX required for destroyed models and the action of destroying a model","user":{"login":"frankban","id":1408172,"avatar_url":"https://avatars.githubusercontent.com/u/1408172?v=3","gravatar_id":"","url":"https://api.github.com/users/frankban","html_url":"https://github.com/frankban","followers_url":"https://api.github.com/users/frankban/followers","following_url":"https://api.github.com/users/frankban/following{/other_user}","gists_url":"https://api.github.com/users/frankban/gists{/gist_id}","starred_url":"https://api.github.com/users/frankban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankban/subscriptions","organizations_url":"https://api.github.com/users/frankban/orgs","repos_url":"https://api.github.com/users/frankban/repos","events_url":"https://api.github.com/users/frankban/events{/privacy}","received_events_url":"https://api.github.com/users/frankban/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-21T15:48:59Z","updated_at":"2016-04-21T16:25:59Z","closed_at":null,"body":"We need:\r\n- [ ] 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;\r\n- [ ] a confirmation dialog like \"are you sure you want to destroy the \"foo\" model?;\r\n- [ ] 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.\r\n"},"comment":{"url":"https://api.github.com/repos/juju/juju-gui/issues/comments/212995238","html_url":"https://github.com/juju/juju-gui/issues/1581#issuecomment-212995238","issue_url":"https://api.github.com/repos/juju/juju-gui/issues/1581","id":212995238,"user":{"login":"hatched","id":532033,"avatar_url":"https://avatars.githubusercontent.com/u/532033?v=3","gravatar_id":"","url":"https://api.github.com/users/hatched","html_url":"https://github.com/hatched","followers_url":"https://api.github.com/users/hatched/followers","following_url":"https://api.github.com/users/hatched/following{/other_user}","gists_url":"https://api.github.com/users/hatched/gists{/gist_id}","starred_url":"https://api.github.com/users/hatched/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hatched/subscriptions","organizations_url":"https://api.github.com/users/hatched/orgs","repos_url":"https://api.github.com/users/hatched/repos","events_url":"https://api.github.com/users/hatched/events{/privacy}","received_events_url":"https://api.github.com/users/hatched/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T16:25:59Z","updated_at":"2016-04-21T16:25:59Z","body":"@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. "}}