{"action":"opened","issue":{"url":"https://api.github.com/repos/NebulousLabs/Sia-UI/issues/213","repository_url":"https://api.github.com/repos/NebulousLabs/Sia-UI","labels_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/issues/213/comments","events_url":"https://api.github.com/repos/NebulousLabs/Sia-UI/issues/213/events","html_url":"https://github.com/NebulousLabs/Sia-UI/issues/213","id":134173648,"number":213,"title":"Proposal for handling UI exit","user":{"login":"pmknutsen","id":1565499,"avatar_url":"https://avatars.githubusercontent.com/u/1565499?v=3","gravatar_id":"","url":"https://api.github.com/users/pmknutsen","html_url":"https://github.com/pmknutsen","followers_url":"https://api.github.com/users/pmknutsen/followers","following_url":"https://api.github.com/users/pmknutsen/following{/other_user}","gists_url":"https://api.github.com/users/pmknutsen/gists{/gist_id}","starred_url":"https://api.github.com/users/pmknutsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmknutsen/subscriptions","organizations_url":"https://api.github.com/users/pmknutsen/orgs","repos_url":"https://api.github.com/users/pmknutsen/repos","events_url":"https://api.github.com/users/pmknutsen/events{/privacy}","received_events_url":"https://api.github.com/users/pmknutsen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-17T04:18:54Z","updated_at":"2016-02-17T04:18:54Z","closed_at":null,"body":"![ui_close_proposal](https://cloud.githubusercontent.com/assets/1565499/13099654/4f6cf396-d4e9-11e5-97d1-bd17c45fe65c.png)\r\n\r\nThe above is just a mockup (ignore that I'm using 0.4.8 as backdrop)\r\n\r\nThis is a proposal for how to deal with user either wanting to just exit the UI, or shut down Sia altogether.\r\n\r\nI removed the window frame (should also add a border)\r\nAn X was put back in the upper right hand corner\r\nA Quit button was added on the Overview page\r\n\r\nThe intended behavior is:\r\nPressing the X minimizes the UI\r\nPressing \"Quit\" will exit the UI *and* `siad`\r\n\r\nSelecting \"Quit\" should probably also launch a dialog warning user that the host will be shut down as well, and then provide a Confirm button."}}