{"action":"created","issue":{"url":"https://api.github.com/repos/composer/packagist/issues/659","repository_url":"https://api.github.com/repos/composer/packagist","labels_url":"https://api.github.com/repos/composer/packagist/issues/659/labels{/name}","comments_url":"https://api.github.com/repos/composer/packagist/issues/659/comments","events_url":"https://api.github.com/repos/composer/packagist/issues/659/events","html_url":"https://github.com/composer/packagist/pull/659","id":144907792,"number":659,"title":"Add HTML5 autofocus to search box","user":{"login":"hobofan","id":601283,"avatar_url":"https://avatars.githubusercontent.com/u/601283?v=3","gravatar_id":"","url":"https://api.github.com/users/hobofan","html_url":"https://github.com/hobofan","followers_url":"https://api.github.com/users/hobofan/followers","following_url":"https://api.github.com/users/hobofan/following{/other_user}","gists_url":"https://api.github.com/users/hobofan/gists{/gist_id}","starred_url":"https://api.github.com/users/hobofan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hobofan/subscriptions","organizations_url":"https://api.github.com/users/hobofan/orgs","repos_url":"https://api.github.com/users/hobofan/repos","events_url":"https://api.github.com/users/hobofan/events{/privacy}","received_events_url":"https://api.github.com/users/hobofan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-31T13:49:22Z","updated_at":"2016-04-01T01:13:12Z","closed_at":"2016-04-01T01:13:12Z","pull_request":{"url":"https://api.github.com/repos/composer/packagist/pulls/659","html_url":"https://github.com/composer/packagist/pull/659","diff_url":"https://github.com/composer/packagist/pull/659.diff","patch_url":"https://github.com/composer/packagist/pull/659.patch"},"body":"Adds a HTML5 autofocus attribute to the search box. This allows the autofocus to work without JS enabled on supported browsers.\r\n\r\nI recently added the same thing to crates.io, the main Rust package repository: https://github.com/rust-lang/crates.io/pull/293"},"comment":{"url":"https://api.github.com/repos/composer/packagist/issues/comments/204197326","html_url":"https://github.com/composer/packagist/pull/659#issuecomment-204197326","issue_url":"https://api.github.com/repos/composer/packagist/issues/659","id":204197326,"user":{"login":"Seldaek","id":183678,"avatar_url":"https://avatars.githubusercontent.com/u/183678?v=3","gravatar_id":"","url":"https://api.github.com/users/Seldaek","html_url":"https://github.com/Seldaek","followers_url":"https://api.github.com/users/Seldaek/followers","following_url":"https://api.github.com/users/Seldaek/following{/other_user}","gists_url":"https://api.github.com/users/Seldaek/gists{/gist_id}","starred_url":"https://api.github.com/users/Seldaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seldaek/subscriptions","organizations_url":"https://api.github.com/users/Seldaek/orgs","repos_url":"https://api.github.com/users/Seldaek/repos","events_url":"https://api.github.com/users/Seldaek/events{/privacy}","received_events_url":"https://api.github.com/users/Seldaek/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T01:13:12Z","updated_at":"2016-04-01T01:13:12Z","body":"We solved it differently in https://github.com/composer/packagist/commit/5f431c77e1f55308f591400abf93f9590ae05c1d  because it was causing issues for some people on mobile (the touch keyboard would pop up in some mobile browsers, which is really not helpful there)."}}