{"action":"created","issue":{"url":"https://api.github.com/repos/pagarme/artis/issues/123","repository_url":"https://api.github.com/repos/pagarme/artis","labels_url":"https://api.github.com/repos/pagarme/artis/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/pagarme/artis/issues/123/comments","events_url":"https://api.github.com/repos/pagarme/artis/issues/123/events","html_url":"https://github.com/pagarme/artis/pull/123","id":294009136,"number":123,"title":"dev-env: add an editor for api values","user":{"login":"thiagommedeiros","id":19213244,"avatar_url":"https://avatars0.githubusercontent.com/u/19213244?v=4","gravatar_id":"","url":"https://api.github.com/users/thiagommedeiros","html_url":"https://github.com/thiagommedeiros","followers_url":"https://api.github.com/users/thiagommedeiros/followers","following_url":"https://api.github.com/users/thiagommedeiros/following{/other_user}","gists_url":"https://api.github.com/users/thiagommedeiros/gists{/gist_id}","starred_url":"https://api.github.com/users/thiagommedeiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thiagommedeiros/subscriptions","organizations_url":"https://api.github.com/users/thiagommedeiros/orgs","repos_url":"https://api.github.com/users/thiagommedeiros/repos","events_url":"https://api.github.com/users/thiagommedeiros/events{/privacy}","received_events_url":"https://api.github.com/users/thiagommedeiros/received_events","type":"User","site_admin":false},"labels":[{"id":762484740,"url":"https://api.github.com/repos/pagarme/artis/labels/blocker","name":"blocker","color":"000000","default":false},{"id":805580302,"url":"https://api.github.com/repos/pagarme/artis/labels/improvement","name":"improvement","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":{"login":"thiagommedeiros","id":19213244,"avatar_url":"https://avatars0.githubusercontent.com/u/19213244?v=4","gravatar_id":"","url":"https://api.github.com/users/thiagommedeiros","html_url":"https://github.com/thiagommedeiros","followers_url":"https://api.github.com/users/thiagommedeiros/followers","following_url":"https://api.github.com/users/thiagommedeiros/following{/other_user}","gists_url":"https://api.github.com/users/thiagommedeiros/gists{/gist_id}","starred_url":"https://api.github.com/users/thiagommedeiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thiagommedeiros/subscriptions","organizations_url":"https://api.github.com/users/thiagommedeiros/orgs","repos_url":"https://api.github.com/users/thiagommedeiros/repos","events_url":"https://api.github.com/users/thiagommedeiros/events{/privacy}","received_events_url":"https://api.github.com/users/thiagommedeiros/received_events","type":"User","site_admin":false},"assignees":[{"login":"thiagommedeiros","id":19213244,"avatar_url":"https://avatars0.githubusercontent.com/u/19213244?v=4","gravatar_id":"","url":"https://api.github.com/users/thiagommedeiros","html_url":"https://github.com/thiagommedeiros","followers_url":"https://api.github.com/users/thiagommedeiros/followers","following_url":"https://api.github.com/users/thiagommedeiros/following{/other_user}","gists_url":"https://api.github.com/users/thiagommedeiros/gists{/gist_id}","starred_url":"https://api.github.com/users/thiagommedeiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thiagommedeiros/subscriptions","organizations_url":"https://api.github.com/users/thiagommedeiros/orgs","repos_url":"https://api.github.com/users/thiagommedeiros/repos","events_url":"https://api.github.com/users/thiagommedeiros/events{/privacy}","received_events_url":"https://api.github.com/users/thiagommedeiros/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-02-02T20:11:07Z","updated_at":"2018-02-06T21:04:03Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/pagarme/artis/pulls/123","html_url":"https://github.com/pagarme/artis/pull/123","diff_url":"https://github.com/pagarme/artis/pull/123.diff","patch_url":"https://github.com/pagarme/artis/pull/123.patch"},"body":"## Description\r\n\r\nit will help us start the 'checkout' quickly with some specific\r\napi values without ever having to edit the 'public/index.html' file.\r\n\r\n## How it works\r\n\r\nwhen you run `yarn start` the first page that appears will be the\r\ncode editor, so you can edit the api values and click the Open button\r\nto start the 'checkout' with those values.\r\n\r\nit allows you to close the checkout, edit the api values, and reopen \r\nquickly without the need to stop the server, edit the file, and up the server again.\r\n\r\nLook:\r\n![screenshot from 2018-02-02 18-13-21](https://user-images.githubusercontent.com/19213244/35752916-c84dba80-0844-11e8-980d-c0fc55df6d7a.png)\r\n\r\n\r\n### Custom API parameters\r\nwhen you click the Open button it will save your config in Local Storage,\r\nso when you open it again there will be your config.\r\nif you want to clean up just click the Reset button.\r\n\r\n### Full API parameters\r\nsometimes we'll need to open the 'checkout' with the full api values,\r\non this panel you can only edit and open, it will not save your config.\r\n\r\n<!--\r\nThings to cite on the PR description:\r\n\r\n- Why is the PR needed\r\n- What the PR does\r\n- What are possible side effects\r\n- Additional information (related github issues, links, etc)\r\n\r\n  Example: This PR implements feature \"x\" so we can solve our payments problem. This PR closes #98928312874 (github issue)\r\n-->\r\n\r\n## Your checklist for this pull request\r\n\r\n:rotating_light: Please review this items for a good pull request. :four_leaf_clover:\r\n\r\n1. I've read the project's [Contributing Guidelines](CONTRIBUTING.md)\r\n1. My commits are well written and follow [pagarme/git-style-guide](https://github.com/pagarme/git-style-guide)\r\n1. My changes are well covered by **tests** and **logs**\r\n1. I've updated the project docs (if needed)\r\n1. I fell safe about this implementation\r\n\r\nIn a good pull request, everything above is true :relaxed:\r\n"},"comment":{"url":"https://api.github.com/repos/pagarme/artis/issues/comments/363563800","html_url":"https://github.com/pagarme/artis/pull/123#issuecomment-363563800","issue_url":"https://api.github.com/repos/pagarme/artis/issues/123","id":363563800,"user":{"login":"thiagommedeiros","id":19213244,"avatar_url":"https://avatars0.githubusercontent.com/u/19213244?v=4","gravatar_id":"","url":"https://api.github.com/users/thiagommedeiros","html_url":"https://github.com/thiagommedeiros","followers_url":"https://api.github.com/users/thiagommedeiros/followers","following_url":"https://api.github.com/users/thiagommedeiros/following{/other_user}","gists_url":"https://api.github.com/users/thiagommedeiros/gists{/gist_id}","starred_url":"https://api.github.com/users/thiagommedeiros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thiagommedeiros/subscriptions","organizations_url":"https://api.github.com/users/thiagommedeiros/orgs","repos_url":"https://api.github.com/users/thiagommedeiros/repos","events_url":"https://api.github.com/users/thiagommedeiros/events{/privacy}","received_events_url":"https://api.github.com/users/thiagommedeiros/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T21:04:03Z","updated_at":"2018-02-06T21:04:03Z","author_association":"MEMBER","body":"Deixei esse PR como blocker pq optamos por terminar primeiro a task de 'criar transação', depois de finalizada continuamos esse PR pq ele deve corrigir alguns parâmetros da nossa API."}}
{"actor":{"display_login":"thiagommedeiros"}}