{"action":"created","comment":{"url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/pulls/comments/103679283","pull_request_review_id":24472539,"id":103679283,"diff_hunk":"@@ -0,0 +1,42 @@\n+import API, { parseResponseError } from 'api'\n+import { addFlashMessage } from 'actions/flash-messages'\n+\n+import {\n+  REQUEST_FAILURE_DETAILS,\n+  RECEIVE_FAILURE_DETAILS,\n+  REQUEST_FAILURE_DETAILS_FAILED\n+} from 'actions'\n+\n+const requestFailureDetails = (failure) => ({\n+  type: REQUEST_FAILURE_DETAILS,\n+  failure\n+})\n+\n+const receiveFailureDetails = (failure) => ({\n+  type: RECEIVE_FAILURE_DETAILS,\n+  failure\n+})\n+\n+const requestFailureDetailsFailed = (failure, error) => ({\n+  type: REQUEST_FAILURE_DETAILS_FAILED,\n+  failure,\n+  error\n+})\n+\n+export const fetchFailureDetails = (failure) => (dispatch, getState) => {\n+  dispatch(requestFailureDetails(failure))\n+\n+  return API.Failure\n+    .findById({ id: failure.id })\n+    .then((response) => dispatch(receiveFailureDetails(response.data)))\n+    .catch((response) => {\n+      const error = parseResponseError(response)\n+      return Promise\n+        .resolve()\n+        .then(() => dispatch(requestFailureDetailsFailed(failure, error.message)))","path":"frontend/src/actions/failures/details.js","position":36,"original_position":36,"commit_id":"aed275b097d29ba72c1e073f933def73fab205eb","original_commit_id":"aed275b097d29ba72c1e073f933def73fab205eb","user":{"login":"klippx","id":2785359,"avatar_url":"https://avatars3.githubusercontent.com/u/2785359?v=3","gravatar_id":"","url":"https://api.github.com/users/klippx","html_url":"https://github.com/klippx","followers_url":"https://api.github.com/users/klippx/followers","following_url":"https://api.github.com/users/klippx/following{/other_user}","gists_url":"https://api.github.com/users/klippx/gists{/gist_id}","starred_url":"https://api.github.com/users/klippx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klippx/subscriptions","organizations_url":"https://api.github.com/users/klippx/orgs","repos_url":"https://api.github.com/users/klippx/repos","events_url":"https://api.github.com/users/klippx/events{/privacy}","received_events_url":"https://api.github.com/users/klippx/received_events","type":"User","site_admin":false},"body":"Removed all unecessary promises 648a365","created_at":"2017-03-01T13:09:32Z","updated_at":"2017-03-01T13:09:32Z","html_url":"https://github.com/klarna/phobos_checkpoint_ui/pull/4#discussion_r103679283","pull_request_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/pulls/comments/103679283"},"html":{"href":"https://github.com/klarna/phobos_checkpoint_ui/pull/4#discussion_r103679283"},"pull_request":{"href":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/pulls/4","id":108356301,"html_url":"https://github.com/klarna/phobos_checkpoint_ui/pull/4","diff_url":"https://github.com/klarna/phobos_checkpoint_ui/pull/4.diff","patch_url":"https://github.com/klarna/phobos_checkpoint_ui/pull/4.patch","issue_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/issues/4","number":4,"state":"open","locked":false,"title":"Show and retry checkpoint failures","user":{"login":"klippx","id":2785359,"avatar_url":"https://avatars3.githubusercontent.com/u/2785359?v=3","gravatar_id":"","url":"https://api.github.com/users/klippx","html_url":"https://github.com/klippx","followers_url":"https://api.github.com/users/klippx/followers","following_url":"https://api.github.com/users/klippx/following{/other_user}","gists_url":"https://api.github.com/users/klippx/gists{/gist_id}","starred_url":"https://api.github.com/users/klippx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klippx/subscriptions","organizations_url":"https://api.github.com/users/klippx/orgs","repos_url":"https://api.github.com/users/klippx/repos","events_url":"https://api.github.com/users/klippx/events{/privacy}","received_events_url":"https://api.github.com/users/klippx/received_events","type":"User","site_admin":false},"body":"- [x] Update readme\r\n- [x] Add screenshots\r\n\r\n![demo-ui](https://cloud.githubusercontent.com/assets/2785359/23412221/31a7cf78-fdd5-11e6-804d-263fb7bba50a.gif)\r\n\r\n![great-success](https://cloud.githubusercontent.com/assets/2785359/23456459/d77707d6-fe73-11e6-91e0-a7d22db14e4c.gif)\r\n","created_at":"2017-02-28T15:41:17Z","updated_at":"2017-03-01T13:09:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8ad2d221d6101dd85c4b01cf48eef8ee1757112a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/pulls/4/commits","review_comments_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/pulls/4/comments","review_comment_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/issues/4/comments","statuses_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/statuses/aed275b097d29ba72c1e073f933def73fab205eb","head":{"label":"klarna:show-and-retry-checkpoint-failures","ref":"show-and-retry-checkpoint-failures","sha":"aed275b097d29ba72c1e073f933def73fab205eb","user":{"login":"klarna","id":394540,"avatar_url":"https://avatars3.githubusercontent.com/u/394540?v=3","gravatar_id":"","url":"https://api.github.com/users/klarna","html_url":"https://github.com/klarna","followers_url":"https://api.github.com/users/klarna/followers","following_url":"https://api.github.com/users/klarna/following{/other_user}","gists_url":"https://api.github.com/users/klarna/gists{/gist_id}","starred_url":"https://api.github.com/users/klarna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klarna/subscriptions","organizations_url":"https://api.github.com/users/klarna/orgs","repos_url":"https://api.github.com/users/klarna/repos","events_url":"https://api.github.com/users/klarna/events{/privacy}","received_events_url":"https://api.github.com/users/klarna/received_events","type":"Organization","site_admin":false},"repo":{"id":69906224,"name":"phobos_checkpoint_ui","full_name":"klarna/phobos_checkpoint_ui","owner":{"login":"klarna","id":394540,"avatar_url":"https://avatars3.githubusercontent.com/u/394540?v=3","gravatar_id":"","url":"https://api.github.com/users/klarna","html_url":"https://github.com/klarna","followers_url":"https://api.github.com/users/klarna/followers","following_url":"https://api.github.com/users/klarna/following{/other_user}","gists_url":"https://api.github.com/users/klarna/gists{/gist_id}","starred_url":"https://api.github.com/users/klarna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klarna/subscriptions","organizations_url":"https://api.github.com/users/klarna/orgs","repos_url":"https://api.github.com/users/klarna/repos","events_url":"https://api.github.com/users/klarna/events{/privacy}","received_events_url":"https://api.github.com/users/klarna/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/klarna/phobos_checkpoint_ui","description":"Phobos Checkpoint UI is a GUI for phobos checkpoint API","fork":false,"url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui","forks_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/forks","keys_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/teams","hooks_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/hooks","issue_events_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/issues/events{/number}","events_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/events","assignees_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/assignees{/user}","branches_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/branches{/branch}","tags_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/tags","blobs_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/statuses/{sha}","languages_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/languages","stargazers_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/stargazers","contributors_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/contributors","subscribers_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/subscribers","subscription_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/subscription","commits_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/contents/{+path}","compare_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/merges","archive_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/downloads","issues_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/issues{/number}","pulls_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/pulls{/number}","milestones_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/milestones{/number}","notifications_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/labels{/name}","releases_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/releases{/id}","deployments_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/deployments","created_at":"2016-10-03T20:03:22Z","updated_at":"2017-01-28T16:20:02Z","pushed_at":"2017-03-01T10:36:53Z","git_url":"git://github.com/klarna/phobos_checkpoint_ui.git","ssh_url":"git@github.com:klarna/phobos_checkpoint_ui.git","clone_url":"https://github.com/klarna/phobos_checkpoint_ui.git","svn_url":"https://github.com/klarna/phobos_checkpoint_ui","homepage":"https://rubygems.org/gems/phobos_checkpoint_ui","size":1986,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"klarna:master","ref":"master","sha":"fe0866525f631a59a7a88e5df3ed062dba27aa60","user":{"login":"klarna","id":394540,"avatar_url":"https://avatars3.githubusercontent.com/u/394540?v=3","gravatar_id":"","url":"https://api.github.com/users/klarna","html_url":"https://github.com/klarna","followers_url":"https://api.github.com/users/klarna/followers","following_url":"https://api.github.com/users/klarna/following{/other_user}","gists_url":"https://api.github.com/users/klarna/gists{/gist_id}","starred_url":"https://api.github.com/users/klarna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klarna/subscriptions","organizations_url":"https://api.github.com/users/klarna/orgs","repos_url":"https://api.github.com/users/klarna/repos","events_url":"https://api.github.com/users/klarna/events{/privacy}","received_events_url":"https://api.github.com/users/klarna/received_events","type":"Organization","site_admin":false},"repo":{"id":69906224,"name":"phobos_checkpoint_ui","full_name":"klarna/phobos_checkpoint_ui","owner":{"login":"klarna","id":394540,"avatar_url":"https://avatars3.githubusercontent.com/u/394540?v=3","gravatar_id":"","url":"https://api.github.com/users/klarna","html_url":"https://github.com/klarna","followers_url":"https://api.github.com/users/klarna/followers","following_url":"https://api.github.com/users/klarna/following{/other_user}","gists_url":"https://api.github.com/users/klarna/gists{/gist_id}","starred_url":"https://api.github.com/users/klarna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klarna/subscriptions","organizations_url":"https://api.github.com/users/klarna/orgs","repos_url":"https://api.github.com/users/klarna/repos","events_url":"https://api.github.com/users/klarna/events{/privacy}","received_events_url":"https://api.github.com/users/klarna/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/klarna/phobos_checkpoint_ui","description":"Phobos Checkpoint UI is a GUI for phobos checkpoint API","fork":false,"url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui","forks_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/forks","keys_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/teams","hooks_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/hooks","issue_events_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/issues/events{/number}","events_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/events","assignees_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/assignees{/user}","branches_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/branches{/branch}","tags_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/tags","blobs_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/statuses/{sha}","languages_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/languages","stargazers_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/stargazers","contributors_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/contributors","subscribers_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/subscribers","subscription_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/subscription","commits_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/contents/{+path}","compare_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/merges","archive_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/downloads","issues_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/issues{/number}","pulls_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/pulls{/number}","milestones_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/milestones{/number}","notifications_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/labels{/name}","releases_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/releases{/id}","deployments_url":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/deployments","created_at":"2016-10-03T20:03:22Z","updated_at":"2017-01-28T16:20:02Z","pushed_at":"2017-03-01T10:36:53Z","git_url":"git://github.com/klarna/phobos_checkpoint_ui.git","ssh_url":"git@github.com:klarna/phobos_checkpoint_ui.git","clone_url":"https://github.com/klarna/phobos_checkpoint_ui.git","svn_url":"https://github.com/klarna/phobos_checkpoint_ui","homepage":"https://rubygems.org/gems/phobos_checkpoint_ui","size":1986,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/pulls/4"},"html":{"href":"https://github.com/klarna/phobos_checkpoint_ui/pull/4"},"issue":{"href":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/issues/4"},"comments":{"href":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/klarna/phobos_checkpoint_ui/statuses/aed275b097d29ba72c1e073f933def73fab205eb"}}}}
{"actor":{"display_login":"klippx"}}