{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/pulls/comments/203724508","pull_request_review_id":138667420,"id":203724508,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMzcyNDUwOA==","diff_hunk":"@@ -0,0 +1,30 @@\n+const extractWhiteboardTags = whiteboard => {\n+  // find occurence like lang=perl,js or lang=perl/js\n+  const re = /(\\w+)=(\\w+)[,|/](\\w+)/;\n+  // find all element within square bracket starting with lang with as little\n+  // string as possible inside\n+  const keywords = (whiteboard.match(/\\[lang.+?\\]/g) || []).reduce(\n+    (prev, item) => {\n+      // remove the square bracket","path":"src/utils/extractWhiteboard.js","position":8,"original_position":8,"commit_id":"98a1e9b8fbce3f83557e4989cd750274032b7c6e","original_commit_id":"98a1e9b8fbce3f83557e4989cd750274032b7c6e","user":{"login":"helfi92","id":3766511,"node_id":"MDQ6VXNlcjM3NjY1MTE=","avatar_url":"https://avatars0.githubusercontent.com/u/3766511?v=4","gravatar_id":"","url":"https://api.github.com/users/helfi92","html_url":"https://github.com/helfi92","followers_url":"https://api.github.com/users/helfi92/followers","following_url":"https://api.github.com/users/helfi92/following{/other_user}","gists_url":"https://api.github.com/users/helfi92/gists{/gist_id}","starred_url":"https://api.github.com/users/helfi92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helfi92/subscriptions","organizations_url":"https://api.github.com/users/helfi92/orgs","repos_url":"https://api.github.com/users/helfi92/repos","events_url":"https://api.github.com/users/helfi92/events{/privacy}","received_events_url":"https://api.github.com/users/helfi92/received_events","type":"User","site_admin":false},"body":"s/bracket/brackets/","created_at":"2018-07-19T13:26:20Z","updated_at":"2018-07-19T13:49:04Z","html_url":"https://github.com/mozilla-frontend-infra/codetribute/pull/101#discussion_r203724508","pull_request_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/pulls/101","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/pulls/comments/203724508"},"html":{"href":"https://github.com/mozilla-frontend-infra/codetribute/pull/101#discussion_r203724508"},"pull_request":{"href":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/pulls/101"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/pulls/101","id":201323248,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAxMzIzMjQ4","html_url":"https://github.com/mozilla-frontend-infra/codetribute/pull/101","diff_url":"https://github.com/mozilla-frontend-infra/codetribute/pull/101.diff","patch_url":"https://github.com/mozilla-frontend-infra/codetribute/pull/101.patch","issue_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/issues/101","number":101,"state":"open","locked":false,"title":"Append whiteboard as tag, thus allowing filtering by language for bugzilla bugs","user":{"login":"fiennyangeln","id":24544912,"node_id":"MDQ6VXNlcjI0NTQ0OTEy","avatar_url":"https://avatars1.githubusercontent.com/u/24544912?v=4","gravatar_id":"","url":"https://api.github.com/users/fiennyangeln","html_url":"https://github.com/fiennyangeln","followers_url":"https://api.github.com/users/fiennyangeln/followers","following_url":"https://api.github.com/users/fiennyangeln/following{/other_user}","gists_url":"https://api.github.com/users/fiennyangeln/gists{/gist_id}","starred_url":"https://api.github.com/users/fiennyangeln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fiennyangeln/subscriptions","organizations_url":"https://api.github.com/users/fiennyangeln/orgs","repos_url":"https://api.github.com/users/fiennyangeln/repos","events_url":"https://api.github.com/users/fiennyangeln/events{/privacy}","received_events_url":"https://api.github.com/users/fiennyangeln/received_events","type":"User","site_admin":false},"body":"Add whiteboard as field in graphql, extract the string inside square bracket\r\n\r\nCloses #100","created_at":"2018-07-13T15:21:19Z","updated_at":"2018-07-19T13:49:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ba61770c57fdb0d896b8483dbced3fa53129ab05","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/pulls/101/commits","review_comments_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/pulls/101/comments","review_comment_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/issues/101/comments","statuses_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/statuses/98a1e9b8fbce3f83557e4989cd750274032b7c6e","head":{"label":"fiennyangeln:enhancement/add-whiteboard-into-tag","ref":"enhancement/add-whiteboard-into-tag","sha":"98a1e9b8fbce3f83557e4989cd750274032b7c6e","user":{"login":"fiennyangeln","id":24544912,"node_id":"MDQ6VXNlcjI0NTQ0OTEy","avatar_url":"https://avatars1.githubusercontent.com/u/24544912?v=4","gravatar_id":"","url":"https://api.github.com/users/fiennyangeln","html_url":"https://github.com/fiennyangeln","followers_url":"https://api.github.com/users/fiennyangeln/followers","following_url":"https://api.github.com/users/fiennyangeln/following{/other_user}","gists_url":"https://api.github.com/users/fiennyangeln/gists{/gist_id}","starred_url":"https://api.github.com/users/fiennyangeln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fiennyangeln/subscriptions","organizations_url":"https://api.github.com/users/fiennyangeln/orgs","repos_url":"https://api.github.com/users/fiennyangeln/repos","events_url":"https://api.github.com/users/fiennyangeln/events{/privacy}","received_events_url":"https://api.github.com/users/fiennyangeln/received_events","type":"User","site_admin":false},"repo":{"id":133384852,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMzODQ4NTI=","name":"bug-issue-ui","full_name":"fiennyangeln/bug-issue-ui","owner":{"login":"fiennyangeln","id":24544912,"node_id":"MDQ6VXNlcjI0NTQ0OTEy","avatar_url":"https://avatars1.githubusercontent.com/u/24544912?v=4","gravatar_id":"","url":"https://api.github.com/users/fiennyangeln","html_url":"https://github.com/fiennyangeln","followers_url":"https://api.github.com/users/fiennyangeln/followers","following_url":"https://api.github.com/users/fiennyangeln/following{/other_user}","gists_url":"https://api.github.com/users/fiennyangeln/gists{/gist_id}","starred_url":"https://api.github.com/users/fiennyangeln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fiennyangeln/subscriptions","organizations_url":"https://api.github.com/users/fiennyangeln/orgs","repos_url":"https://api.github.com/users/fiennyangeln/repos","events_url":"https://api.github.com/users/fiennyangeln/events{/privacy}","received_events_url":"https://api.github.com/users/fiennyangeln/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fiennyangeln/bug-issue-ui","description":null,"fork":true,"url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui","forks_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/forks","keys_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/teams","hooks_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/hooks","issue_events_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/issues/events{/number}","events_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/events","assignees_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/assignees{/user}","branches_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/branches{/branch}","tags_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/tags","blobs_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/languages","stargazers_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/stargazers","contributors_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/contributors","subscribers_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/subscribers","subscription_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/subscription","commits_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/contents/{+path}","compare_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/merges","archive_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/downloads","issues_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/issues{/number}","pulls_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/labels{/name}","releases_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/releases{/id}","deployments_url":"https://api.github.com/repos/fiennyangeln/bug-issue-ui/deployments","created_at":"2018-05-14T15:42:28Z","updated_at":"2018-07-18T03:12:41Z","pushed_at":"2018-07-19T12:24:02Z","git_url":"git://github.com/fiennyangeln/bug-issue-ui.git","ssh_url":"git@github.com:fiennyangeln/bug-issue-ui.git","clone_url":"https://github.com/fiennyangeln/bug-issue-ui.git","svn_url":"https://github.com/fiennyangeln/bug-issue-ui","homepage":null,"size":35675,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla-frontend-infra:master","ref":"master","sha":"4293d9ea09c5f7376e1f145ac7d81b84ddb5d31c","user":{"login":"mozilla-frontend-infra","id":24963858,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0OTYzODU4","avatar_url":"https://avatars3.githubusercontent.com/u/24963858?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla-frontend-infra","html_url":"https://github.com/mozilla-frontend-infra","followers_url":"https://api.github.com/users/mozilla-frontend-infra/followers","following_url":"https://api.github.com/users/mozilla-frontend-infra/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-frontend-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-frontend-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-frontend-infra/subscriptions","organizations_url":"https://api.github.com/users/mozilla-frontend-infra/orgs","repos_url":"https://api.github.com/users/mozilla-frontend-infra/repos","events_url":"https://api.github.com/users/mozilla-frontend-infra/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-frontend-infra/received_events","type":"Organization","site_admin":false},"repo":{"id":133352736,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMzNTI3MzY=","name":"codetribute","full_name":"mozilla-frontend-infra/codetribute","owner":{"login":"mozilla-frontend-infra","id":24963858,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0OTYzODU4","avatar_url":"https://avatars3.githubusercontent.com/u/24963858?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla-frontend-infra","html_url":"https://github.com/mozilla-frontend-infra","followers_url":"https://api.github.com/users/mozilla-frontend-infra/followers","following_url":"https://api.github.com/users/mozilla-frontend-infra/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-frontend-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-frontend-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-frontend-infra/subscriptions","organizations_url":"https://api.github.com/users/mozilla-frontend-infra/orgs","repos_url":"https://api.github.com/users/mozilla-frontend-infra/repos","events_url":"https://api.github.com/users/mozilla-frontend-infra/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-frontend-infra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla-frontend-infra/codetribute","description":null,"fork":false,"url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute","forks_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/forks","keys_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/teams","hooks_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/hooks","issue_events_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/events","assignees_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/tags","blobs_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/languages","stargazers_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/stargazers","contributors_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/contributors","subscribers_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/subscribers","subscription_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/subscription","commits_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/merges","archive_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/downloads","issues_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/deployments","created_at":"2018-05-14T11:48:42Z","updated_at":"2018-07-19T06:13:17Z","pushed_at":"2018-07-19T12:53:48Z","git_url":"git://github.com/mozilla-frontend-infra/codetribute.git","ssh_url":"git@github.com:mozilla-frontend-infra/codetribute.git","clone_url":"https://github.com/mozilla-frontend-infra/codetribute.git","svn_url":"https://github.com/mozilla-frontend-infra/codetribute","homepage":null,"size":35458,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":19,"license":null,"forks":14,"open_issues":19,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/pulls/101"},"html":{"href":"https://github.com/mozilla-frontend-infra/codetribute/pull/101"},"issue":{"href":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/issues/101"},"comments":{"href":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/pulls/101/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/pulls/101/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla-frontend-infra/codetribute/statuses/98a1e9b8fbce3f83557e4989cd750274032b7c6e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"helfi92"}}