{"action":"created","issue":{"url":"https://api.github.com/repos/divmain/GitSavvy/issues/76","labels_url":"https://api.github.com/repos/divmain/GitSavvy/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/divmain/GitSavvy/issues/76/comments","events_url":"https://api.github.com/repos/divmain/GitSavvy/issues/76/events","html_url":"https://github.com/divmain/GitSavvy/pull/76","id":60707699,"number":76,"title":"Don't lock up the panels/inputs while pushing","user":{"login":"p3lim","id":26496,"avatar_url":"https://avatars.githubusercontent.com/u/26496?v=3","gravatar_id":"","url":"https://api.github.com/users/p3lim","html_url":"https://github.com/p3lim","followers_url":"https://api.github.com/users/p3lim/followers","following_url":"https://api.github.com/users/p3lim/following{/other_user}","gists_url":"https://api.github.com/users/p3lim/gists{/gist_id}","starred_url":"https://api.github.com/users/p3lim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p3lim/subscriptions","organizations_url":"https://api.github.com/users/p3lim/orgs","repos_url":"https://api.github.com/users/p3lim/repos","events_url":"https://api.github.com/users/p3lim/events{/privacy}","received_events_url":"https://api.github.com/users/p3lim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-11T18:33:36Z","updated_at":"2015-03-11T21:24:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/divmain/GitSavvy/pulls/76","html_url":"https://github.com/divmain/GitSavvy/pull/76","diff_url":"https://github.com/divmain/GitSavvy/pull/76.diff","patch_url":"https://github.com/divmain/GitSavvy/pull/76.patch"},"body":"I moved `do_push` outside of the classes (since they all use something like this) and turned all calls of it (and `self.push`) into calling it asynchronously.\r\n\r\nI was thinking of moving it even further away (maybe into the mixins) since other files might make use of it as well. And while on that train of thought I was also thinking of maybe moving every occurrence of the following block of code just the same.\r\n\r\n```Python\r\nself.remotes = list(self.get_remotes().keys())\r\n\r\nif not self.remotes:\r\n    self.window.show_quick_panel([NO_REMOTES_MESSAGE], None)\r\nelse:\r\n    self.window.show_quick_panel(\r\n        self.remotes,\r\n        self.on_select_remote,\r\n        flags=sublime.MONOSPACE_FONT\r\n        )\r\n``` "},"comment":{"url":"https://api.github.com/repos/divmain/GitSavvy/issues/comments/78375148","html_url":"https://github.com/divmain/GitSavvy/pull/76#issuecomment-78375148","issue_url":"https://api.github.com/repos/divmain/GitSavvy/issues/76","id":78375148,"user":{"login":"p3lim","id":26496,"avatar_url":"https://avatars.githubusercontent.com/u/26496?v=3","gravatar_id":"","url":"https://api.github.com/users/p3lim","html_url":"https://github.com/p3lim","followers_url":"https://api.github.com/users/p3lim/followers","following_url":"https://api.github.com/users/p3lim/following{/other_user}","gists_url":"https://api.github.com/users/p3lim/gists{/gist_id}","starred_url":"https://api.github.com/users/p3lim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p3lim/subscriptions","organizations_url":"https://api.github.com/users/p3lim/orgs","repos_url":"https://api.github.com/users/p3lim/repos","events_url":"https://api.github.com/users/p3lim/events{/privacy}","received_events_url":"https://api.github.com/users/p3lim/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T21:24:42Z","updated_at":"2015-03-11T21:24:42Z","body":"@divmain It's good to go."}}