{"action":"created","comment":{"url":"https://api.github.com/repos/pagarme/pilot/pulls/comments/189582558","pull_request_review_id":121788529,"id":189582558,"diff_hunk":"@@ -0,0 +1,86 @@\n+import React, { Component, Fragment } from 'react'\n+import PropTypes from 'prop-types'\n+import {\n+  Button,\n+  Col,\n+  Grid,\n+  ModalActions,\n+  ModalContent,\n+  Row,\n+} from 'former-kit'\n+import style from './style.css'\n+\n+class ManualAnalysisForm extends Component {\n+  constructor (props) {\n+    super(props)\n+\n+    this.handleSubmit = this.handleSubmit.bind(this)\n+  }\n+\n+  handleSubmit () {\n+    this.props.onConfirm(this.state.password)\n+  }\n+\n+  render () {\n+    const {\n+      action,\n+      onCancel,\n+      transactionId,\n+      t,\n+    } = this.props\n+\n+    return (\n+      <Fragment>\n+        <ModalContent>\n+          <Grid>\n+            <Row stretch>\n+              <Col palm={12} tablet={12} desk={12} tv={12}>\n+                <div className={style.container}>\n+                  {\n+                    action === 'approve'\n+                    ?\n+                      t('pages.antifraud_analysis.approval_question')\n+                    :\n+                      t('pages.antifraud_analysis.refuse_question')\n+                  }&nbsp;\n+                  <strong className={style.transactionId}>ID#{transactionId}</strong>, <strong className={style.transactionId}>{t('models.antifraud_analysis.status.reproves')}</strong>&nbsp;","path":"packages/pilot/src/containers/ManualAnalysis/Form/index.js","position":46,"original_position":46,"commit_id":"2b36a9ce1484079ebf5f7c8fff4301be70d0c326","original_commit_id":"2b36a9ce1484079ebf5f7c8fff4301be70d0c326","user":{"login":"moog","id":4884974,"avatar_url":"https://avatars0.githubusercontent.com/u/4884974?v=4","gravatar_id":"","url":"https://api.github.com/users/moog","html_url":"https://github.com/moog","followers_url":"https://api.github.com/users/moog/followers","following_url":"https://api.github.com/users/moog/following{/other_user}","gists_url":"https://api.github.com/users/moog/gists{/gist_id}","starred_url":"https://api.github.com/users/moog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moog/subscriptions","organizations_url":"https://api.github.com/users/moog/orgs","repos_url":"https://api.github.com/users/moog/repos","events_url":"https://api.github.com/users/moog/events{/privacy}","received_events_url":"https://api.github.com/users/moog/received_events","type":"User","site_admin":false},"body":"@macabeus Faz sentido deixarmos `ID#` ali na frase? Acredito que deixando apenas o id da transação, o usuário já vai concluir do que se trata.","created_at":"2018-05-21T13:04:56Z","updated_at":"2018-05-21T13:04:56Z","html_url":"https://github.com/pagarme/pilot/pull/640#discussion_r189582558","pull_request_url":"https://api.github.com/repos/pagarme/pilot/pulls/640","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/pagarme/pilot/pulls/comments/189582558"},"html":{"href":"https://github.com/pagarme/pilot/pull/640#discussion_r189582558"},"pull_request":{"href":"https://api.github.com/repos/pagarme/pilot/pulls/640"}}},"pull_request":{"url":"https://api.github.com/repos/pagarme/pilot/pulls/640","id":189254021,"html_url":"https://github.com/pagarme/pilot/pull/640","diff_url":"https://github.com/pagarme/pilot/pull/640.diff","patch_url":"https://github.com/pagarme/pilot/pull/640.patch","issue_url":"https://api.github.com/repos/pagarme/pilot/issues/640","number":640,"state":"open","locked":false,"title":"manual analysis: add modal","user":{"login":"macabeus","id":9501115,"avatar_url":"https://avatars1.githubusercontent.com/u/9501115?v=4","gravatar_id":"","url":"https://api.github.com/users/macabeus","html_url":"https://github.com/macabeus","followers_url":"https://api.github.com/users/macabeus/followers","following_url":"https://api.github.com/users/macabeus/following{/other_user}","gists_url":"https://api.github.com/users/macabeus/gists{/gist_id}","starred_url":"https://api.github.com/users/macabeus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macabeus/subscriptions","organizations_url":"https://api.github.com/users/macabeus/orgs","repos_url":"https://api.github.com/users/macabeus/repos","events_url":"https://api.github.com/users/macabeus/events{/privacy}","received_events_url":"https://api.github.com/users/macabeus/received_events","type":"User","site_admin":false},"body":"Adicionado modal para aprovar/recusar transações por análise manual.\r\n\r\n![image](https://user-images.githubusercontent.com/9501115/40283912-aa40bb70-5c5c-11e8-84e2-b0f495cda6e3.png)\r\n\r\n![image](https://user-images.githubusercontent.com/9501115/40283915-b1bf399e-5c5c-11e8-9cfa-536c105914c5.png)\r\n","created_at":"2018-05-20T21:36:42Z","updated_at":"2018-05-21T13:04:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"048af8324e4d49c5c1263cd8cca1dcdcfe944583","assignee":null,"assignees":[],"requested_reviewers":[{"login":"mccraveiro","id":782333,"avatar_url":"https://avatars0.githubusercontent.com/u/782333?v=4","gravatar_id":"","url":"https://api.github.com/users/mccraveiro","html_url":"https://github.com/mccraveiro","followers_url":"https://api.github.com/users/mccraveiro/followers","following_url":"https://api.github.com/users/mccraveiro/following{/other_user}","gists_url":"https://api.github.com/users/mccraveiro/gists{/gist_id}","starred_url":"https://api.github.com/users/mccraveiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mccraveiro/subscriptions","organizations_url":"https://api.github.com/users/mccraveiro/orgs","repos_url":"https://api.github.com/users/mccraveiro/repos","events_url":"https://api.github.com/users/mccraveiro/events{/privacy}","received_events_url":"https://api.github.com/users/mccraveiro/received_events","type":"User","site_admin":false},{"login":"derekstavis","id":1611639,"avatar_url":"https://avatars0.githubusercontent.com/u/1611639?v=4","gravatar_id":"","url":"https://api.github.com/users/derekstavis","html_url":"https://github.com/derekstavis","followers_url":"https://api.github.com/users/derekstavis/followers","following_url":"https://api.github.com/users/derekstavis/following{/other_user}","gists_url":"https://api.github.com/users/derekstavis/gists{/gist_id}","starred_url":"https://api.github.com/users/derekstavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekstavis/subscriptions","organizations_url":"https://api.github.com/users/derekstavis/orgs","repos_url":"https://api.github.com/users/derekstavis/repos","events_url":"https://api.github.com/users/derekstavis/events{/privacy}","received_events_url":"https://api.github.com/users/derekstavis/received_events","type":"User","site_admin":false},{"login":"Deivis","id":1773766,"avatar_url":"https://avatars3.githubusercontent.com/u/1773766?v=4","gravatar_id":"","url":"https://api.github.com/users/Deivis","html_url":"https://github.com/Deivis","followers_url":"https://api.github.com/users/Deivis/followers","following_url":"https://api.github.com/users/Deivis/following{/other_user}","gists_url":"https://api.github.com/users/Deivis/gists{/gist_id}","starred_url":"https://api.github.com/users/Deivis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deivis/subscriptions","organizations_url":"https://api.github.com/users/Deivis/orgs","repos_url":"https://api.github.com/users/Deivis/repos","events_url":"https://api.github.com/users/Deivis/events{/privacy}","received_events_url":"https://api.github.com/users/Deivis/received_events","type":"User","site_admin":false},{"login":"flyingluscas","id":6232791,"avatar_url":"https://avatars3.githubusercontent.com/u/6232791?v=4","gravatar_id":"","url":"https://api.github.com/users/flyingluscas","html_url":"https://github.com/flyingluscas","followers_url":"https://api.github.com/users/flyingluscas/followers","following_url":"https://api.github.com/users/flyingluscas/following{/other_user}","gists_url":"https://api.github.com/users/flyingluscas/gists{/gist_id}","starred_url":"https://api.github.com/users/flyingluscas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flyingluscas/subscriptions","organizations_url":"https://api.github.com/users/flyingluscas/orgs","repos_url":"https://api.github.com/users/flyingluscas/repos","events_url":"https://api.github.com/users/flyingluscas/events{/privacy}","received_events_url":"https://api.github.com/users/flyingluscas/received_events","type":"User","site_admin":false}],"requested_teams":[{"name":"Green Phoenix","id":2455830,"slug":"green-phoenix","description":"The dashboard, reborn from ashes.","privacy":"closed","url":"https://api.github.com/teams/2455830","members_url":"https://api.github.com/teams/2455830/members{/member}","repositories_url":"https://api.github.com/teams/2455830/repos","permission":"pull"}],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pagarme/pilot/pulls/640/commits","review_comments_url":"https://api.github.com/repos/pagarme/pilot/pulls/640/comments","review_comment_url":"https://api.github.com/repos/pagarme/pilot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pagarme/pilot/issues/640/comments","statuses_url":"https://api.github.com/repos/pagarme/pilot/statuses/2b36a9ce1484079ebf5f7c8fff4301be70d0c326","head":{"label":"pagarme:manual-analysis-modal","ref":"manual-analysis-modal","sha":"2b36a9ce1484079ebf5f7c8fff4301be70d0c326","user":{"login":"pagarme","id":3846050,"avatar_url":"https://avatars2.githubusercontent.com/u/3846050?v=4","gravatar_id":"","url":"https://api.github.com/users/pagarme","html_url":"https://github.com/pagarme","followers_url":"https://api.github.com/users/pagarme/followers","following_url":"https://api.github.com/users/pagarme/following{/other_user}","gists_url":"https://api.github.com/users/pagarme/gists{/gist_id}","starred_url":"https://api.github.com/users/pagarme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagarme/subscriptions","organizations_url":"https://api.github.com/users/pagarme/orgs","repos_url":"https://api.github.com/users/pagarme/repos","events_url":"https://api.github.com/users/pagarme/events{/privacy}","received_events_url":"https://api.github.com/users/pagarme/received_events","type":"Organization","site_admin":false},"repo":{"id":96902421,"name":"pilot","full_name":"pagarme/pilot","owner":{"login":"pagarme","id":3846050,"avatar_url":"https://avatars2.githubusercontent.com/u/3846050?v=4","gravatar_id":"","url":"https://api.github.com/users/pagarme","html_url":"https://github.com/pagarme","followers_url":"https://api.github.com/users/pagarme/followers","following_url":"https://api.github.com/users/pagarme/following{/other_user}","gists_url":"https://api.github.com/users/pagarme/gists{/gist_id}","starred_url":"https://api.github.com/users/pagarme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagarme/subscriptions","organizations_url":"https://api.github.com/users/pagarme/orgs","repos_url":"https://api.github.com/users/pagarme/repos","events_url":"https://api.github.com/users/pagarme/events{/privacy}","received_events_url":"https://api.github.com/users/pagarme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pagarme/pilot","description":":airplane: The next iteration of Pagar.me's Dashboard","fork":false,"url":"https://api.github.com/repos/pagarme/pilot","forks_url":"https://api.github.com/repos/pagarme/pilot/forks","keys_url":"https://api.github.com/repos/pagarme/pilot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pagarme/pilot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pagarme/pilot/teams","hooks_url":"https://api.github.com/repos/pagarme/pilot/hooks","issue_events_url":"https://api.github.com/repos/pagarme/pilot/issues/events{/number}","events_url":"https://api.github.com/repos/pagarme/pilot/events","assignees_url":"https://api.github.com/repos/pagarme/pilot/assignees{/user}","branches_url":"https://api.github.com/repos/pagarme/pilot/branches{/branch}","tags_url":"https://api.github.com/repos/pagarme/pilot/tags","blobs_url":"https://api.github.com/repos/pagarme/pilot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pagarme/pilot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pagarme/pilot/git/refs{/sha}","trees_url":"https://api.github.com/repos/pagarme/pilot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pagarme/pilot/statuses/{sha}","languages_url":"https://api.github.com/repos/pagarme/pilot/languages","stargazers_url":"https://api.github.com/repos/pagarme/pilot/stargazers","contributors_url":"https://api.github.com/repos/pagarme/pilot/contributors","subscribers_url":"https://api.github.com/repos/pagarme/pilot/subscribers","subscription_url":"https://api.github.com/repos/pagarme/pilot/subscription","commits_url":"https://api.github.com/repos/pagarme/pilot/commits{/sha}","git_commits_url":"https://api.github.com/repos/pagarme/pilot/git/commits{/sha}","comments_url":"https://api.github.com/repos/pagarme/pilot/comments{/number}","issue_comment_url":"https://api.github.com/repos/pagarme/pilot/issues/comments{/number}","contents_url":"https://api.github.com/repos/pagarme/pilot/contents/{+path}","compare_url":"https://api.github.com/repos/pagarme/pilot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pagarme/pilot/merges","archive_url":"https://api.github.com/repos/pagarme/pilot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pagarme/pilot/downloads","issues_url":"https://api.github.com/repos/pagarme/pilot/issues{/number}","pulls_url":"https://api.github.com/repos/pagarme/pilot/pulls{/number}","milestones_url":"https://api.github.com/repos/pagarme/pilot/milestones{/number}","notifications_url":"https://api.github.com/repos/pagarme/pilot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pagarme/pilot/labels{/name}","releases_url":"https://api.github.com/repos/pagarme/pilot/releases{/id}","deployments_url":"https://api.github.com/repos/pagarme/pilot/deployments","created_at":"2017-07-11T14:28:12Z","updated_at":"2018-05-17T17:16:41Z","pushed_at":"2018-05-20T21:36:43Z","git_url":"git://github.com/pagarme/pilot.git","ssh_url":"git@github.com:pagarme/pilot.git","clone_url":"https://github.com/pagarme/pilot.git","svn_url":"https://github.com/pagarme/pilot","homepage":"","size":159568,"stargazers_count":225,"watchers_count":225,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":26,"mirror_url":null,"archived":false,"open_issues_count":63,"license":null,"forks":26,"open_issues":63,"watchers":225,"default_branch":"master"}},"base":{"label":"pagarme:master","ref":"master","sha":"99cbc4e67a44b13c7be559962f3ddcf3b050848d","user":{"login":"pagarme","id":3846050,"avatar_url":"https://avatars2.githubusercontent.com/u/3846050?v=4","gravatar_id":"","url":"https://api.github.com/users/pagarme","html_url":"https://github.com/pagarme","followers_url":"https://api.github.com/users/pagarme/followers","following_url":"https://api.github.com/users/pagarme/following{/other_user}","gists_url":"https://api.github.com/users/pagarme/gists{/gist_id}","starred_url":"https://api.github.com/users/pagarme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagarme/subscriptions","organizations_url":"https://api.github.com/users/pagarme/orgs","repos_url":"https://api.github.com/users/pagarme/repos","events_url":"https://api.github.com/users/pagarme/events{/privacy}","received_events_url":"https://api.github.com/users/pagarme/received_events","type":"Organization","site_admin":false},"repo":{"id":96902421,"name":"pilot","full_name":"pagarme/pilot","owner":{"login":"pagarme","id":3846050,"avatar_url":"https://avatars2.githubusercontent.com/u/3846050?v=4","gravatar_id":"","url":"https://api.github.com/users/pagarme","html_url":"https://github.com/pagarme","followers_url":"https://api.github.com/users/pagarme/followers","following_url":"https://api.github.com/users/pagarme/following{/other_user}","gists_url":"https://api.github.com/users/pagarme/gists{/gist_id}","starred_url":"https://api.github.com/users/pagarme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pagarme/subscriptions","organizations_url":"https://api.github.com/users/pagarme/orgs","repos_url":"https://api.github.com/users/pagarme/repos","events_url":"https://api.github.com/users/pagarme/events{/privacy}","received_events_url":"https://api.github.com/users/pagarme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pagarme/pilot","description":":airplane: The next iteration of Pagar.me's Dashboard","fork":false,"url":"https://api.github.com/repos/pagarme/pilot","forks_url":"https://api.github.com/repos/pagarme/pilot/forks","keys_url":"https://api.github.com/repos/pagarme/pilot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pagarme/pilot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pagarme/pilot/teams","hooks_url":"https://api.github.com/repos/pagarme/pilot/hooks","issue_events_url":"https://api.github.com/repos/pagarme/pilot/issues/events{/number}","events_url":"https://api.github.com/repos/pagarme/pilot/events","assignees_url":"https://api.github.com/repos/pagarme/pilot/assignees{/user}","branches_url":"https://api.github.com/repos/pagarme/pilot/branches{/branch}","tags_url":"https://api.github.com/repos/pagarme/pilot/tags","blobs_url":"https://api.github.com/repos/pagarme/pilot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pagarme/pilot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pagarme/pilot/git/refs{/sha}","trees_url":"https://api.github.com/repos/pagarme/pilot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pagarme/pilot/statuses/{sha}","languages_url":"https://api.github.com/repos/pagarme/pilot/languages","stargazers_url":"https://api.github.com/repos/pagarme/pilot/stargazers","contributors_url":"https://api.github.com/repos/pagarme/pilot/contributors","subscribers_url":"https://api.github.com/repos/pagarme/pilot/subscribers","subscription_url":"https://api.github.com/repos/pagarme/pilot/subscription","commits_url":"https://api.github.com/repos/pagarme/pilot/commits{/sha}","git_commits_url":"https://api.github.com/repos/pagarme/pilot/git/commits{/sha}","comments_url":"https://api.github.com/repos/pagarme/pilot/comments{/number}","issue_comment_url":"https://api.github.com/repos/pagarme/pilot/issues/comments{/number}","contents_url":"https://api.github.com/repos/pagarme/pilot/contents/{+path}","compare_url":"https://api.github.com/repos/pagarme/pilot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pagarme/pilot/merges","archive_url":"https://api.github.com/repos/pagarme/pilot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pagarme/pilot/downloads","issues_url":"https://api.github.com/repos/pagarme/pilot/issues{/number}","pulls_url":"https://api.github.com/repos/pagarme/pilot/pulls{/number}","milestones_url":"https://api.github.com/repos/pagarme/pilot/milestones{/number}","notifications_url":"https://api.github.com/repos/pagarme/pilot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pagarme/pilot/labels{/name}","releases_url":"https://api.github.com/repos/pagarme/pilot/releases{/id}","deployments_url":"https://api.github.com/repos/pagarme/pilot/deployments","created_at":"2017-07-11T14:28:12Z","updated_at":"2018-05-17T17:16:41Z","pushed_at":"2018-05-20T21:36:43Z","git_url":"git://github.com/pagarme/pilot.git","ssh_url":"git@github.com:pagarme/pilot.git","clone_url":"https://github.com/pagarme/pilot.git","svn_url":"https://github.com/pagarme/pilot","homepage":"","size":159568,"stargazers_count":225,"watchers_count":225,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":26,"mirror_url":null,"archived":false,"open_issues_count":63,"license":null,"forks":26,"open_issues":63,"watchers":225,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pagarme/pilot/pulls/640"},"html":{"href":"https://github.com/pagarme/pilot/pull/640"},"issue":{"href":"https://api.github.com/repos/pagarme/pilot/issues/640"},"comments":{"href":"https://api.github.com/repos/pagarme/pilot/issues/640/comments"},"review_comments":{"href":"https://api.github.com/repos/pagarme/pilot/pulls/640/comments"},"review_comment":{"href":"https://api.github.com/repos/pagarme/pilot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pagarme/pilot/pulls/640/commits"},"statuses":{"href":"https://api.github.com/repos/pagarme/pilot/statuses/2b36a9ce1484079ebf5f7c8fff4301be70d0c326"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"moog"}}