{"action":"created","issue":{"url":"https://api.github.com/repos/sequelpro/sequelpro/issues/2838","repository_url":"https://api.github.com/repos/sequelpro/sequelpro","labels_url":"https://api.github.com/repos/sequelpro/sequelpro/issues/2838/labels{/name}","comments_url":"https://api.github.com/repos/sequelpro/sequelpro/issues/2838/comments","events_url":"https://api.github.com/repos/sequelpro/sequelpro/issues/2838/events","html_url":"https://github.com/sequelpro/sequelpro/issues/2838","id":243792299,"number":2838,"title":"Lost connection closes window without ability to save query","user":{"login":"jeffkreska","id":2659845,"avatar_url":"https://avatars0.githubusercontent.com/u/2659845?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffkreska","html_url":"https://github.com/jeffkreska","followers_url":"https://api.github.com/users/jeffkreska/followers","following_url":"https://api.github.com/users/jeffkreska/following{/other_user}","gists_url":"https://api.github.com/users/jeffkreska/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffkreska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffkreska/subscriptions","organizations_url":"https://api.github.com/users/jeffkreska/orgs","repos_url":"https://api.github.com/users/jeffkreska/repos","events_url":"https://api.github.com/users/jeffkreska/events{/privacy}","received_events_url":"https://api.github.com/users/jeffkreska/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-07-18T17:29:50Z","updated_at":"2018-05-26T17:47:04Z","closed_at":null,"author_association":"NONE","body":"Might not be a bug but it would be a nice enhancement if it isnt a bug to allow the sql in the tab of a connection that was lost to be copied or saved before destroying the tab.\r\n\r\nSteps to reproduce:\r\n1. Run some sql in the query editor\r\n2. Let sit until connection times out (disconnect network to box)\r\n3. Dialog is displayed saying somthing like \"Connection lost\" Reconnect or disconnect?\r\n4. Click Reconnect, but it fails\r\n5. Dialog is displayed again\r\n\r\nExpected the when the dialog prompting to reconnect is displayed there is an option to save sql in query editor before the tab is closed.\r\n"},"comment":{"url":"https://api.github.com/repos/sequelpro/sequelpro/issues/comments/392277072","html_url":"https://github.com/sequelpro/sequelpro/issues/2838#issuecomment-392277072","issue_url":"https://api.github.com/repos/sequelpro/sequelpro/issues/2838","id":392277072,"user":{"login":"nikoskip","id":1230033,"avatar_url":"https://avatars1.githubusercontent.com/u/1230033?v=4","gravatar_id":"","url":"https://api.github.com/users/nikoskip","html_url":"https://github.com/nikoskip","followers_url":"https://api.github.com/users/nikoskip/followers","following_url":"https://api.github.com/users/nikoskip/following{/other_user}","gists_url":"https://api.github.com/users/nikoskip/gists{/gist_id}","starred_url":"https://api.github.com/users/nikoskip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikoskip/subscriptions","organizations_url":"https://api.github.com/users/nikoskip/orgs","repos_url":"https://api.github.com/users/nikoskip/repos","events_url":"https://api.github.com/users/nikoskip/events{/privacy}","received_events_url":"https://api.github.com/users/nikoskip/received_events","type":"User","site_admin":false},"created_at":"2018-05-26T17:47:04Z","updated_at":"2018-05-26T17:47:04Z","author_association":"NONE","body":"+1\r\n\r\nAn auto-save mode will work or maybe a new option like \"Close connection and save queries\"."}}
{"actor":{"display_login":"nikoskip"}}