{"action":"opened","issue":{"url":"https://api.github.com/repos/sequelpro/sequelpro/issues/3163","repository_url":"https://api.github.com/repos/sequelpro/sequelpro","labels_url":"https://api.github.com/repos/sequelpro/sequelpro/issues/3163/labels{/name}","comments_url":"https://api.github.com/repos/sequelpro/sequelpro/issues/3163/comments","events_url":"https://api.github.com/repos/sequelpro/sequelpro/issues/3163/events","html_url":"https://github.com/sequelpro/sequelpro/issues/3163","id":359805521,"node_id":"MDU6SXNzdWUzNTk4MDU1MjE=","number":3163,"title":"SPF file not saved when connection lost","user":{"login":"eugene-kulak","id":34233075,"node_id":"MDQ6VXNlcjM0MjMzMDc1","avatar_url":"https://avatars1.githubusercontent.com/u/34233075?v=4","gravatar_id":"","url":"https://api.github.com/users/eugene-kulak","html_url":"https://github.com/eugene-kulak","followers_url":"https://api.github.com/users/eugene-kulak/followers","following_url":"https://api.github.com/users/eugene-kulak/following{/other_user}","gists_url":"https://api.github.com/users/eugene-kulak/gists{/gist_id}","starred_url":"https://api.github.com/users/eugene-kulak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugene-kulak/subscriptions","organizations_url":"https://api.github.com/users/eugene-kulak/orgs","repos_url":"https://api.github.com/users/eugene-kulak/repos","events_url":"https://api.github.com/users/eugene-kulak/events{/privacy}","received_events_url":"https://api.github.com/users/eugene-kulak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-13T09:03:20Z","updated_at":"2018-09-13T09:03:20Z","closed_at":null,"author_association":"NONE","body":"Steps to reproduce:\r\n\r\n1. open connection (tab)\r\n2. type some queries, save\r\n3. change queries\r\n4. close connection (kill db, disable network, etc)\r\n5. your changes to spf file lost now\r\n\r\nPossible fix:\r\n- ask 'user' before closing tab 'do you want to save your changes'\r\n- do not use modal dialogs\r\n- allow tab to be open even if connection closed"}}
{"actor":{"display_login":"eugene-kulak"}}