{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material/issues/7965","repository_url":"https://api.github.com/repos/angular/material","labels_url":"https://api.github.com/repos/angular/material/issues/7965/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/7965/comments","events_url":"https://api.github.com/repos/angular/material/issues/7965/events","html_url":"https://github.com/angular/material/pull/7965","id":147110006,"number":7965,"title":"feat(interaction): added service to detect last interaction","user":{"login":"DevVersion","id":4987015,"avatar_url":"https://avatars.githubusercontent.com/u/4987015?v=3","gravatar_id":"","url":"https://api.github.com/users/DevVersion","html_url":"https://github.com/DevVersion","followers_url":"https://api.github.com/users/DevVersion/followers","following_url":"https://api.github.com/users/DevVersion/following{/other_user}","gists_url":"https://api.github.com/users/DevVersion/gists{/gist_id}","starred_url":"https://api.github.com/users/DevVersion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevVersion/subscriptions","organizations_url":"https://api.github.com/users/DevVersion/orgs","repos_url":"https://api.github.com/users/DevVersion/repos","events_url":"https://api.github.com/users/DevVersion/events{/privacy}","received_events_url":"https://api.github.com/users/DevVersion/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/material/labels/needs:%20review","name":"needs: review","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"topherfangio","id":54370,"avatar_url":"https://avatars.githubusercontent.com/u/54370?v=3","gravatar_id":"","url":"https://api.github.com/users/topherfangio","html_url":"https://github.com/topherfangio","followers_url":"https://api.github.com/users/topherfangio/followers","following_url":"https://api.github.com/users/topherfangio/following{/other_user}","gists_url":"https://api.github.com/users/topherfangio/gists{/gist_id}","starred_url":"https://api.github.com/users/topherfangio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/topherfangio/subscriptions","organizations_url":"https://api.github.com/users/topherfangio/orgs","repos_url":"https://api.github.com/users/topherfangio/repos","events_url":"https://api.github.com/users/topherfangio/events{/privacy}","received_events_url":"https://api.github.com/users/topherfangio/received_events","type":"User","site_admin":false},"assignees":[{"login":"topherfangio","id":54370,"avatar_url":"https://avatars.githubusercontent.com/u/54370?v=3","gravatar_id":"","url":"https://api.github.com/users/topherfangio","html_url":"https://github.com/topherfangio","followers_url":"https://api.github.com/users/topherfangio/followers","following_url":"https://api.github.com/users/topherfangio/following{/other_user}","gists_url":"https://api.github.com/users/topherfangio/gists{/gist_id}","starred_url":"https://api.github.com/users/topherfangio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/topherfangio/subscriptions","organizations_url":"https://api.github.com/users/topherfangio/orgs","repos_url":"https://api.github.com/users/topherfangio/repos","events_url":"https://api.github.com/users/topherfangio/events{/privacy}","received_events_url":"https://api.github.com/users/topherfangio/received_events","type":"User","site_admin":false},{"login":"bradrich","id":3429878,"avatar_url":"https://avatars.githubusercontent.com/u/3429878?v=3","gravatar_id":"","url":"https://api.github.com/users/bradrich","html_url":"https://github.com/bradrich","followers_url":"https://api.github.com/users/bradrich/followers","following_url":"https://api.github.com/users/bradrich/following{/other_user}","gists_url":"https://api.github.com/users/bradrich/gists{/gist_id}","starred_url":"https://api.github.com/users/bradrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradrich/subscriptions","organizations_url":"https://api.github.com/users/bradrich/orgs","repos_url":"https://api.github.com/users/bradrich/repos","events_url":"https://api.github.com/users/bradrich/events{/privacy}","received_events_url":"https://api.github.com/users/bradrich/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/angular/material/milestones/11","html_url":"https://github.com/angular/material/milestones/-%20Backlog","labels_url":"https://api.github.com/repos/angular/material/milestones/11/labels","id":865967,"number":11,"title":"- Backlog","description":"Grouping for issues that have been reviewed and require further information before assignment to milestone is possible.","creator":{"login":"ThomasBurleson","id":210413,"avatar_url":"https://avatars.githubusercontent.com/u/210413?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasBurleson","html_url":"https://github.com/ThomasBurleson","followers_url":"https://api.github.com/users/ThomasBurleson/followers","following_url":"https://api.github.com/users/ThomasBurleson/following{/other_user}","gists_url":"https://api.github.com/users/ThomasBurleson/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasBurleson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasBurleson/subscriptions","organizations_url":"https://api.github.com/users/ThomasBurleson/orgs","repos_url":"https://api.github.com/users/ThomasBurleson/repos","events_url":"https://api.github.com/users/ThomasBurleson/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasBurleson/received_events","type":"User","site_admin":false},"open_issues":101,"closed_issues":714,"state":"open","created_at":"2014-11-14T00:54:02Z","updated_at":"2016-09-22T18:40:34Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-04-09T09:09:14Z","updated_at":"2016-09-22T21:46:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/angular/material/pulls/7965","html_url":"https://github.com/angular/material/pull/7965","diff_url":"https://github.com/angular/material/pull/7965.diff","patch_url":"https://github.com/angular/material/pull/7965.patch"},"body":"This is a re-submit / rework of my old PR (#5589), should start from clean again. \r\n\r\nSample use-case:\r\n- Sidenav want's to restore focus after the pane gets closed, this should only happen for keyboard interactions.\r\n\r\nFixes #5563 Fixes #5434 Closes #5583"},"comment":{"url":"https://api.github.com/repos/angular/material/issues/comments/249037731","html_url":"https://github.com/angular/material/pull/7965#issuecomment-249037731","issue_url":"https://api.github.com/repos/angular/material/issues/7965","id":249037731,"user":{"login":"topherfangio","id":54370,"avatar_url":"https://avatars.githubusercontent.com/u/54370?v=3","gravatar_id":"","url":"https://api.github.com/users/topherfangio","html_url":"https://github.com/topherfangio","followers_url":"https://api.github.com/users/topherfangio/followers","following_url":"https://api.github.com/users/topherfangio/following{/other_user}","gists_url":"https://api.github.com/users/topherfangio/gists{/gist_id}","starred_url":"https://api.github.com/users/topherfangio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/topherfangio/subscriptions","organizations_url":"https://api.github.com/users/topherfangio/orgs","repos_url":"https://api.github.com/users/topherfangio/repos","events_url":"https://api.github.com/users/topherfangio/events{/privacy}","received_events_url":"https://api.github.com/users/topherfangio/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T21:46:41Z","updated_at":"2016-09-22T21:46:41Z","body":"This looks good to me. Quick question though (and this may be totally irrelevant), but your input map only handles `keydown`.\r\n\r\nDoes this mean that if someone holds down a key, then presses a button with the mouse, then lets up the key `getLastInteractionType()` will incorrectly return the mouse event?\r\n\r\nLike I said, this may be totally irrelevant/probably not a case we need to worry about; just curious more than anything :-)"}}
{"actor":{"display_login":"topherfangio"}}