{"action":"created","comment":{"url":"https://api.github.com/repos/pagarme/pilot/pulls/comments/225611433","pull_request_review_id":165249396,"id":225611433,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNTYxMTQzMw==","diff_hunk":"@@ -0,0 +1,239 @@\n+import React, { Component, Fragment } from 'react'","path":"packages/pilot/src/containers/CreateTransaction/Products/Shipping.js","position":1,"original_position":1,"commit_id":"57832ad25b3ba1c0a6ed01481881a58e75569431","original_commit_id":"ff8d520f132b5592d389a671dd62b00a987037ec","user":{"login":"uselessdev","id":6943919,"node_id":"MDQ6VXNlcjY5NDM5MTk=","avatar_url":"https://avatars2.githubusercontent.com/u/6943919?v=4","gravatar_id":"","url":"https://api.github.com/users/uselessdev","html_url":"https://github.com/uselessdev","followers_url":"https://api.github.com/users/uselessdev/followers","following_url":"https://api.github.com/users/uselessdev/following{/other_user}","gists_url":"https://api.github.com/users/uselessdev/gists{/gist_id}","starred_url":"https://api.github.com/users/uselessdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uselessdev/subscriptions","organizations_url":"https://api.github.com/users/uselessdev/orgs","repos_url":"https://api.github.com/users/uselessdev/repos","events_url":"https://api.github.com/users/uselessdev/events{/privacy}","received_events_url":"https://api.github.com/users/uselessdev/received_events","type":"User","site_admin":false},"body":"@rsmelo  Eu sinto que eu preciso explicar melhor :smile: \r\n\r\nEntão, como os botões de ações serão mantidos pelo `ProductsContainer` eu resolvi passar todas as infos de produtos (incluindo `shipping`) pro state do container pai, assim que consigo validar a presença de dados necessários para seguir para o próximo step.\r\n\r\nAcha que faz sentido?","created_at":"2018-10-16T16:18:18Z","updated_at":"2018-10-16T16:18:18Z","html_url":"https://github.com/pagarme/pilot/pull/1007#discussion_r225611433","pull_request_url":"https://api.github.com/repos/pagarme/pilot/pulls/1007","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/pagarme/pilot/pulls/comments/225611433"},"html":{"href":"https://github.com/pagarme/pilot/pull/1007#discussion_r225611433"},"pull_request":{"href":"https://api.github.com/repos/pagarme/pilot/pulls/1007"}},"in_reply_to_id":225272081},"pull_request":{"url":"https://api.github.com/repos/pagarme/pilot/pulls/1007","id":222233719,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyMjMzNzE5","html_url":"https://github.com/pagarme/pilot/pull/1007","diff_url":"https://github.com/pagarme/pilot/pull/1007.diff","patch_url":"https://github.com/pagarme/pilot/pull/1007.patch","issue_url":"https://api.github.com/repos/pagarme/pilot/issues/1007","number":1007,"state":"open","locked":false,"title":"add shipping form component","user":{"login":"uselessdev","id":6943919,"node_id":"MDQ6VXNlcjY5NDM5MTk=","avatar_url":"https://avatars2.githubusercontent.com/u/6943919?v=4","gravatar_id":"","url":"https://api.github.com/users/uselessdev","html_url":"https://github.com/uselessdev","followers_url":"https://api.github.com/users/uselessdev/followers","following_url":"https://api.github.com/users/uselessdev/following{/other_user}","gists_url":"https://api.github.com/users/uselessdev/gists{/gist_id}","starred_url":"https://api.github.com/users/uselessdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uselessdev/subscriptions","organizations_url":"https://api.github.com/users/uselessdev/orgs","repos_url":"https://api.github.com/users/uselessdev/repos","events_url":"https://api.github.com/users/uselessdev/events{/privacy}","received_events_url":"https://api.github.com/users/uselessdev/received_events","type":"User","site_admin":false},"body":"## Contexto\r\nEste PR adiciona o componente de formulário para dados de entrega.\r\n\r\n## Issues linkadas\r\n- [x] Resolves #973 \r\n\r\n## Screenshots\r\n![screenshot from 2018-10-11 15-18-31](https://user-images.githubusercontent.com/6943919/46825039-fb3a6080-cd68-11e8-8e62-6caff7fc08c7.png)\r\n\r\n### Layout:\r\n![screenshot from 2018-10-11 14-01-27](https://user-images.githubusercontent.com/6943919/46825047-01c8d800-cd69-11e8-8277-ae71d3a31627.png)\r\n\r\n## Como testar:\r\n- faça checkout para esta branch: `git checkout add/transaction-add-product-shipping-form`\r\n- rode o storybook: `yarn storybook`\r\n\r\n**OBS:** depende do merge de #1006 ","created_at":"2018-10-11T18:21:29Z","updated_at":"2018-10-16T16:18:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8366c99a973fc40a264d8744d899a43e31a590af","assignee":{"login":"uselessdev","id":6943919,"node_id":"MDQ6VXNlcjY5NDM5MTk=","avatar_url":"https://avatars2.githubusercontent.com/u/6943919?v=4","gravatar_id":"","url":"https://api.github.com/users/uselessdev","html_url":"https://github.com/uselessdev","followers_url":"https://api.github.com/users/uselessdev/followers","following_url":"https://api.github.com/users/uselessdev/following{/other_user}","gists_url":"https://api.github.com/users/uselessdev/gists{/gist_id}","starred_url":"https://api.github.com/users/uselessdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uselessdev/subscriptions","organizations_url":"https://api.github.com/users/uselessdev/orgs","repos_url":"https://api.github.com/users/uselessdev/repos","events_url":"https://api.github.com/users/uselessdev/events{/privacy}","received_events_url":"https://api.github.com/users/uselessdev/received_events","type":"User","site_admin":false},"assignees":[{"login":"uselessdev","id":6943919,"node_id":"MDQ6VXNlcjY5NDM5MTk=","avatar_url":"https://avatars2.githubusercontent.com/u/6943919?v=4","gravatar_id":"","url":"https://api.github.com/users/uselessdev","html_url":"https://github.com/uselessdev","followers_url":"https://api.github.com/users/uselessdev/followers","following_url":"https://api.github.com/users/uselessdev/following{/other_user}","gists_url":"https://api.github.com/users/uselessdev/gists{/gist_id}","starred_url":"https://api.github.com/users/uselessdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uselessdev/subscriptions","organizations_url":"https://api.github.com/users/uselessdev/orgs","repos_url":"https://api.github.com/users/uselessdev/repos","events_url":"https://api.github.com/users/uselessdev/events{/privacy}","received_events_url":"https://api.github.com/users/uselessdev/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":670269986,"node_id":"MDU6TGFiZWw2NzAyNjk5ODY=","url":"https://api.github.com/repos/pagarme/pilot/labels/devs","name":"devs","color":"6210e8","default":false},{"id":891329682,"node_id":"MDU6TGFiZWw4OTEzMjk2ODI=","url":"https://api.github.com/repos/pagarme/pilot/labels/pilot","name":"pilot","color":"3f36ed","default":false},{"id":722842150,"node_id":"MDU6TGFiZWw3MjI4NDIxNTA=","url":"https://api.github.com/repos/pagarme/pilot/labels/review-needed","name":"review-needed","color":"fcec0f","default":false}],"milestone":{"url":"https://api.github.com/repos/pagarme/pilot/milestones/55","html_url":"https://github.com/pagarme/pilot/milestone/55","labels_url":"https://api.github.com/repos/pagarme/pilot/milestones/55/labels","id":3687980,"node_id":"MDk6TWlsZXN0b25lMzY4Nzk4MA==","number":55,"title":"Adicionar transação","description":"Criar páginas/containers necessários para a adição de uma nova transação","creator":{"login":"Deivis","id":1773766,"node_id":"MDQ6VXNlcjE3NzM3NjY=","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},"open_issues":19,"closed_issues":5,"state":"open","created_at":"2018-09-25T17:31:02Z","updated_at":"2018-10-15T16:52:44Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/pagarme/pilot/pulls/1007/commits","review_comments_url":"https://api.github.com/repos/pagarme/pilot/pulls/1007/comments","review_comment_url":"https://api.github.com/repos/pagarme/pilot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pagarme/pilot/issues/1007/comments","statuses_url":"https://api.github.com/repos/pagarme/pilot/statuses/57832ad25b3ba1c0a6ed01481881a58e75569431","head":{"label":"pagarme:add/transaction-add-product-shipping-form","ref":"add/transaction-add-product-shipping-form","sha":"57832ad25b3ba1c0a6ed01481881a58e75569431","user":{"login":"pagarme","id":3846050,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NDYwNTA=","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,"node_id":"MDEwOlJlcG9zaXRvcnk5NjkwMjQyMQ==","name":"pilot","full_name":"pagarme/pilot","private":false,"owner":{"login":"pagarme","id":3846050,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NDYwNTA=","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},"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-10-15T12:56:15Z","pushed_at":"2018-10-16T15:49:20Z","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":161059,"stargazers_count":246,"watchers_count":246,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":38,"mirror_url":null,"archived":false,"open_issues_count":127,"license":null,"forks":38,"open_issues":127,"watchers":246,"default_branch":"master"}},"base":{"label":"pagarme:feature/create-transaction","ref":"feature/create-transaction","sha":"e60dee711326a9febd44b2fd37e0dcf40c97de32","user":{"login":"pagarme","id":3846050,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NDYwNTA=","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,"node_id":"MDEwOlJlcG9zaXRvcnk5NjkwMjQyMQ==","name":"pilot","full_name":"pagarme/pilot","private":false,"owner":{"login":"pagarme","id":3846050,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NDYwNTA=","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},"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-10-15T12:56:15Z","pushed_at":"2018-10-16T15:49:20Z","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":161059,"stargazers_count":246,"watchers_count":246,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":38,"mirror_url":null,"archived":false,"open_issues_count":127,"license":null,"forks":38,"open_issues":127,"watchers":246,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pagarme/pilot/pulls/1007"},"html":{"href":"https://github.com/pagarme/pilot/pull/1007"},"issue":{"href":"https://api.github.com/repos/pagarme/pilot/issues/1007"},"comments":{"href":"https://api.github.com/repos/pagarme/pilot/issues/1007/comments"},"review_comments":{"href":"https://api.github.com/repos/pagarme/pilot/pulls/1007/comments"},"review_comment":{"href":"https://api.github.com/repos/pagarme/pilot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pagarme/pilot/pulls/1007/commits"},"statuses":{"href":"https://api.github.com/repos/pagarme/pilot/statuses/57832ad25b3ba1c0a6ed01481881a58e75569431"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"uselessdev"}}