{"action":"closed","number":10,"pull_request":{"url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/pulls/10","id":100232027,"html_url":"https://github.com/Coteh/syntaxdb-atom-plugin/pull/10","diff_url":"https://github.com/Coteh/syntaxdb-atom-plugin/pull/10.diff","patch_url":"https://github.com/Coteh/syntaxdb-atom-plugin/pull/10.patch","issue_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/issues/10","number":10,"state":"closed","locked":false,"title":"Add search lock.","user":{"login":"Coteh","id":3276350,"avatar_url":"https://avatars.githubusercontent.com/u/3276350?v=3","gravatar_id":"","url":"https://api.github.com/users/Coteh","html_url":"https://github.com/Coteh","followers_url":"https://api.github.com/users/Coteh/followers","following_url":"https://api.github.com/users/Coteh/following{/other_user}","gists_url":"https://api.github.com/users/Coteh/gists{/gist_id}","starred_url":"https://api.github.com/users/Coteh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coteh/subscriptions","organizations_url":"https://api.github.com/users/Coteh/orgs","repos_url":"https://api.github.com/users/Coteh/repos","events_url":"https://api.github.com/users/Coteh/events{/privacy}","received_events_url":"https://api.github.com/users/Coteh/received_events","type":"User","site_admin":false},"body":"Fixes #1.\r\nSince the request calls are asynchronous, if the user presses enter to search more than once, multiple search queries will fire and each one that finishes will display their results on the search results view overwriting the previous, with the last results view update coming from the last search query to finish. This PR fixes the issue by implementing a search lock that will prevent any more search queries to fire until the current one finishes.","created_at":"2017-01-05T04:12:26Z","updated_at":"2017-01-05T04:14:29Z","closed_at":"2017-01-05T04:14:29Z","merged_at":"2017-01-05T04:14:29Z","merge_commit_sha":"35b4910d420e7eaf2c35c007dc5e609c209dac37","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/pulls/10/commits","review_comments_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/pulls/10/comments","review_comment_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/issues/10/comments","statuses_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/statuses/4c5bffd741a11561876ef99b1c06e4490051c5f3","head":{"label":"Coteh:fix/multiplesearch","ref":"fix/multiplesearch","sha":"4c5bffd741a11561876ef99b1c06e4490051c5f3","user":{"login":"Coteh","id":3276350,"avatar_url":"https://avatars.githubusercontent.com/u/3276350?v=3","gravatar_id":"","url":"https://api.github.com/users/Coteh","html_url":"https://github.com/Coteh","followers_url":"https://api.github.com/users/Coteh/followers","following_url":"https://api.github.com/users/Coteh/following{/other_user}","gists_url":"https://api.github.com/users/Coteh/gists{/gist_id}","starred_url":"https://api.github.com/users/Coteh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coteh/subscriptions","organizations_url":"https://api.github.com/users/Coteh/orgs","repos_url":"https://api.github.com/users/Coteh/repos","events_url":"https://api.github.com/users/Coteh/events{/privacy}","received_events_url":"https://api.github.com/users/Coteh/received_events","type":"User","site_admin":false},"repo":{"id":64262963,"name":"syntaxdb-atom-plugin","full_name":"Coteh/syntaxdb-atom-plugin","owner":{"login":"Coteh","id":3276350,"avatar_url":"https://avatars.githubusercontent.com/u/3276350?v=3","gravatar_id":"","url":"https://api.github.com/users/Coteh","html_url":"https://github.com/Coteh","followers_url":"https://api.github.com/users/Coteh/followers","following_url":"https://api.github.com/users/Coteh/following{/other_user}","gists_url":"https://api.github.com/users/Coteh/gists{/gist_id}","starred_url":"https://api.github.com/users/Coteh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coteh/subscriptions","organizations_url":"https://api.github.com/users/Coteh/orgs","repos_url":"https://api.github.com/users/Coteh/repos","events_url":"https://api.github.com/users/Coteh/events{/privacy}","received_events_url":"https://api.github.com/users/Coteh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Coteh/syntaxdb-atom-plugin","description":"A SyntaxDB plugin for Atom text editor.","fork":false,"url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin","forks_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/forks","keys_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/teams","hooks_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/hooks","issue_events_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/events","assignees_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/tags","blobs_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/languages","stargazers_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/stargazers","contributors_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/contributors","subscribers_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/subscribers","subscription_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/subscription","commits_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/merges","archive_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/downloads","issues_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/labels{/name}","releases_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/deployments","created_at":"2016-07-27T00:04:18Z","updated_at":"2016-09-08T18:01:04Z","pushed_at":"2017-01-05T04:14:29Z","git_url":"git://github.com/Coteh/syntaxdb-atom-plugin.git","ssh_url":"git@github.com:Coteh/syntaxdb-atom-plugin.git","clone_url":"https://github.com/Coteh/syntaxdb-atom-plugin.git","svn_url":"https://github.com/Coteh/syntaxdb-atom-plugin","homepage":"https://atom.io/packages/syntaxdb-atom-plugin","size":312,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":3,"default_branch":"master"}},"base":{"label":"Coteh:development","ref":"development","sha":"f5d9ec4e8cdc308dfdff2ee925cf2a4dfd9615a3","user":{"login":"Coteh","id":3276350,"avatar_url":"https://avatars.githubusercontent.com/u/3276350?v=3","gravatar_id":"","url":"https://api.github.com/users/Coteh","html_url":"https://github.com/Coteh","followers_url":"https://api.github.com/users/Coteh/followers","following_url":"https://api.github.com/users/Coteh/following{/other_user}","gists_url":"https://api.github.com/users/Coteh/gists{/gist_id}","starred_url":"https://api.github.com/users/Coteh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coteh/subscriptions","organizations_url":"https://api.github.com/users/Coteh/orgs","repos_url":"https://api.github.com/users/Coteh/repos","events_url":"https://api.github.com/users/Coteh/events{/privacy}","received_events_url":"https://api.github.com/users/Coteh/received_events","type":"User","site_admin":false},"repo":{"id":64262963,"name":"syntaxdb-atom-plugin","full_name":"Coteh/syntaxdb-atom-plugin","owner":{"login":"Coteh","id":3276350,"avatar_url":"https://avatars.githubusercontent.com/u/3276350?v=3","gravatar_id":"","url":"https://api.github.com/users/Coteh","html_url":"https://github.com/Coteh","followers_url":"https://api.github.com/users/Coteh/followers","following_url":"https://api.github.com/users/Coteh/following{/other_user}","gists_url":"https://api.github.com/users/Coteh/gists{/gist_id}","starred_url":"https://api.github.com/users/Coteh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coteh/subscriptions","organizations_url":"https://api.github.com/users/Coteh/orgs","repos_url":"https://api.github.com/users/Coteh/repos","events_url":"https://api.github.com/users/Coteh/events{/privacy}","received_events_url":"https://api.github.com/users/Coteh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Coteh/syntaxdb-atom-plugin","description":"A SyntaxDB plugin for Atom text editor.","fork":false,"url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin","forks_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/forks","keys_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/teams","hooks_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/hooks","issue_events_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/events","assignees_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/tags","blobs_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/languages","stargazers_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/stargazers","contributors_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/contributors","subscribers_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/subscribers","subscription_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/subscription","commits_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/merges","archive_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/downloads","issues_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/labels{/name}","releases_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/deployments","created_at":"2016-07-27T00:04:18Z","updated_at":"2016-09-08T18:01:04Z","pushed_at":"2017-01-05T04:14:29Z","git_url":"git://github.com/Coteh/syntaxdb-atom-plugin.git","ssh_url":"git@github.com:Coteh/syntaxdb-atom-plugin.git","clone_url":"https://github.com/Coteh/syntaxdb-atom-plugin.git","svn_url":"https://github.com/Coteh/syntaxdb-atom-plugin","homepage":"https://atom.io/packages/syntaxdb-atom-plugin","size":312,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/pulls/10"},"html":{"href":"https://github.com/Coteh/syntaxdb-atom-plugin/pull/10"},"issue":{"href":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/issues/10"},"comments":{"href":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/Coteh/syntaxdb-atom-plugin/statuses/4c5bffd741a11561876ef99b1c06e4490051c5f3"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Coteh","id":3276350,"avatar_url":"https://avatars.githubusercontent.com/u/3276350?v=3","gravatar_id":"","url":"https://api.github.com/users/Coteh","html_url":"https://github.com/Coteh","followers_url":"https://api.github.com/users/Coteh/followers","following_url":"https://api.github.com/users/Coteh/following{/other_user}","gists_url":"https://api.github.com/users/Coteh/gists{/gist_id}","starred_url":"https://api.github.com/users/Coteh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coteh/subscriptions","organizations_url":"https://api.github.com/users/Coteh/orgs","repos_url":"https://api.github.com/users/Coteh/repos","events_url":"https://api.github.com/users/Coteh/events{/privacy}","received_events_url":"https://api.github.com/users/Coteh/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":13,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"Coteh"}}