{"action":"opened","number":1836,"pull_request":{"url":"https://api.github.com/repos/metacpan/metacpan-web/pulls/1836","id":98834231,"html_url":"https://github.com/metacpan/metacpan-web/pull/1836","diff_url":"https://github.com/metacpan/metacpan-web/pull/1836.diff","patch_url":"https://github.com/metacpan/metacpan-web/pull/1836.patch","issue_url":"https://api.github.com/repos/metacpan/metacpan-web/issues/1836","number":1836,"state":"open","locked":false,"title":"local author autocomplete","user":{"login":"haarg","id":50029,"avatar_url":"https://avatars.githubusercontent.com/u/50029?v=3","gravatar_id":"","url":"https://api.github.com/users/haarg","html_url":"https://github.com/haarg","followers_url":"https://api.github.com/users/haarg/followers","following_url":"https://api.github.com/users/haarg/following{/other_user}","gists_url":"https://api.github.com/users/haarg/gists{/gist_id}","starred_url":"https://api.github.com/users/haarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haarg/subscriptions","organizations_url":"https://api.github.com/users/haarg/orgs","repos_url":"https://api.github.com/users/haarg/repos","events_url":"https://api.github.com/users/haarg/events{/privacy}","received_events_url":"https://api.github.com/users/haarg/received_events","type":"User","site_admin":false},"body":"This implements author autocomplete locally, removing constructor.io and the radio buttons.\r\n\r\nIn the future, we could switch to constructor.io for the entire thing, but it requires more work.  I don't think the current author autocomplete is used enough to justify keeping it, even if constructor.io could provide better results.\r\n\r\nThis also removes the \"15 results (0.013 seconds)\" text from pages without pagination, and moves it to below the pagination controls.  I don't think it provides useful information on pages like the release page, and without it the layout is more consistent.\r\n\r\nThe spacing at the top of the page is also reduced slightly.\r\n\r\nFixes #1550, and addresses the same issues as #1569.\r\nScreenshots:\r\n\r\nModule page before:\r\n![screen shot 2016-12-20 at 4 57 01 pm](https://cloud.githubusercontent.com/assets/50029/21369615/c441f110-c6d5-11e6-9d7c-f4ccc252e552.png)\r\nAfter:\r\n![screen shot 2016-12-20 at 4 58 24 pm](https://cloud.githubusercontent.com/assets/50029/21369633/d91e8102-c6d5-11e6-8610-c35c42f1c657.png)\r\n\r\nRelease page before:\r\n![screen shot 2016-12-20 at 4 57 26 pm](https://cloud.githubusercontent.com/assets/50029/21369622/ccabb2e6-c6d5-11e6-9d9d-3a1979f90856.png)\r\n![screen shot 2016-12-20 at 4 58 41 pm](https://cloud.githubusercontent.com/assets/50029/21369635/dbdf0c2c-c6d5-11e6-9122-db5b386882f0.png)\r\n\r\nAutocomplete before:\r\n![screen shot 2016-12-20 at 4 57 48 pm](https://cloud.githubusercontent.com/assets/50029/21369626/d0773d8c-c6d5-11e6-9979-4bf3abf5bae6.png)\r\n![screen shot 2016-12-20 at 4 59 03 pm](https://cloud.githubusercontent.com/assets/50029/21369638/df1fcd86-c6d5-11e6-8817-a70c8968be8f.png)","created_at":"2016-12-20T22:03:58Z","updated_at":"2016-12-20T22:03:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/metacpan/metacpan-web/pulls/1836/commits","review_comments_url":"https://api.github.com/repos/metacpan/metacpan-web/pulls/1836/comments","review_comment_url":"https://api.github.com/repos/metacpan/metacpan-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/metacpan/metacpan-web/issues/1836/comments","statuses_url":"https://api.github.com/repos/metacpan/metacpan-web/statuses/01a016ee680e8cc21f12dd84b5e1faf3fd372b36","head":{"label":"metacpan:haarg/local-author-autocomplete","ref":"haarg/local-author-autocomplete","sha":"01a016ee680e8cc21f12dd84b5e1faf3fd372b36","user":{"login":"metacpan","id":460239,"avatar_url":"https://avatars.githubusercontent.com/u/460239?v=3","gravatar_id":"","url":"https://api.github.com/users/metacpan","html_url":"https://github.com/metacpan","followers_url":"https://api.github.com/users/metacpan/followers","following_url":"https://api.github.com/users/metacpan/following{/other_user}","gists_url":"https://api.github.com/users/metacpan/gists{/gist_id}","starred_url":"https://api.github.com/users/metacpan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metacpan/subscriptions","organizations_url":"https://api.github.com/users/metacpan/orgs","repos_url":"https://api.github.com/users/metacpan/repos","events_url":"https://api.github.com/users/metacpan/events{/privacy}","received_events_url":"https://api.github.com/users/metacpan/received_events","type":"Organization","site_admin":false},"repo":{"id":1630833,"name":"metacpan-web","full_name":"metacpan/metacpan-web","owner":{"login":"metacpan","id":460239,"avatar_url":"https://avatars.githubusercontent.com/u/460239?v=3","gravatar_id":"","url":"https://api.github.com/users/metacpan","html_url":"https://github.com/metacpan","followers_url":"https://api.github.com/users/metacpan/followers","following_url":"https://api.github.com/users/metacpan/following{/other_user}","gists_url":"https://api.github.com/users/metacpan/gists{/gist_id}","starred_url":"https://api.github.com/users/metacpan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metacpan/subscriptions","organizations_url":"https://api.github.com/users/metacpan/orgs","repos_url":"https://api.github.com/users/metacpan/repos","events_url":"https://api.github.com/users/metacpan/events{/privacy}","received_events_url":"https://api.github.com/users/metacpan/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/metacpan/metacpan-web","description":"Web interface for MetaCPAN","fork":false,"url":"https://api.github.com/repos/metacpan/metacpan-web","forks_url":"https://api.github.com/repos/metacpan/metacpan-web/forks","keys_url":"https://api.github.com/repos/metacpan/metacpan-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metacpan/metacpan-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metacpan/metacpan-web/teams","hooks_url":"https://api.github.com/repos/metacpan/metacpan-web/hooks","issue_events_url":"https://api.github.com/repos/metacpan/metacpan-web/issues/events{/number}","events_url":"https://api.github.com/repos/metacpan/metacpan-web/events","assignees_url":"https://api.github.com/repos/metacpan/metacpan-web/assignees{/user}","branches_url":"https://api.github.com/repos/metacpan/metacpan-web/branches{/branch}","tags_url":"https://api.github.com/repos/metacpan/metacpan-web/tags","blobs_url":"https://api.github.com/repos/metacpan/metacpan-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metacpan/metacpan-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metacpan/metacpan-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/metacpan/metacpan-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metacpan/metacpan-web/statuses/{sha}","languages_url":"https://api.github.com/repos/metacpan/metacpan-web/languages","stargazers_url":"https://api.github.com/repos/metacpan/metacpan-web/stargazers","contributors_url":"https://api.github.com/repos/metacpan/metacpan-web/contributors","subscribers_url":"https://api.github.com/repos/metacpan/metacpan-web/subscribers","subscription_url":"https://api.github.com/repos/metacpan/metacpan-web/subscription","commits_url":"https://api.github.com/repos/metacpan/metacpan-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/metacpan/metacpan-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/metacpan/metacpan-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/metacpan/metacpan-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/metacpan/metacpan-web/contents/{+path}","compare_url":"https://api.github.com/repos/metacpan/metacpan-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metacpan/metacpan-web/merges","archive_url":"https://api.github.com/repos/metacpan/metacpan-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metacpan/metacpan-web/downloads","issues_url":"https://api.github.com/repos/metacpan/metacpan-web/issues{/number}","pulls_url":"https://api.github.com/repos/metacpan/metacpan-web/pulls{/number}","milestones_url":"https://api.github.com/repos/metacpan/metacpan-web/milestones{/number}","notifications_url":"https://api.github.com/repos/metacpan/metacpan-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metacpan/metacpan-web/labels{/name}","releases_url":"https://api.github.com/repos/metacpan/metacpan-web/releases{/id}","deployments_url":"https://api.github.com/repos/metacpan/metacpan-web/deployments","created_at":"2011-04-18T14:25:49Z","updated_at":"2016-12-15T02:07:46Z","pushed_at":"2016-12-20T21:43:39Z","git_url":"git://github.com/metacpan/metacpan-web.git","ssh_url":"git@github.com:metacpan/metacpan-web.git","clone_url":"https://github.com/metacpan/metacpan-web.git","svn_url":"https://github.com/metacpan/metacpan-web","homepage":"http://metacpan.org","size":6242,"stargazers_count":246,"watchers_count":246,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":157,"mirror_url":null,"open_issues_count":133,"forks":157,"open_issues":133,"watchers":246,"default_branch":"master"}},"base":{"label":"metacpan:master","ref":"master","sha":"050fb39279f8c1250d4438beedd87526250abee8","user":{"login":"metacpan","id":460239,"avatar_url":"https://avatars.githubusercontent.com/u/460239?v=3","gravatar_id":"","url":"https://api.github.com/users/metacpan","html_url":"https://github.com/metacpan","followers_url":"https://api.github.com/users/metacpan/followers","following_url":"https://api.github.com/users/metacpan/following{/other_user}","gists_url":"https://api.github.com/users/metacpan/gists{/gist_id}","starred_url":"https://api.github.com/users/metacpan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metacpan/subscriptions","organizations_url":"https://api.github.com/users/metacpan/orgs","repos_url":"https://api.github.com/users/metacpan/repos","events_url":"https://api.github.com/users/metacpan/events{/privacy}","received_events_url":"https://api.github.com/users/metacpan/received_events","type":"Organization","site_admin":false},"repo":{"id":1630833,"name":"metacpan-web","full_name":"metacpan/metacpan-web","owner":{"login":"metacpan","id":460239,"avatar_url":"https://avatars.githubusercontent.com/u/460239?v=3","gravatar_id":"","url":"https://api.github.com/users/metacpan","html_url":"https://github.com/metacpan","followers_url":"https://api.github.com/users/metacpan/followers","following_url":"https://api.github.com/users/metacpan/following{/other_user}","gists_url":"https://api.github.com/users/metacpan/gists{/gist_id}","starred_url":"https://api.github.com/users/metacpan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metacpan/subscriptions","organizations_url":"https://api.github.com/users/metacpan/orgs","repos_url":"https://api.github.com/users/metacpan/repos","events_url":"https://api.github.com/users/metacpan/events{/privacy}","received_events_url":"https://api.github.com/users/metacpan/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/metacpan/metacpan-web","description":"Web interface for MetaCPAN","fork":false,"url":"https://api.github.com/repos/metacpan/metacpan-web","forks_url":"https://api.github.com/repos/metacpan/metacpan-web/forks","keys_url":"https://api.github.com/repos/metacpan/metacpan-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metacpan/metacpan-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metacpan/metacpan-web/teams","hooks_url":"https://api.github.com/repos/metacpan/metacpan-web/hooks","issue_events_url":"https://api.github.com/repos/metacpan/metacpan-web/issues/events{/number}","events_url":"https://api.github.com/repos/metacpan/metacpan-web/events","assignees_url":"https://api.github.com/repos/metacpan/metacpan-web/assignees{/user}","branches_url":"https://api.github.com/repos/metacpan/metacpan-web/branches{/branch}","tags_url":"https://api.github.com/repos/metacpan/metacpan-web/tags","blobs_url":"https://api.github.com/repos/metacpan/metacpan-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metacpan/metacpan-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metacpan/metacpan-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/metacpan/metacpan-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metacpan/metacpan-web/statuses/{sha}","languages_url":"https://api.github.com/repos/metacpan/metacpan-web/languages","stargazers_url":"https://api.github.com/repos/metacpan/metacpan-web/stargazers","contributors_url":"https://api.github.com/repos/metacpan/metacpan-web/contributors","subscribers_url":"https://api.github.com/repos/metacpan/metacpan-web/subscribers","subscription_url":"https://api.github.com/repos/metacpan/metacpan-web/subscription","commits_url":"https://api.github.com/repos/metacpan/metacpan-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/metacpan/metacpan-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/metacpan/metacpan-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/metacpan/metacpan-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/metacpan/metacpan-web/contents/{+path}","compare_url":"https://api.github.com/repos/metacpan/metacpan-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metacpan/metacpan-web/merges","archive_url":"https://api.github.com/repos/metacpan/metacpan-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metacpan/metacpan-web/downloads","issues_url":"https://api.github.com/repos/metacpan/metacpan-web/issues{/number}","pulls_url":"https://api.github.com/repos/metacpan/metacpan-web/pulls{/number}","milestones_url":"https://api.github.com/repos/metacpan/metacpan-web/milestones{/number}","notifications_url":"https://api.github.com/repos/metacpan/metacpan-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metacpan/metacpan-web/labels{/name}","releases_url":"https://api.github.com/repos/metacpan/metacpan-web/releases{/id}","deployments_url":"https://api.github.com/repos/metacpan/metacpan-web/deployments","created_at":"2011-04-18T14:25:49Z","updated_at":"2016-12-15T02:07:46Z","pushed_at":"2016-12-20T21:43:39Z","git_url":"git://github.com/metacpan/metacpan-web.git","ssh_url":"git@github.com:metacpan/metacpan-web.git","clone_url":"https://github.com/metacpan/metacpan-web.git","svn_url":"https://github.com/metacpan/metacpan-web","homepage":"http://metacpan.org","size":6242,"stargazers_count":246,"watchers_count":246,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":157,"mirror_url":null,"open_issues_count":133,"forks":157,"open_issues":133,"watchers":246,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/metacpan/metacpan-web/pulls/1836"},"html":{"href":"https://github.com/metacpan/metacpan-web/pull/1836"},"issue":{"href":"https://api.github.com/repos/metacpan/metacpan-web/issues/1836"},"comments":{"href":"https://api.github.com/repos/metacpan/metacpan-web/issues/1836/comments"},"review_comments":{"href":"https://api.github.com/repos/metacpan/metacpan-web/pulls/1836/comments"},"review_comment":{"href":"https://api.github.com/repos/metacpan/metacpan-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/metacpan/metacpan-web/pulls/1836/commits"},"statuses":{"href":"https://api.github.com/repos/metacpan/metacpan-web/statuses/01a016ee680e8cc21f12dd84b5e1faf3fd372b36"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":71,"deletions":132,"changed_files":7}}
{"actor":{"display_login":"haarg"}}