{"action":"created","comment":{"url":"https://api.github.com/repos/sindresorhus/refined-github/pulls/comments/224656722","pull_request_review_id":164080295,"id":224656722,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDY1NjcyMg==","diff_hunk":"@@ -0,0 +1,38 @@\n+/*","path":"source/features/add-filter-exclude-label.js","position":1,"original_position":1,"commit_id":"6a5e27e9d06edb3045bb4ac12af0dcdfdf693e04","original_commit_id":"6a5e27e9d06edb3045bb4ac12af0dcdfdf693e04","user":{"login":"bfred-it","id":1402241,"node_id":"MDQ6VXNlcjE0MDIyNDE=","avatar_url":"https://avatars3.githubusercontent.com/u/1402241?v=4","gravatar_id":"","url":"https://api.github.com/users/bfred-it","html_url":"https://github.com/bfred-it","followers_url":"https://api.github.com/users/bfred-it/followers","following_url":"https://api.github.com/users/bfred-it/following{/other_user}","gists_url":"https://api.github.com/users/bfred-it/gists{/gist_id}","starred_url":"https://api.github.com/users/bfred-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfred-it/subscriptions","organizations_url":"https://api.github.com/users/bfred-it/orgs","repos_url":"https://api.github.com/users/bfred-it/repos","events_url":"https://api.github.com/users/bfred-it/events{/privacy}","received_events_url":"https://api.github.com/users/bfred-it/received_events","type":"User","site_admin":false},"body":"This file needs to be deleted I suppose","created_at":"2018-10-12T02:36:31Z","updated_at":"2018-10-12T02:55:15Z","html_url":"https://github.com/sindresorhus/refined-github/pull/1532#discussion_r224656722","pull_request_url":"https://api.github.com/repos/sindresorhus/refined-github/pulls/1532","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/refined-github/pulls/comments/224656722"},"html":{"href":"https://github.com/sindresorhus/refined-github/pull/1532#discussion_r224656722"},"pull_request":{"href":"https://api.github.com/repos/sindresorhus/refined-github/pulls/1532"}}},"pull_request":{"url":"https://api.github.com/repos/sindresorhus/refined-github/pulls/1532","id":215788608,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1Nzg4NjA4","html_url":"https://github.com/sindresorhus/refined-github/pull/1532","diff_url":"https://github.com/sindresorhus/refined-github/pull/1532.diff","patch_url":"https://github.com/sindresorhus/refined-github/pull/1532.patch","issue_url":"https://api.github.com/repos/sindresorhus/refined-github/issues/1532","number":1532,"state":"open","locked":false,"title":"Add way to exclude filters with a shortcut","user":{"login":"dertieran","id":9264728,"node_id":"MDQ6VXNlcjkyNjQ3Mjg=","avatar_url":"https://avatars3.githubusercontent.com/u/9264728?v=4","gravatar_id":"","url":"https://api.github.com/users/dertieran","html_url":"https://github.com/dertieran","followers_url":"https://api.github.com/users/dertieran/followers","following_url":"https://api.github.com/users/dertieran/following{/other_user}","gists_url":"https://api.github.com/users/dertieran/gists{/gist_id}","starred_url":"https://api.github.com/users/dertieran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dertieran/subscriptions","organizations_url":"https://api.github.com/users/dertieran/orgs","repos_url":"https://api.github.com/users/dertieran/repos","events_url":"https://api.github.com/users/dertieran/events{/privacy}","received_events_url":"https://api.github.com/users/dertieran/received_events","type":"User","site_admin":false},"body":"As mentioned in #1507 this feature is a bit hard to implement, but I took a shot at it and it at least works for the most cases.\r\n\r\nThis allows to exclude a label by clicking on them with the alt key pressed.\r\nRight now it replaces the location, so some normal link behavior might not work as expected.\r\n\r\nAn alternative would be (temporarily) replacing the `href` with the new url.\r\nBut on my system (arch linux) clicking the label with the alt key press will open the file dialog.\r\nI'm not sure how this behaves on other systems.\r\n\r\nI'm not to sure about the current solution so I'm open for other suggestions.\r\n\r\n**To-do**\r\n- [ ] Add entry to `readme`\r\n- [ ] Indicate that the label is excluded (replace ✓)\r\n- [ ] Replace **\"Not reviewed by you\"** filter","created_at":"2018-09-15T20:44:02Z","updated_at":"2018-10-12T02:55:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"719952026d2a46fa9eb6943d93f958a6abc2ee4c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sindresorhus/refined-github/pulls/1532/commits","review_comments_url":"https://api.github.com/repos/sindresorhus/refined-github/pulls/1532/comments","review_comment_url":"https://api.github.com/repos/sindresorhus/refined-github/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sindresorhus/refined-github/issues/1532/comments","statuses_url":"https://api.github.com/repos/sindresorhus/refined-github/statuses/6a5e27e9d06edb3045bb4ac12af0dcdfdf693e04","head":{"label":"dertieran:exclude-label-filter","ref":"exclude-label-filter","sha":"6a5e27e9d06edb3045bb4ac12af0dcdfdf693e04","user":{"login":"dertieran","id":9264728,"node_id":"MDQ6VXNlcjkyNjQ3Mjg=","avatar_url":"https://avatars3.githubusercontent.com/u/9264728?v=4","gravatar_id":"","url":"https://api.github.com/users/dertieran","html_url":"https://github.com/dertieran","followers_url":"https://api.github.com/users/dertieran/followers","following_url":"https://api.github.com/users/dertieran/following{/other_user}","gists_url":"https://api.github.com/users/dertieran/gists{/gist_id}","starred_url":"https://api.github.com/users/dertieran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dertieran/subscriptions","organizations_url":"https://api.github.com/users/dertieran/orgs","repos_url":"https://api.github.com/users/dertieran/repos","events_url":"https://api.github.com/users/dertieran/events{/privacy}","received_events_url":"https://api.github.com/users/dertieran/received_events","type":"User","site_admin":false},"repo":{"id":135191049,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUxOTEwNDk=","name":"refined-github","full_name":"dertieran/refined-github","private":false,"owner":{"login":"dertieran","id":9264728,"node_id":"MDQ6VXNlcjkyNjQ3Mjg=","avatar_url":"https://avatars3.githubusercontent.com/u/9264728?v=4","gravatar_id":"","url":"https://api.github.com/users/dertieran","html_url":"https://github.com/dertieran","followers_url":"https://api.github.com/users/dertieran/followers","following_url":"https://api.github.com/users/dertieran/following{/other_user}","gists_url":"https://api.github.com/users/dertieran/gists{/gist_id}","starred_url":"https://api.github.com/users/dertieran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dertieran/subscriptions","organizations_url":"https://api.github.com/users/dertieran/orgs","repos_url":"https://api.github.com/users/dertieran/repos","events_url":"https://api.github.com/users/dertieran/events{/privacy}","received_events_url":"https://api.github.com/users/dertieran/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dertieran/refined-github","description":"Browser extension that simplifies the GitHub interface and adds useful features","fork":true,"url":"https://api.github.com/repos/dertieran/refined-github","forks_url":"https://api.github.com/repos/dertieran/refined-github/forks","keys_url":"https://api.github.com/repos/dertieran/refined-github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dertieran/refined-github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dertieran/refined-github/teams","hooks_url":"https://api.github.com/repos/dertieran/refined-github/hooks","issue_events_url":"https://api.github.com/repos/dertieran/refined-github/issues/events{/number}","events_url":"https://api.github.com/repos/dertieran/refined-github/events","assignees_url":"https://api.github.com/repos/dertieran/refined-github/assignees{/user}","branches_url":"https://api.github.com/repos/dertieran/refined-github/branches{/branch}","tags_url":"https://api.github.com/repos/dertieran/refined-github/tags","blobs_url":"https://api.github.com/repos/dertieran/refined-github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dertieran/refined-github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dertieran/refined-github/git/refs{/sha}","trees_url":"https://api.github.com/repos/dertieran/refined-github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dertieran/refined-github/statuses/{sha}","languages_url":"https://api.github.com/repos/dertieran/refined-github/languages","stargazers_url":"https://api.github.com/repos/dertieran/refined-github/stargazers","contributors_url":"https://api.github.com/repos/dertieran/refined-github/contributors","subscribers_url":"https://api.github.com/repos/dertieran/refined-github/subscribers","subscription_url":"https://api.github.com/repos/dertieran/refined-github/subscription","commits_url":"https://api.github.com/repos/dertieran/refined-github/commits{/sha}","git_commits_url":"https://api.github.com/repos/dertieran/refined-github/git/commits{/sha}","comments_url":"https://api.github.com/repos/dertieran/refined-github/comments{/number}","issue_comment_url":"https://api.github.com/repos/dertieran/refined-github/issues/comments{/number}","contents_url":"https://api.github.com/repos/dertieran/refined-github/contents/{+path}","compare_url":"https://api.github.com/repos/dertieran/refined-github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dertieran/refined-github/merges","archive_url":"https://api.github.com/repos/dertieran/refined-github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dertieran/refined-github/downloads","issues_url":"https://api.github.com/repos/dertieran/refined-github/issues{/number}","pulls_url":"https://api.github.com/repos/dertieran/refined-github/pulls{/number}","milestones_url":"https://api.github.com/repos/dertieran/refined-github/milestones{/number}","notifications_url":"https://api.github.com/repos/dertieran/refined-github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dertieran/refined-github/labels{/name}","releases_url":"https://api.github.com/repos/dertieran/refined-github/releases{/id}","deployments_url":"https://api.github.com/repos/dertieran/refined-github/deployments","created_at":"2018-05-28T17:32:31Z","updated_at":"2018-09-07T18:10:29Z","pushed_at":"2018-09-24T09:50:19Z","git_url":"git://github.com/dertieran/refined-github.git","ssh_url":"git@github.com:dertieran/refined-github.git","clone_url":"https://github.com/dertieran/refined-github.git","svn_url":"https://github.com/dertieran/refined-github","homepage":"","size":3099,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"sindresorhus:master","ref":"master","sha":"d2079bdc7dccb8af807dfe415aac43c6c42d0e94","user":{"login":"sindresorhus","id":170270,"node_id":"MDQ6VXNlcjE3MDI3MA==","avatar_url":"https://avatars1.githubusercontent.com/u/170270?v=4","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":51769689,"node_id":"MDEwOlJlcG9zaXRvcnk1MTc2OTY4OQ==","name":"refined-github","full_name":"sindresorhus/refined-github","private":false,"owner":{"login":"sindresorhus","id":170270,"node_id":"MDQ6VXNlcjE3MDI3MA==","avatar_url":"https://avatars1.githubusercontent.com/u/170270?v=4","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},"html_url":"https://github.com/sindresorhus/refined-github","description":"Browser extension that simplifies the GitHub interface and adds useful features","fork":false,"url":"https://api.github.com/repos/sindresorhus/refined-github","forks_url":"https://api.github.com/repos/sindresorhus/refined-github/forks","keys_url":"https://api.github.com/repos/sindresorhus/refined-github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sindresorhus/refined-github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sindresorhus/refined-github/teams","hooks_url":"https://api.github.com/repos/sindresorhus/refined-github/hooks","issue_events_url":"https://api.github.com/repos/sindresorhus/refined-github/issues/events{/number}","events_url":"https://api.github.com/repos/sindresorhus/refined-github/events","assignees_url":"https://api.github.com/repos/sindresorhus/refined-github/assignees{/user}","branches_url":"https://api.github.com/repos/sindresorhus/refined-github/branches{/branch}","tags_url":"https://api.github.com/repos/sindresorhus/refined-github/tags","blobs_url":"https://api.github.com/repos/sindresorhus/refined-github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sindresorhus/refined-github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sindresorhus/refined-github/git/refs{/sha}","trees_url":"https://api.github.com/repos/sindresorhus/refined-github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sindresorhus/refined-github/statuses/{sha}","languages_url":"https://api.github.com/repos/sindresorhus/refined-github/languages","stargazers_url":"https://api.github.com/repos/sindresorhus/refined-github/stargazers","contributors_url":"https://api.github.com/repos/sindresorhus/refined-github/contributors","subscribers_url":"https://api.github.com/repos/sindresorhus/refined-github/subscribers","subscription_url":"https://api.github.com/repos/sindresorhus/refined-github/subscription","commits_url":"https://api.github.com/repos/sindresorhus/refined-github/commits{/sha}","git_commits_url":"https://api.github.com/repos/sindresorhus/refined-github/git/commits{/sha}","comments_url":"https://api.github.com/repos/sindresorhus/refined-github/comments{/number}","issue_comment_url":"https://api.github.com/repos/sindresorhus/refined-github/issues/comments{/number}","contents_url":"https://api.github.com/repos/sindresorhus/refined-github/contents/{+path}","compare_url":"https://api.github.com/repos/sindresorhus/refined-github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sindresorhus/refined-github/merges","archive_url":"https://api.github.com/repos/sindresorhus/refined-github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sindresorhus/refined-github/downloads","issues_url":"https://api.github.com/repos/sindresorhus/refined-github/issues{/number}","pulls_url":"https://api.github.com/repos/sindresorhus/refined-github/pulls{/number}","milestones_url":"https://api.github.com/repos/sindresorhus/refined-github/milestones{/number}","notifications_url":"https://api.github.com/repos/sindresorhus/refined-github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sindresorhus/refined-github/labels{/name}","releases_url":"https://api.github.com/repos/sindresorhus/refined-github/releases{/id}","deployments_url":"https://api.github.com/repos/sindresorhus/refined-github/deployments","created_at":"2016-02-15T16:45:02Z","updated_at":"2018-10-12T01:59:54Z","pushed_at":"2018-10-11T12:43:22Z","git_url":"git://github.com/sindresorhus/refined-github.git","ssh_url":"git@github.com:sindresorhus/refined-github.git","clone_url":"https://github.com/sindresorhus/refined-github.git","svn_url":"https://github.com/sindresorhus/refined-github","homepage":"","size":3075,"stargazers_count":6553,"watchers_count":6553,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":466,"mirror_url":null,"archived":false,"open_issues_count":118,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":466,"open_issues":118,"watchers":6553,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/refined-github/pulls/1532"},"html":{"href":"https://github.com/sindresorhus/refined-github/pull/1532"},"issue":{"href":"https://api.github.com/repos/sindresorhus/refined-github/issues/1532"},"comments":{"href":"https://api.github.com/repos/sindresorhus/refined-github/issues/1532/comments"},"review_comments":{"href":"https://api.github.com/repos/sindresorhus/refined-github/pulls/1532/comments"},"review_comment":{"href":"https://api.github.com/repos/sindresorhus/refined-github/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sindresorhus/refined-github/pulls/1532/commits"},"statuses":{"href":"https://api.github.com/repos/sindresorhus/refined-github/statuses/6a5e27e9d06edb3045bb4ac12af0dcdfdf693e04"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"bfred-it"}}