{"action":"created","issue":{"url":"https://api.github.com/repos/friendica/red/issues/814","labels_url":"https://api.github.com/repos/friendica/red/issues/814/labels{/name}","comments_url":"https://api.github.com/repos/friendica/red/issues/814/comments","events_url":"https://api.github.com/repos/friendica/red/issues/814/events","html_url":"https://github.com/friendica/red/issues/814","id":53331901,"number":814,"title":"Don't make a new autocomplete query when it's not really needed","user":{"login":"pafcu","id":62835,"avatar_url":"https://avatars.githubusercontent.com/u/62835?v=3","gravatar_id":"","url":"https://api.github.com/users/pafcu","html_url":"https://github.com/pafcu","followers_url":"https://api.github.com/users/pafcu/followers","following_url":"https://api.github.com/users/pafcu/following{/other_user}","gists_url":"https://api.github.com/users/pafcu/gists{/gist_id}","starred_url":"https://api.github.com/users/pafcu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pafcu/subscriptions","organizations_url":"https://api.github.com/users/pafcu/orgs","repos_url":"https://api.github.com/users/pafcu/repos","events_url":"https://api.github.com/users/pafcu/events{/privacy}","received_events_url":"https://api.github.com/users/pafcu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/friendica/red/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/friendica/red/labels/performance","name":"performance","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-04T10:12:32Z","updated_at":"2015-01-13T09:33:29Z","closed_at":null,"body":"When a user is typing a new query done for each letter that is written. However, often all the relevant results have already been sent to the user, and the result of the typing is just that some results are removed. This filtering could be done clinet-side, significantly reducing the number of queries needed."},"comment":{"url":"https://api.github.com/repos/friendica/red/issues/comments/69717680","html_url":"https://github.com/friendica/red/issues/814#issuecomment-69717680","issue_url":"https://api.github.com/repos/friendica/red/issues/814","id":69717680,"user":{"login":"redswede","id":10287838,"avatar_url":"https://avatars.githubusercontent.com/u/10287838?v=3","gravatar_id":"","url":"https://api.github.com/users/redswede","html_url":"https://github.com/redswede","followers_url":"https://api.github.com/users/redswede/followers","following_url":"https://api.github.com/users/redswede/following{/other_user}","gists_url":"https://api.github.com/users/redswede/gists{/gist_id}","starred_url":"https://api.github.com/users/redswede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redswede/subscriptions","organizations_url":"https://api.github.com/users/redswede/orgs","repos_url":"https://api.github.com/users/redswede/repos","events_url":"https://api.github.com/users/redswede/events{/privacy}","received_events_url":"https://api.github.com/users/redswede/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T09:33:29Z","updated_at":"2015-01-13T09:33:29Z","body":"I noticed this behavior too. Only searching after letter number 2 seems like a good idea to me or we could put a timer counting to 3 before submitting the first query (3 sec after pressing the @). I think that such a timer is used in other places facebook being the only I know."}}