GitHub PullRequestReviewCommentEvent at 2014-07-16 19:48:16
Repository: is-it-up-or-not
Actor: tomaszj
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/pulls/comments/15022778","id":15022778,"diff_hunk":"@@ -1,5 +1,5 @@\n <div class=\"indicator-panel col-lg-6 col-md-6\">\n-  <div class=\"panel\" ng-class=\"{'panel-success': isFlagUp(flag), 'panel-danger': isFlagDown(flag)}\">\n+  <div class=\"panel\" ng-class=\"{'panel-success': isFlagUp(flag), 'panel-danger': (isFlagDown(flag)&&!flag.investigating), 'panel-warning': flag.investigating}\">","path":"frontend_app/app/templates/indicators/_indicator.html","position":3,"original_position":3,"commit_id":"19c8a9cba2e133ec623146181ad1c9d6be288a15","original_commit_id":"19c8a9cba2e133ec623146181ad1c9d6be288a15","user":{"login":"tomaszj","id":759100,"avatar_url":"https://avatars.githubusercontent.com/u/759100?","gravatar_id":"b9c3f154a8421619fd8e9d9889568a95","url":"https://api.github.com/users/tomaszj","html_url":"https://github.com/tomaszj","followers_url":"https://api.github.com/users/tomaszj/followers","following_url":"https://api.github.com/users/tomaszj/following{/other_user}","gists_url":"https://api.github.com/users/tomaszj/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszj/subscriptions","organizations_url":"https://api.github.com/users/tomaszj/orgs","repos_url":"https://api.github.com/users/tomaszj/repos","events_url":"https://api.github.com/users/tomaszj/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszj/received_events","type":"User","site_admin":false},"body":"Can you put the condition for panel-danger in a separate method in controller?","created_at":"2014-07-16T19:48:16Z","updated_at":"2014-07-16T19:48:16Z","html_url":"https://github.com/tomaszj/is-it-up-or-not/pull/4#discussion_r15022778","pull_request_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/tomaszj/is-it-up-or-not/pulls/comments/15022778"},"html":{"href":"https://github.com/tomaszj/is-it-up-or-not/pull/4#discussion_r15022778"},"pull_request":{"href":"https://api.github.com/repos/tomaszj/is-it-up-or-not/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/pulls/4","id":18490360,"html_url":"https://github.com/tomaszj/is-it-up-or-not/pull/4","diff_url":"https://github.com/tomaszj/is-it-up-or-not/pull/4.diff","patch_url":"https://github.com/tomaszj/is-it-up-or-not/pull/4.patch","issue_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/issues/4","number":4,"state":"open","title":"Add investigating flag","user":{"login":"mario-paolucci","id":2952266,"avatar_url":"https://avatars.githubusercontent.com/u/2952266?","gravatar_id":"65076eb1c157eff42c42cca9e2fdf327","url":"https://api.github.com/users/mario-paolucci","html_url":"https://github.com/mario-paolucci","followers_url":"https://api.github.com/users/mario-paolucci/followers","following_url":"https://api.github.com/users/mario-paolucci/following{/other_user}","gists_url":"https://api.github.com/users/mario-paolucci/gists{/gist_id}","starred_url":"https://api.github.com/users/mario-paolucci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mario-paolucci/subscriptions","organizations_url":"https://api.github.com/users/mario-paolucci/orgs","repos_url":"https://api.github.com/users/mario-paolucci/repos","events_url":"https://api.github.com/users/mario-paolucci/events{/privacy}","received_events_url":"https://api.github.com/users/mario-paolucci/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-07-16T19:44:40Z","updated_at":"2014-07-16T19:48:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d00494454ad580681d15ecef86450c00896b21f0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/pulls/4/commits","review_comments_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/pulls/4/comments","review_comment_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/pulls/comments/{number}","comments_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/issues/4/comments","statuses_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/statuses/19c8a9cba2e133ec623146181ad1c9d6be288a15","head":{"label":"mario-paolucci:add-investigating-flag","ref":"add-investigating-flag","sha":"19c8a9cba2e133ec623146181ad1c9d6be288a15","user":{"login":"mario-paolucci","id":2952266,"avatar_url":"https://avatars.githubusercontent.com/u/2952266?","gravatar_id":"65076eb1c157eff42c42cca9e2fdf327","url":"https://api.github.com/users/mario-paolucci","html_url":"https://github.com/mario-paolucci","followers_url":"https://api.github.com/users/mario-paolucci/followers","following_url":"https://api.github.com/users/mario-paolucci/following{/other_user}","gists_url":"https://api.github.com/users/mario-paolucci/gists{/gist_id}","starred_url":"https://api.github.com/users/mario-paolucci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mario-paolucci/subscriptions","organizations_url":"https://api.github.com/users/mario-paolucci/orgs","repos_url":"https://api.github.com/users/mario-paolucci/repos","events_url":"https://api.github.com/users/mario-paolucci/events{/privacy}","received_events_url":"https://api.github.com/users/mario-paolucci/received_events","type":"User","site_admin":false},"repo":{"id":21914561,"name":"is-it-up-or-not","full_name":"mario-paolucci/is-it-up-or-not","owner":{"login":"mario-paolucci","id":2952266,"avatar_url":"https://avatars.githubusercontent.com/u/2952266?","gravatar_id":"65076eb1c157eff42c42cca9e2fdf327","url":"https://api.github.com/users/mario-paolucci","html_url":"https://github.com/mario-paolucci","followers_url":"https://api.github.com/users/mario-paolucci/followers","following_url":"https://api.github.com/users/mario-paolucci/following{/other_user}","gists_url":"https://api.github.com/users/mario-paolucci/gists{/gist_id}","starred_url":"https://api.github.com/users/mario-paolucci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mario-paolucci/subscriptions","organizations_url":"https://api.github.com/users/mario-paolucci/orgs","repos_url":"https://api.github.com/users/mario-paolucci/repos","events_url":"https://api.github.com/users/mario-paolucci/events{/privacy}","received_events_url":"https://api.github.com/users/mario-paolucci/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mario-paolucci/is-it-up-or-not","description":"Is It Up or Not?","fork":true,"url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not","forks_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/forks","keys_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/teams","hooks_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/hooks","issue_events_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/issues/events{/number}","events_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/events","assignees_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/assignees{/user}","branches_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/branches{/branch}","tags_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/tags","blobs_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/git/refs{/sha}","trees_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/statuses/{sha}","languages_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/languages","stargazers_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/stargazers","contributors_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/contributors","subscribers_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/subscribers","subscription_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/subscription","commits_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/commits{/sha}","git_commits_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/git/commits{/sha}","comments_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/comments{/number}","issue_comment_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/issues/comments/{number}","contents_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/contents/{+path}","compare_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/merges","archive_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/downloads","issues_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/issues{/number}","pulls_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/pulls{/number}","milestones_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/milestones{/number}","notifications_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/labels{/name}","releases_url":"https://api.github.com/repos/mario-paolucci/is-it-up-or-not/releases{/id}","created_at":"2014-07-16T19:42:52Z","updated_at":"2014-07-15T11:15:31Z","pushed_at":"2014-07-16T19:44:07Z","git_url":"git://github.com/mario-paolucci/is-it-up-or-not.git","ssh_url":"git@github.com:mario-paolucci/is-it-up-or-not.git","clone_url":"https://github.com/mario-paolucci/is-it-up-or-not.git","svn_url":"https://github.com/mario-paolucci/is-it-up-or-not","homepage":null,"size":2615,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tomaszj:master","ref":"master","sha":"93dbd50787095df237bcf6860dd1efc187d47adc","user":{"login":"tomaszj","id":759100,"avatar_url":"https://avatars.githubusercontent.com/u/759100?","gravatar_id":"b9c3f154a8421619fd8e9d9889568a95","url":"https://api.github.com/users/tomaszj","html_url":"https://github.com/tomaszj","followers_url":"https://api.github.com/users/tomaszj/followers","following_url":"https://api.github.com/users/tomaszj/following{/other_user}","gists_url":"https://api.github.com/users/tomaszj/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszj/subscriptions","organizations_url":"https://api.github.com/users/tomaszj/orgs","repos_url":"https://api.github.com/users/tomaszj/repos","events_url":"https://api.github.com/users/tomaszj/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszj/received_events","type":"User","site_admin":false},"repo":{"id":20231941,"name":"is-it-up-or-not","full_name":"tomaszj/is-it-up-or-not","owner":{"login":"tomaszj","id":759100,"avatar_url":"https://avatars.githubusercontent.com/u/759100?","gravatar_id":"b9c3f154a8421619fd8e9d9889568a95","url":"https://api.github.com/users/tomaszj","html_url":"https://github.com/tomaszj","followers_url":"https://api.github.com/users/tomaszj/followers","following_url":"https://api.github.com/users/tomaszj/following{/other_user}","gists_url":"https://api.github.com/users/tomaszj/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszj/subscriptions","organizations_url":"https://api.github.com/users/tomaszj/orgs","repos_url":"https://api.github.com/users/tomaszj/repos","events_url":"https://api.github.com/users/tomaszj/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomaszj/is-it-up-or-not","description":"Is It Up or Not?","fork":false,"url":"https://api.github.com/repos/tomaszj/is-it-up-or-not","forks_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/forks","keys_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/teams","hooks_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/hooks","issue_events_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/issues/events{/number}","events_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/events","assignees_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/assignees{/user}","branches_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/branches{/branch}","tags_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/tags","blobs_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/statuses/{sha}","languages_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/languages","stargazers_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/stargazers","contributors_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/contributors","subscribers_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/subscribers","subscription_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/subscription","commits_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/issues/comments/{number}","contents_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/contents/{+path}","compare_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/merges","archive_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/downloads","issues_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/issues{/number}","pulls_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/pulls{/number}","milestones_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/milestones{/number}","notifications_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/labels{/name}","releases_url":"https://api.github.com/repos/tomaszj/is-it-up-or-not/releases{/id}","created_at":"2014-05-27T19:09:03Z","updated_at":"2014-07-15T11:15:31Z","pushed_at":"2014-07-16T13:36:09Z","git_url":"git://github.com/tomaszj/is-it-up-or-not.git","ssh_url":"git@github.com:tomaszj/is-it-up-or-not.git","clone_url":"https://github.com/tomaszj/is-it-up-or-not.git","svn_url":"https://github.com/tomaszj/is-it-up-or-not","homepage":null,"size":2615,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tomaszj/is-it-up-or-not/pulls/4"},"html":{"href":"https://github.com/tomaszj/is-it-up-or-not/pull/4"},"issue":{"href":"https://api.github.com/repos/tomaszj/is-it-up-or-not/issues/4"},"comments":{"href":"https://api.github.com/repos/tomaszj/is-it-up-or-not/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/tomaszj/is-it-up-or-not/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/tomaszj/is-it-up-or-not/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/tomaszj/is-it-up-or-not/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/tomaszj/is-it-up-or-not/statuses/19c8a9cba2e133ec623146181ad1c9d6be288a15"}}}}