{"action":"created","issue":{"url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/2274","labels_url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/2274/labels{/name}","comments_url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/2274/comments","events_url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/2274/events","html_url":"https://github.com/geoadmin/mf-geoadmin3/pull/2274","id":67340667,"number":2274,"title":"Keyboad navigation for search results","user":{"login":"gjn","id":2572317,"avatar_url":"https://avatars.githubusercontent.com/u/2572317?v=3","gravatar_id":"","url":"https://api.github.com/users/gjn","html_url":"https://github.com/gjn","followers_url":"https://api.github.com/users/gjn/followers","following_url":"https://api.github.com/users/gjn/following{/other_user}","gists_url":"https://api.github.com/users/gjn/gists{/gist_id}","starred_url":"https://api.github.com/users/gjn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjn/subscriptions","organizations_url":"https://api.github.com/users/gjn/orgs","repos_url":"https://api.github.com/users/gjn/repos","events_url":"https://api.github.com/users/gjn/events{/privacy}","received_events_url":"https://api.github.com/users/gjn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-09T11:28:16Z","updated_at":"2015-04-17T13:10:23Z","closed_at":"2015-04-10T07:06:40Z","pull_request":{"url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/pulls/2274","html_url":"https://github.com/geoadmin/mf-geoadmin3/pull/2274","diff_url":"https://github.com/geoadmin/mf-geoadmin3/pull/2274.diff","patch_url":"https://github.com/geoadmin/mf-geoadmin3/pull/2274.patch"},"body":"This PR adds keyboard navigation to search results as wished by https://github.com/geoadmin/mf-geoadmin3/issues/2189\r\n\r\nFollowing keys are supported:\r\n`Down Arrow Key`: jumps down one entry in the list (if tapped in search box, jumps to first result)\r\n`Up Arrow Key`: jumps up one entry in the list (if tapped at first result of first category, jumps to search box)\r\n`PageDown Key` : jumps down a maximum of 5 entries in the list\r\n`PageUp Key`: jumps up a maximum 5 entries in the list\r\n`Tab`: jumps to first result of next category (if there are results in than 1 categories, otherwise same as `Down Arrow Key`)\r\n`SHIFT-Tab`: jumps to last result of previous category (if there are results in more than 1 category, otherwise same sas `Up Arrow Key`)\r\n\r\nThe `Enter` key will select the element (same as clicking on the element).\r\n\r\nDown/Up/PageDown/PageUp also jump categories when at end/start of list.\r\n\r\n[TestLink](http://mf-geoadmin3.dev.bgdi.ch/gjn_search_keyboard)"},"comment":{"url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/comments/93982758","html_url":"https://github.com/geoadmin/mf-geoadmin3/pull/2274#issuecomment-93982758","issue_url":"https://api.github.com/repos/geoadmin/mf-geoadmin3/issues/2274","id":93982758,"user":{"login":"pauloamado","id":6584138,"avatar_url":"https://avatars.githubusercontent.com/u/6584138?v=3","gravatar_id":"","url":"https://api.github.com/users/pauloamado","html_url":"https://github.com/pauloamado","followers_url":"https://api.github.com/users/pauloamado/followers","following_url":"https://api.github.com/users/pauloamado/following{/other_user}","gists_url":"https://api.github.com/users/pauloamado/gists{/gist_id}","starred_url":"https://api.github.com/users/pauloamado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pauloamado/subscriptions","organizations_url":"https://api.github.com/users/pauloamado/orgs","repos_url":"https://api.github.com/users/pauloamado/repos","events_url":"https://api.github.com/users/pauloamado/events{/privacy}","received_events_url":"https://api.github.com/users/pauloamado/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T13:10:23Z","updated_at":"2015-04-17T13:10:23Z","body":"It's now in Keyboard Shortcuts : https://help.geo.admin.ch/?id=69&lang=en\r\nThx to Gilbert fot the texts ;-)"}}