{"action":"created","comment":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/comments/101914978","pull_request_review_id":22657620,"id":101914978,"diff_hunk":"@@ -0,0 +1,47 @@\n+import ToastActions from './react_app/actions/ToastNotificationActions';\n+import $ from 'jquery';\n+\n+export function notify(notification) {\n+  let toast;\n+  \n+  if(typeof notification === \"object\") {","path":"webpack/assets/javascripts/foreman_toast_notifications.js","position":7,"original_position":7,"commit_id":"9cb9d6c9fa7ece92fe46abe5d9c50712d5a69eee","original_commit_id":"9cb9d6c9fa7ece92fe46abe5d9c50712d5a69eee","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Expected space(s) after \"if\"  keyword-spacing<br>Strings must use singlequote  quotes","created_at":"2017-02-19T11:26:38Z","updated_at":"2017-02-19T11:26:39Z","html_url":"https://github.com/theforeman/foreman/pull/4300#discussion_r101914978","pull_request_url":"https://api.github.com/repos/theforeman/foreman/pulls/4300","_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/comments/101914978"},"html":{"href":"https://github.com/theforeman/foreman/pull/4300#discussion_r101914978"},"pull_request":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/4300"}}},"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/4300","id":106897829,"html_url":"https://github.com/theforeman/foreman/pull/4300","diff_url":"https://github.com/theforeman/foreman/pull/4300.diff","patch_url":"https://github.com/theforeman/foreman/pull/4300.patch","issue_url":"https://api.github.com/repos/theforeman/foreman/issues/4300","number":4300,"state":"open","locked":false,"title":"fixes #14178 - introduce patternfly toast notifications","user":{"login":"gailsteiger","id":1733323,"avatar_url":"https://avatars.githubusercontent.com/u/1733323?v=3","gravatar_id":"","url":"https://api.github.com/users/gailsteiger","html_url":"https://github.com/gailsteiger","followers_url":"https://api.github.com/users/gailsteiger/followers","following_url":"https://api.github.com/users/gailsteiger/following{/other_user}","gists_url":"https://api.github.com/users/gailsteiger/gists{/gist_id}","starred_url":"https://api.github.com/users/gailsteiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gailsteiger/subscriptions","organizations_url":"https://api.github.com/users/gailsteiger/orgs","repos_url":"https://api.github.com/users/gailsteiger/repos","events_url":"https://api.github.com/users/gailsteiger/events{/privacy}","received_events_url":"https://api.github.com/users/gailsteiger/received_events","type":"User","site_admin":false},"body":"this PR replaces jnotify implementation.\r\n\r\nImplementation uses flux. If redux required, it will be in a separate PR","created_at":"2017-02-19T11:26:22Z","updated_at":"2017-02-19T11:26:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b1b794dc84d3e063d2cc7338359163b7a080711","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/foreman/pulls/4300/commits","review_comments_url":"https://api.github.com/repos/theforeman/foreman/pulls/4300/comments","review_comment_url":"https://api.github.com/repos/theforeman/foreman/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theforeman/foreman/issues/4300/comments","statuses_url":"https://api.github.com/repos/theforeman/foreman/statuses/9cb9d6c9fa7ece92fe46abe5d9c50712d5a69eee","head":{"label":"gailsteiger:pf-react-toast","ref":"pf-react-toast","sha":"9cb9d6c9fa7ece92fe46abe5d9c50712d5a69eee","user":{"login":"gailsteiger","id":1733323,"avatar_url":"https://avatars.githubusercontent.com/u/1733323?v=3","gravatar_id":"","url":"https://api.github.com/users/gailsteiger","html_url":"https://github.com/gailsteiger","followers_url":"https://api.github.com/users/gailsteiger/followers","following_url":"https://api.github.com/users/gailsteiger/following{/other_user}","gists_url":"https://api.github.com/users/gailsteiger/gists{/gist_id}","starred_url":"https://api.github.com/users/gailsteiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gailsteiger/subscriptions","organizations_url":"https://api.github.com/users/gailsteiger/orgs","repos_url":"https://api.github.com/users/gailsteiger/repos","events_url":"https://api.github.com/users/gailsteiger/events{/privacy}","received_events_url":"https://api.github.com/users/gailsteiger/received_events","type":"User","site_admin":false},"repo":{"id":56959249,"name":"foreman","full_name":"gailsteiger/foreman","owner":{"login":"gailsteiger","id":1733323,"avatar_url":"https://avatars.githubusercontent.com/u/1733323?v=3","gravatar_id":"","url":"https://api.github.com/users/gailsteiger","html_url":"https://github.com/gailsteiger","followers_url":"https://api.github.com/users/gailsteiger/followers","following_url":"https://api.github.com/users/gailsteiger/following{/other_user}","gists_url":"https://api.github.com/users/gailsteiger/gists{/gist_id}","starred_url":"https://api.github.com/users/gailsteiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gailsteiger/subscriptions","organizations_url":"https://api.github.com/users/gailsteiger/orgs","repos_url":"https://api.github.com/users/gailsteiger/repos","events_url":"https://api.github.com/users/gailsteiger/events{/privacy}","received_events_url":"https://api.github.com/users/gailsteiger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gailsteiger/foreman","description":"an application that automates the lifecycle of servers ","fork":true,"url":"https://api.github.com/repos/gailsteiger/foreman","forks_url":"https://api.github.com/repos/gailsteiger/foreman/forks","keys_url":"https://api.github.com/repos/gailsteiger/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gailsteiger/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gailsteiger/foreman/teams","hooks_url":"https://api.github.com/repos/gailsteiger/foreman/hooks","issue_events_url":"https://api.github.com/repos/gailsteiger/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/gailsteiger/foreman/events","assignees_url":"https://api.github.com/repos/gailsteiger/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/gailsteiger/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/gailsteiger/foreman/tags","blobs_url":"https://api.github.com/repos/gailsteiger/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gailsteiger/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gailsteiger/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/gailsteiger/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gailsteiger/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/gailsteiger/foreman/languages","stargazers_url":"https://api.github.com/repos/gailsteiger/foreman/stargazers","contributors_url":"https://api.github.com/repos/gailsteiger/foreman/contributors","subscribers_url":"https://api.github.com/repos/gailsteiger/foreman/subscribers","subscription_url":"https://api.github.com/repos/gailsteiger/foreman/subscription","commits_url":"https://api.github.com/repos/gailsteiger/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/gailsteiger/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/gailsteiger/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/gailsteiger/foreman/issues/comments{/number}","contents_url":"https://api.github.com/repos/gailsteiger/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/gailsteiger/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gailsteiger/foreman/merges","archive_url":"https://api.github.com/repos/gailsteiger/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gailsteiger/foreman/downloads","issues_url":"https://api.github.com/repos/gailsteiger/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/gailsteiger/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/gailsteiger/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/gailsteiger/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gailsteiger/foreman/labels{/name}","releases_url":"https://api.github.com/repos/gailsteiger/foreman/releases{/id}","deployments_url":"https://api.github.com/repos/gailsteiger/foreman/deployments","created_at":"2016-04-24T07:16:24Z","updated_at":"2016-04-24T07:16:29Z","pushed_at":"2017-02-19T11:22:35Z","git_url":"git://github.com/gailsteiger/foreman.git","ssh_url":"git@github.com:gailsteiger/foreman.git","clone_url":"https://github.com/gailsteiger/foreman.git","svn_url":"https://github.com/gailsteiger/foreman","homepage":"http://theforeman.org","size":52029,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"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":"develop"}},"base":{"label":"theforeman:develop","ref":"develop","sha":"0b22ca4038819f912917fde1f5c16e9bd6b2af2a","user":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"repo":{"id":258750,"name":"foreman","full_name":"theforeman/foreman","owner":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theforeman/foreman","description":"an application that automates the lifecycle of servers ","fork":false,"url":"https://api.github.com/repos/theforeman/foreman","forks_url":"https://api.github.com/repos/theforeman/foreman/forks","keys_url":"https://api.github.com/repos/theforeman/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/foreman/teams","hooks_url":"https://api.github.com/repos/theforeman/foreman/hooks","issue_events_url":"https://api.github.com/repos/theforeman/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/foreman/events","assignees_url":"https://api.github.com/repos/theforeman/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/foreman/tags","blobs_url":"https://api.github.com/repos/theforeman/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/foreman/languages","stargazers_url":"https://api.github.com/repos/theforeman/foreman/stargazers","contributors_url":"https://api.github.com/repos/theforeman/foreman/contributors","subscribers_url":"https://api.github.com/repos/theforeman/foreman/subscribers","subscription_url":"https://api.github.com/repos/theforeman/foreman/subscription","commits_url":"https://api.github.com/repos/theforeman/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/foreman/issues/comments{/number}","contents_url":"https://api.github.com/repos/theforeman/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/foreman/merges","archive_url":"https://api.github.com/repos/theforeman/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/foreman/downloads","issues_url":"https://api.github.com/repos/theforeman/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/foreman/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/foreman/releases{/id}","deployments_url":"https://api.github.com/repos/theforeman/foreman/deployments","created_at":"2009-07-23T15:07:00Z","updated_at":"2017-02-16T14:59:09Z","pushed_at":"2017-02-19T11:26:23Z","git_url":"git://github.com/theforeman/foreman.git","ssh_url":"git@github.com:theforeman/foreman.git","clone_url":"https://github.com/theforeman/foreman.git","svn_url":"https://github.com/theforeman/foreman","homepage":"http://theforeman.org","size":55354,"stargazers_count":1159,"watchers_count":1159,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":590,"mirror_url":null,"open_issues_count":91,"forks":590,"open_issues":91,"watchers":1159,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/4300"},"html":{"href":"https://github.com/theforeman/foreman/pull/4300"},"issue":{"href":"https://api.github.com/repos/theforeman/foreman/issues/4300"},"comments":{"href":"https://api.github.com/repos/theforeman/foreman/issues/4300/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/4300/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/4300/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/foreman/statuses/9cb9d6c9fa7ece92fe46abe5d9c50712d5a69eee"}}}}
{"actor":{"display_login":"houndci-bot"}}