{"action":"created","issue":{"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/3513","repository_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki","labels_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/3513/labels{/name}","comments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/3513/comments","events_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/3513/events","html_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/3513","id":367399303,"node_id":"MDU6SXNzdWUzNjczOTkzMDM=","number":3513,"title":"RFE: allow [Alst+Shift+S] shortcut to launch semantic-search form at Special:Ask  with keyboard only","user":{"login":"ankostis","id":501585,"node_id":"MDQ6VXNlcjUwMTU4NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/501585?v=4","gravatar_id":"","url":"https://api.github.com/users/ankostis","html_url":"https://github.com/ankostis","followers_url":"https://api.github.com/users/ankostis/followers","following_url":"https://api.github.com/users/ankostis/following{/other_user}","gists_url":"https://api.github.com/users/ankostis/gists{/gist_id}","starred_url":"https://api.github.com/users/ankostis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankostis/subscriptions","organizations_url":"https://api.github.com/users/ankostis/orgs","repos_url":"https://api.github.com/users/ankostis/repos","events_url":"https://api.github.com/users/ankostis/events{/privacy}","received_events_url":"https://api.github.com/users/ankostis/received_events","type":"User","site_admin":false},"labels":[{"id":79477016,"node_id":"MDU6TGFiZWw3OTQ3NzAxNg==","url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/labels/enhancement","name":"enhancement","color":"207de5","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-05T23:35:31Z","updated_at":"2018-10-12T19:03:00Z","closed_at":null,"author_association":"NONE","body":"- SMW version: 2.5.8\r\n\r\n## Problem\r\nI don't know of a way to launch searches only with keyboard.  Having to use the mouse when building queries just for clicking the submit button is not user friendly for advanced users.\r\n\r\n## Suggested enhancement\r\nBind `accesskey=\"s\"` to the \"Find results\" submit button, so **[Alt+Shift+S]** runs the query (tested in Chrome only).\r\n\r\nNote: \"S\" may mean \"search\", and is the same as the \"Save\" shortcut on mediawiki edit boxes.\r\n\r\n## Workaround:\r\nI have put this in my `mediaWiki:Common.js`:\r\n```javascript\r\n$(function () {\r\n\t// Allow to semantic-search with [Alt+Shift+S] in Special:Ask form.\r\n\t//\r\n\t$('input.smw-ask-action-btn.smw-ask-action-btn-dblue').each(function() {\r\n\t\t$(this).attr('accesskey', 's');\r\n\t});\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/comments/429428391","html_url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/3513#issuecomment-429428391","issue_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMediaWiki/issues/3513","id":429428391,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTQyODM5MQ==","user":{"login":"ankostis","id":501585,"node_id":"MDQ6VXNlcjUwMTU4NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/501585?v=4","gravatar_id":"","url":"https://api.github.com/users/ankostis","html_url":"https://github.com/ankostis","followers_url":"https://api.github.com/users/ankostis/followers","following_url":"https://api.github.com/users/ankostis/following{/other_user}","gists_url":"https://api.github.com/users/ankostis/gists{/gist_id}","starred_url":"https://api.github.com/users/ankostis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankostis/subscriptions","organizations_url":"https://api.github.com/users/ankostis/orgs","repos_url":"https://api.github.com/users/ankostis/repos","events_url":"https://api.github.com/users/ankostis/events{/privacy}","received_events_url":"https://api.github.com/users/ankostis/received_events","type":"User","site_admin":false},"created_at":"2018-10-12T19:03:00Z","updated_at":"2018-10-12T19:03:00Z","author_association":"NONE","body":"After having experimented for a week with **[Alt+Shift+S]**,\r\ni can tell that finger-RAM jupms to **[Alt+Shift+P]** (preview) because running queries feels like revieing a page while editing, a much less intrusive action than **S** (for saving), which you press only rarely.\r\n\r\nSo eventually i've changed `accesskey` it to **P**. \r\n(from \"perform search\"?)"}}
{"actor":{"display_login":"ankostis"}}