{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/tofino/issues/521","repository_url":"https://api.github.com/repos/mozilla/tofino","labels_url":"https://api.github.com/repos/mozilla/tofino/issues/521/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/tofino/issues/521/comments","events_url":"https://api.github.com/repos/mozilla/tofino/issues/521/events","html_url":"https://github.com/mozilla/tofino/pull/521","id":156613781,"number":521,"title":"Show and focus URL bar when creating a new tab.","user":{"login":"ncalexan","id":1097182,"avatar_url":"https://avatars.githubusercontent.com/u/1097182?v=3","gravatar_id":"","url":"https://api.github.com/users/ncalexan","html_url":"https://github.com/ncalexan","followers_url":"https://api.github.com/users/ncalexan/followers","following_url":"https://api.github.com/users/ncalexan/following{/other_user}","gists_url":"https://api.github.com/users/ncalexan/gists{/gist_id}","starred_url":"https://api.github.com/users/ncalexan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncalexan/subscriptions","organizations_url":"https://api.github.com/users/ncalexan/orgs","repos_url":"https://api.github.com/users/ncalexan/repos","events_url":"https://api.github.com/users/ncalexan/events{/privacy}","received_events_url":"https://api.github.com/users/ncalexan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"bgrins","id":95570,"avatar_url":"https://avatars.githubusercontent.com/u/95570?v=3","gravatar_id":"","url":"https://api.github.com/users/bgrins","html_url":"https://github.com/bgrins","followers_url":"https://api.github.com/users/bgrins/followers","following_url":"https://api.github.com/users/bgrins/following{/other_user}","gists_url":"https://api.github.com/users/bgrins/gists{/gist_id}","starred_url":"https://api.github.com/users/bgrins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgrins/subscriptions","organizations_url":"https://api.github.com/users/bgrins/orgs","repos_url":"https://api.github.com/users/bgrins/repos","events_url":"https://api.github.com/users/bgrins/events{/privacy}","received_events_url":"https://api.github.com/users/bgrins/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2016-05-24T21:28:51Z","updated_at":"2016-05-24T23:25:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/tofino/pulls/521","html_url":"https://github.com/mozilla/tofino/pull/521","diff_url":"https://github.com/mozilla/tofino/pull/521.diff","patch_url":"https://github.com/mozilla/tofino/pull/521.patch"},"body":"This also shows and focuses the URL bar when creating a new window,\r\nsince a new window immediately creates a new tab.\r\n\r\nI elected to allow dispatching lists (Arrays) of actions to save renders\r\nand set a pattern for avoiding races in the future.  In spirit, this is\r\nsimilar to https://twitter.com/dan_abramov/status/656074974533459968 and\r\nhttps://github.com/tshelburne/redux-batched-actions.  However, this\r\napproach works with our thunk middleware (and those don't)."},"comment":{"url":"https://api.github.com/repos/mozilla/tofino/issues/comments/221431742","html_url":"https://github.com/mozilla/tofino/pull/521#issuecomment-221431742","issue_url":"https://api.github.com/repos/mozilla/tofino/issues/521","id":221431742,"user":{"login":"bgrins","id":95570,"avatar_url":"https://avatars.githubusercontent.com/u/95570?v=3","gravatar_id":"","url":"https://api.github.com/users/bgrins","html_url":"https://github.com/bgrins","followers_url":"https://api.github.com/users/bgrins/followers","following_url":"https://api.github.com/users/bgrins/following{/other_user}","gists_url":"https://api.github.com/users/bgrins/gists{/gist_id}","starred_url":"https://api.github.com/users/bgrins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgrins/subscriptions","organizations_url":"https://api.github.com/users/bgrins/orgs","repos_url":"https://api.github.com/users/bgrins/repos","events_url":"https://api.github.com/users/bgrins/events{/privacy}","received_events_url":"https://api.github.com/users/bgrins/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T23:25:41Z","updated_at":"2016-05-24T23:25:41Z","body":"> Is it reasonable to clearCompletions during CREATE_TAB? That is, should creating a new (selected) tab also dispatch a \"reset UI state\" command?\r\n\r\nIf the tab is going to become selected, I think so.  Same as how awesomebar becomes closed when opening a new tab in Firefox."}}
{"actor":{"display_login":"bgrins"}}