{"action":"closed","number":104,"pull_request":{"url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/pulls/104","id":92638592,"html_url":"https://github.com/sindresorhus/notifier-for-github-chrome/pull/104","diff_url":"https://github.com/sindresorhus/notifier-for-github-chrome/pull/104.diff","patch_url":"https://github.com/sindresorhus/notifier-for-github-chrome/pull/104.patch","issue_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/issues/104","number":104,"state":"closed","locked":false,"title":"Make the notification tab \"active\" instead of \"highlighted\" (fixes #102)","user":{"login":"not-an-aardvark","id":11638619,"avatar_url":"https://avatars.githubusercontent.com/u/11638619?v=3","gravatar_id":"","url":"https://api.github.com/users/not-an-aardvark","html_url":"https://github.com/not-an-aardvark","followers_url":"https://api.github.com/users/not-an-aardvark/followers","following_url":"https://api.github.com/users/not-an-aardvark/following{/other_user}","gists_url":"https://api.github.com/users/not-an-aardvark/gists{/gist_id}","starred_url":"https://api.github.com/users/not-an-aardvark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/not-an-aardvark/subscriptions","organizations_url":"https://api.github.com/users/not-an-aardvark/orgs","repos_url":"https://api.github.com/users/not-an-aardvark/repos","events_url":"https://api.github.com/users/not-an-aardvark/events{/privacy}","received_events_url":"https://api.github.com/users/not-an-aardvark/received_events","type":"User","site_admin":false},"body":"A tab in Chrome is *active* when it's the currently-selected tab in a window. Only one tab per window can be active at a time.\r\n\r\nA *highlighted* tab is slightly different; multiple tabs can be highlighted at a time. User actions such as Cmd-W apply to all highlighted tabs. (As a demo: View one tab, then shift-click on another tab. All the tabs between the two will be given a lighter color, indicating that they are highlighted. Pressing Cmd-W will close all of the highlighted tabs.)\r\n\r\nSee [here](https://groups.google.com/a/chromium.org/forum/#!topic/chromium-extensions/hEDShE5Dwe0) for more information on the distinction between these two tab states.\r\n\r\nNotifier for GitHub looks for a tab that is already opened to the GitHub notifications page. If it finds one, it *highlights* it. This leaves the previous tab highlighted, so pressing Cmd-W will also close the tab that the user was previously using (see https://github.com/sindresorhus/notifier-for-github-chrome/issues/102).\r\n\r\nThis PR fixes the issue by marking the notifications tab as *active* instead of *highlighted*. This has the effect of un-highlighting other tabs to prevent them from being accidentally closed.","created_at":"2016-11-07T18:34:08Z","updated_at":"2016-11-07T19:56:57Z","closed_at":"2016-11-07T19:56:57Z","merged_at":"2016-11-07T19:56:57Z","merge_commit_sha":"a994d1a41db00a2be0dc99f24c6d934e72890855","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/pulls/104/commits","review_comments_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/pulls/104/comments","review_comment_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/issues/104/comments","statuses_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/statuses/b93ecc94237d4f28a0b14a436d7ecf2c36f02ded","head":{"label":"not-an-aardvark:window-closing-102","ref":"window-closing-102","sha":"b93ecc94237d4f28a0b14a436d7ecf2c36f02ded","user":{"login":"not-an-aardvark","id":11638619,"avatar_url":"https://avatars.githubusercontent.com/u/11638619?v=3","gravatar_id":"","url":"https://api.github.com/users/not-an-aardvark","html_url":"https://github.com/not-an-aardvark","followers_url":"https://api.github.com/users/not-an-aardvark/followers","following_url":"https://api.github.com/users/not-an-aardvark/following{/other_user}","gists_url":"https://api.github.com/users/not-an-aardvark/gists{/gist_id}","starred_url":"https://api.github.com/users/not-an-aardvark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/not-an-aardvark/subscriptions","organizations_url":"https://api.github.com/users/not-an-aardvark/orgs","repos_url":"https://api.github.com/users/not-an-aardvark/repos","events_url":"https://api.github.com/users/not-an-aardvark/events{/privacy}","received_events_url":"https://api.github.com/users/not-an-aardvark/received_events","type":"User","site_admin":false},"repo":{"id":71671521,"name":"notifier-for-github-chrome","full_name":"not-an-aardvark/notifier-for-github-chrome","owner":{"login":"not-an-aardvark","id":11638619,"avatar_url":"https://avatars.githubusercontent.com/u/11638619?v=3","gravatar_id":"","url":"https://api.github.com/users/not-an-aardvark","html_url":"https://github.com/not-an-aardvark","followers_url":"https://api.github.com/users/not-an-aardvark/followers","following_url":"https://api.github.com/users/not-an-aardvark/following{/other_user}","gists_url":"https://api.github.com/users/not-an-aardvark/gists{/gist_id}","starred_url":"https://api.github.com/users/not-an-aardvark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/not-an-aardvark/subscriptions","organizations_url":"https://api.github.com/users/not-an-aardvark/orgs","repos_url":"https://api.github.com/users/not-an-aardvark/repos","events_url":"https://api.github.com/users/not-an-aardvark/events{/privacy}","received_events_url":"https://api.github.com/users/not-an-aardvark/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/not-an-aardvark/notifier-for-github-chrome","description":"Chrome extension - Displays your GitHub notifications unread count","fork":true,"url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome","forks_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/forks","keys_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/teams","hooks_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/hooks","issue_events_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/issues/events{/number}","events_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/events","assignees_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/assignees{/user}","branches_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/branches{/branch}","tags_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/tags","blobs_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/git/refs{/sha}","trees_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/statuses/{sha}","languages_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/languages","stargazers_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/stargazers","contributors_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/contributors","subscribers_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/subscribers","subscription_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/subscription","commits_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/commits{/sha}","git_commits_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/git/commits{/sha}","comments_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/comments{/number}","issue_comment_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/issues/comments{/number}","contents_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/contents/{+path}","compare_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/merges","archive_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/downloads","issues_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/issues{/number}","pulls_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/pulls{/number}","milestones_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/milestones{/number}","notifications_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/labels{/name}","releases_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/releases{/id}","deployments_url":"https://api.github.com/repos/not-an-aardvark/notifier-for-github-chrome/deployments","created_at":"2016-10-22T23:34:19Z","updated_at":"2016-10-22T23:34:21Z","pushed_at":"2016-11-07T18:22:00Z","git_url":"git://github.com/not-an-aardvark/notifier-for-github-chrome.git","ssh_url":"git@github.com:not-an-aardvark/notifier-for-github-chrome.git","clone_url":"https://github.com/not-an-aardvark/notifier-for-github-chrome.git","svn_url":"https://github.com/not-an-aardvark/notifier-for-github-chrome","homepage":"","size":1666,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sindresorhus:master","ref":"master","sha":"4c17b1e0cbe8eb9e88e761c02cde27f009464b7c","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"repo":{"id":18894771,"name":"notifier-for-github-chrome","full_name":"sindresorhus/notifier-for-github-chrome","owner":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sindresorhus/notifier-for-github-chrome","description":"Chrome extension - Displays your GitHub notifications unread count","fork":false,"url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome","forks_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/forks","keys_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/teams","hooks_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/hooks","issue_events_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/issues/events{/number}","events_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/events","assignees_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/assignees{/user}","branches_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/branches{/branch}","tags_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/tags","blobs_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/git/refs{/sha}","trees_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/statuses/{sha}","languages_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/languages","stargazers_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/stargazers","contributors_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/contributors","subscribers_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/subscribers","subscription_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/subscription","commits_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/commits{/sha}","git_commits_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/git/commits{/sha}","comments_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/comments{/number}","issue_comment_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/issues/comments{/number}","contents_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/contents/{+path}","compare_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/merges","archive_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/downloads","issues_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/issues{/number}","pulls_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/pulls{/number}","milestones_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/milestones{/number}","notifications_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/labels{/name}","releases_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/releases{/id}","deployments_url":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/deployments","created_at":"2014-04-17T21:59:59Z","updated_at":"2016-11-06T09:06:24Z","pushed_at":"2016-11-07T19:56:57Z","git_url":"git://github.com/sindresorhus/notifier-for-github-chrome.git","ssh_url":"git@github.com:sindresorhus/notifier-for-github-chrome.git","clone_url":"https://github.com/sindresorhus/notifier-for-github-chrome.git","svn_url":"https://github.com/sindresorhus/notifier-for-github-chrome","homepage":"","size":1829,"stargazers_count":349,"watchers_count":349,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":62,"mirror_url":null,"open_issues_count":18,"forks":62,"open_issues":18,"watchers":349,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/pulls/104"},"html":{"href":"https://github.com/sindresorhus/notifier-for-github-chrome/pull/104"},"issue":{"href":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/issues/104"},"comments":{"href":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/issues/104/comments"},"review_comments":{"href":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/pulls/104/comments"},"review_comment":{"href":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/pulls/104/commits"},"statuses":{"href":"https://api.github.com/repos/sindresorhus/notifier-for-github-chrome/statuses/b93ecc94237d4f28a0b14a436d7ecf2c36f02ded"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jacobbearden","id":5340692,"avatar_url":"https://avatars.githubusercontent.com/u/5340692?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobbearden","html_url":"https://github.com/jacobbearden","followers_url":"https://api.github.com/users/jacobbearden/followers","following_url":"https://api.github.com/users/jacobbearden/following{/other_user}","gists_url":"https://api.github.com/users/jacobbearden/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobbearden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobbearden/subscriptions","organizations_url":"https://api.github.com/users/jacobbearden/orgs","repos_url":"https://api.github.com/users/jacobbearden/repos","events_url":"https://api.github.com/users/jacobbearden/events{/privacy}","received_events_url":"https://api.github.com/users/jacobbearden/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"jacobbearden"}}